Author: dkuleshov
Date: 2011-06-15 03:53:22 -0400 (Wed, 15 Jun 2011)
New Revision: 4541
Modified:
core/trunk/pom.xml
Log:
EXOJCR-1283: added 'release' profile to project's pom.xml
Modified: core/trunk/pom.xml
===================================================================
--- core/trunk/pom.xml 2011-06-15 07:48:46 UTC (rev 4540)
+++ core/trunk/pom.xml 2011-06-15 07:53:22 UTC (rev 4541)
@@ -366,4 +366,41 @@
<scope>test</scope>
</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>