[exo-jcr-commits] exo-jcr SVN: r4539 - kernel/trunk.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Jun 15 03:45:56 EDT 2011


Author: dkuleshov
Date: 2011-06-15 03:45:55 -0400 (Wed, 15 Jun 2011)
New Revision: 4539

Modified:
   kernel/trunk/pom.xml
Log:
EXOJCR-1283: added 'release' profile to project's pom.xml

Modified: kernel/trunk/pom.xml
===================================================================
--- kernel/trunk/pom.xml	2011-06-15 07:37:25 UTC (rev 4538)
+++ kernel/trunk/pom.xml	2011-06-15 07:45:55 UTC (rev 4539)
@@ -235,4 +235,40 @@
       </dependency>
    </dependencies>
 
+   <profiles>
+      <profile>
+         <id>release</id>
+         <build>
+            <plugins>
+               <plugin>
+                  <artifactId>maven-assembly-plugin</artifactId>
+                  <dependencies>
+                     <dependency>
+                        <groupId>org.apache.apache.resources</groupId>
+                        <artifactId>apache-source-release-assembly-descriptor</artifactId>
+                        <version>1.0.2</version>
+                     </dependency>
+                  </dependencies>
+                  <executions>
+                     <execution>
+                        <id>source-release-assembly</id>
+                        <phase>package</phase>
+                        <goals>
+                           <goal>single</goal>
+                        </goals>
+                        <configuration>
+                          <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+                          <descriptorRefs>
+                             <descriptorRef>source-release</descriptorRef>
+                          </descriptorRefs>
+                          <tarLongFileFormat>gnu</tarLongFileFormat>
+                        </configuration>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+   </profiles>
+
 </project>



More information about the exo-jcr-commits mailing list