You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by le...@apache.org on 2012/04/19 14:01:52 UTC
svn commit: r1327911 - in /gora/trunk: pom.xml sources-dist/
sources-dist/pom.xml sources-dist/src/ sources-dist/src/main/
sources-dist/src/main/assembly/ sources-dist/src/main/assembly/src.xml
Author: lewismc
Date: Thu Apr 19 12:01:52 2012
New Revision: 1327911
URL: http://svn.apache.org/viewvc?rev=1327911&view=rev
Log:
commit to add sources-dist module for maven assembly plugin. This allows us to produce both src.zip and src.tar.gz
Added:
gora/trunk/sources-dist/
gora/trunk/sources-dist/pom.xml
gora/trunk/sources-dist/src/
gora/trunk/sources-dist/src/main/
gora/trunk/sources-dist/src/main/assembly/
gora/trunk/sources-dist/src/main/assembly/src.xml
Modified:
gora/trunk/pom.xml
Modified: gora/trunk/pom.xml
URL: http://svn.apache.org/viewvc/gora/trunk/pom.xml?rev=1327911&r1=1327910&r2=1327911&view=diff
==============================================================================
--- gora/trunk/pom.xml (original)
+++ gora/trunk/pom.xml Thu Apr 19 12:01:52 2012
@@ -491,6 +491,11 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>net.ju-n.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ <version>${checksum-maven-plugin.version}</version>
+ </plugin>
</plugins>
</build>
</profile>
@@ -503,6 +508,7 @@
<module>gora-cassandra</module>
<module>gora-sql</module>
<module>gora-tutorial</module>
+ <module>sources-dist</module>
</modules>
<properties>
@@ -551,6 +557,7 @@
<apache-rat-plugin.version>0.8</apache-rat-plugin.version>
<maven-assembly-plugin.version>2.2.2</maven-assembly-plugin.version>
<maven-deploy-plugin.version>2.5</maven-deploy-plugin.version>
+ <checksum-maven-plugin.version>1.0.1</checksum-maven-plugin.version>
<!-- General Properties -->
<implementation.build>${scmBranch}@r${buildNumber}</implementation.build>
Added: gora/trunk/sources-dist/pom.xml
URL: http://svn.apache.org/viewvc/gora/trunk/sources-dist/pom.xml?rev=1327911&view=auto
==============================================================================
--- gora/trunk/sources-dist/pom.xml (added)
+++ gora/trunk/sources-dist/pom.xml Thu Apr 19 12:01:52 2012
@@ -0,0 +1,73 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.gora</groupId>
+ <artifactId>gora</artifactId>
+ <version>0.2-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+ <artifactId>sources-dist</artifactId>
+
+ <name>Apache Gora :: Sources-Dist</name>
+ <url>http://gora.apache.org</url>
+ <description>The Apache Gora open source framework provides an in-memory data model and
+ persistence for big data. Gora supports persisting to column stores, key value stores,
+ document stores and RDBMSs, and analyzing the data with extensive Apache Hadoop MapReduce
+ support.</description>
+ <inceptionYear>2010</inceptionYear>
+ <organization>
+ <name>The Apache Software Foundation</name>
+ <url>http://www.apache.org/</url>
+ </organization>
+ <scm>
+ <url>http://svn.apache.org/viewvc/gora/trunk/</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/gora/trunk/</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/gora/trunk/</developerConnection>
+ <tag>https://svn.apache.org/repos/asf/gora/tags/</tag>
+ </scm>
+ <issueManagement>
+ <system>JIRA</system>
+ <url>https://issues.apache.org/jira/browse/GORA</url>
+ </issueManagement>
+ <ciManagement>
+ <system>Jenkins</system>
+ <url>https://builds.apache.org/job/Gora-trunk/</url>
+ </ciManagement>
+
+ <properties>
+ <assembly.finalName>apache-gora-${project.version}</assembly.finalName>
+ </properties>
+
+ <build>
+ <plugins>
+ <!-- Generates the distribution package -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>${basedir}/src/main/assembly/src.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added: gora/trunk/sources-dist/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/gora/trunk/sources-dist/src/main/assembly/src.xml?rev=1327911&view=auto
==============================================================================
--- gora/trunk/sources-dist/src/main/assembly/src.xml (added)
+++ gora/trunk/sources-dist/src/main/assembly/src.xml Thu Apr 19 12:01:52 2012
@@ -0,0 +1,41 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<assembly xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
+
+ <id>src</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+ <includeBaseDirectory>true</includeBaseDirectory>
+ <baseDirectory>apache-gora-${project.version}</baseDirectory>
+ <fileSets>
+ <!-- include all modules -->
+ <fileSet>
+ <directory>${basedir}/../</directory>
+ <excludes>
+ <!-- exclude target dirs -->
+ <exclude>**/target/</exclude>
+ <!-- exclude hidden files -->
+ <exclude>**/.*</exclude>
+ <!-- exclude hidden directories -->
+ <exclude>**/.*/</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+</assembly>