Author: steve.ebersole(a)jboss.com
Date: 2008-02-19 14:15:44 -0500 (Tue, 19 Feb 2008)
New Revision: 14339
Modified:
core/trunk/pom.xml
Log:
including suggestion from maven folks about release + assembly using profile
Modified: core/trunk/pom.xml
===================================================================
--- core/trunk/pom.xml 2008-02-18 21:49:02 UTC (rev 14338)
+++ core/trunk/pom.xml 2008-02-19 19:15:44 UTC (rev 14339)
@@ -50,11 +50,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
- <version>2.0-beta-6</version>
+ <version>2.0-beta-7</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
+<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
@@ -75,7 +76,37 @@
</descriptors>
</configuration>
</plugin>
+-->
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-1</version>
+ <executions>
+ <execution>
+ <id>assemble</id>
+ <phase>deploy</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <descriptors>
+
<descriptor>src/assembly/dist.xml</descriptor>
+
<descriptor>src/assembly/hibernate-all.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
Show replies by date