Author: dkuleshov
Date: 2011-06-15 03:37:25 -0400 (Wed, 15 Jun 2011)
New Revision: 4538
Modified:
jcr/trunk/pom.xml
Log:
EXOJCR-1283: added 'release' profile to project's pom.xml
Modified: jcr/trunk/pom.xml
===================================================================
--- jcr/trunk/pom.xml 2011-06-14 14:44:06 UTC (rev 4537)
+++ jcr/trunk/pom.xml 2011-06-15 07:37:25 UTC (rev 4538)
@@ -476,4 +476,39 @@
<module>exo.jcr.docs</module>
<module>packaging/module</module>
</modules>
+ <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>
Show replies by date