You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/06/11 23:47:14 UTC
svn commit: r666856 - in /myfaces/tomahawk/trunk/examples/assembly: pom.xml
src/main/assembly/depsrc.xml
Author: lu4242
Date: Wed Jun 11 14:47:14 2008
New Revision: 666856
URL: http://svn.apache.org/viewvc?rev=666856&view=rev
Log:
TOMAHAWK-944 Maven examples assembly build should also create an examples source archive
Added:
myfaces/tomahawk/trunk/examples/assembly/src/main/assembly/depsrc.xml (with props)
Modified:
myfaces/tomahawk/trunk/examples/assembly/pom.xml
Modified: myfaces/tomahawk/trunk/examples/assembly/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/assembly/pom.xml?rev=666856&r1=666855&r2=666856&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/assembly/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/assembly/pom.xml Wed Jun 11 14:47:14 2008
@@ -61,20 +61,82 @@
<outputDirectory>${project.build.directory}/war</outputDirectory>
</configuration>
</execution>
+ <execution>
+ <id>copy-src</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.myfaces.tomahawk</groupId>
+ <artifactId>myfaces-example-blank</artifactId>
+ <version>${version}</version>
+ <type>java-source</type>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.myfaces.tomahawk</groupId>
+ <artifactId>myfaces-example-simple</artifactId>
+ <version>${version}</version>
+ <type>java-source</type>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.myfaces.tomahawk</groupId>
+ <artifactId>myfaces-example-tiles</artifactId>
+ <version>${version}</version>
+ <type>java-source</type>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.myfaces.tomahawk</groupId>
+ <artifactId>myfaces-example-wap</artifactId>
+ <version>${version}</version>
+ <type>java-source</type>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.directory}/src</outputDirectory>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
+ <!-- EXECUTE mvn package to generate assembly files -->
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.0.1</version>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/dep.xml</descriptor>
- </descriptors>
- <finalName>tomahawk-examples-${version}</finalName>
- <outputDirectory>${project.build.directory}/out</outputDirectory>
- <workDirectory>${project.build.directory}/work</workDirectory>
- </configuration>
+ <version>2.1</version>
+ <executions>
+ <execution>
+ <id>make_assembly_src</id>
+ <phase>package</phase>
+ <goals>
+ <goal>assembly</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/depsrc.xml</descriptor>
+ </descriptors>
+ <finalName>tomahawk-examples-${version}-src</finalName>
+ <appendAssemblyId>false</appendAssemblyId>
+ <outputDirectory>${project.build.directory}/out</outputDirectory>
+ <workDirectory>${project.build.directory}/work</workDirectory>
+ </configuration>
+ </execution>
+ <execution>
+ <id>make_assembly_bin</id>
+ <phase>package</phase>
+ <goals>
+ <goal>assembly</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/dep.xml</descriptor>
+ </descriptors>
+ <finalName>tomahawk-examples-${version}</finalName>
+ <outputDirectory>${project.build.directory}/out</outputDirectory>
+ <workDirectory>${project.build.directory}/work</workDirectory>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
Added: myfaces/tomahawk/trunk/examples/assembly/src/main/assembly/depsrc.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/assembly/src/main/assembly/depsrc.xml?rev=666856&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/assembly/src/main/assembly/depsrc.xml (added)
+++ myfaces/tomahawk/trunk/examples/assembly/src/main/assembly/depsrc.xml Wed Jun 11 14:47:14 2008
@@ -0,0 +1,24 @@
+<assembly>
+ <id>src</id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>target/src</directory>
+ <outputDirectory></outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory></outputDirectory>
+ <includes>
+ <include>*.txt</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>
Propchange: myfaces/tomahawk/trunk/examples/assembly/src/main/assembly/depsrc.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/examples/assembly/src/main/assembly/depsrc.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL