You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ck...@apache.org on 2006/07/15 13:29:07 UTC
svn commit: r422203 - in /myfaces: core/trunk/impl/pom.xml
tomahawk/trunk/core/pom.xml
Author: ckormos
Date: Sat Jul 15 04:29:06 2006
New Revision: 422203
URL: http://svn.apache.org/viewvc?rev=422203&view=rev
Log:
added section for shared code unpacking, and the build helper plugin to include the unpacked shared code as source code folder besides the default one.
Modified:
myfaces/core/trunk/impl/pom.xml
myfaces/tomahawk/trunk/core/pom.xml
Modified: myfaces/core/trunk/impl/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/pom.xml?rev=422203&r1=422202&r2=422203&view=diff
==============================================================================
--- myfaces/core/trunk/impl/pom.xml (original)
+++ myfaces/core/trunk/impl/pom.xml Sat Jul 15 04:29:06 2006
@@ -65,7 +65,46 @@
<outputDirectory>${project.build.directory}/classes</outputDirectory>
</configuration>
</execution>
+ <!-- unpack the shared sources into target/shared_sources-->
+ <execution>
+ <id>unpack-shared-impl-sources</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.myfaces.shared</groupId>
+ <artifactId>myfaces-shared-impl</artifactId>
+ <version>2.0.4-SNAPSHOT</version>
+ <classifier>sources</classifier>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.directory}/shared_sources</outputDirectory>
+ </configuration>
+ </execution>
</executions>
+ </plugin>
+ <!-- the following will add the unpacked shared sources directory as source directory into the pom,
+ so also the shared sources are automaticaly included by the attach source plugin -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>add-source</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>${project.build.directory}/shared_sources</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>
Modified: myfaces/tomahawk/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/pom.xml?rev=422203&r1=422202&r2=422203&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/pom.xml (original)
+++ myfaces/tomahawk/trunk/core/pom.xml Sat Jul 15 04:29:06 2006
@@ -244,9 +244,47 @@
<outputDirectory>${project.build.directory}/classes</outputDirectory>
</configuration>
</execution>
+ <!-- unpack the shared sources into target/shared_sources-->
+ <execution>
+ <id>unpack-shared-impl-sources</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.myfaces.shared</groupId>
+ <artifactId>myfaces-shared-tomahawk</artifactId>
+ <version>2.0.4-SNAPSHOT</version>
+ <classifier>sources</classifier>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.directory}/shared_sources</outputDirectory>
+ </configuration>
+ </execution>
</executions>
</plugin>
-
+ <!-- the following will add the unpacked shared sources directory as source directory into the pom,
+ so also the shared sources are automaticaly included by the attach source plugin -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>add-source</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>${project.build.directory}/shared_sources</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>