You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sc...@apache.org on 2006/06/05 17:25:16 UTC

svn commit: r411816 - in /myfaces/tomahawk/trunk: assembly/src/main/assembly/ examples/ examples/assembly/ examples/assembly/src/main/assembly/ examples/blank/ examples/simple/ examples/tiles/ examples/wap/

Author: schof
Date: Mon Jun  5 08:25:15 2006
New Revision: 411816

URL: http://svn.apache.org/viewvc?rev=411816&view=rev
Log:
examples assembly stuff by Catalin

Modified:
    myfaces/tomahawk/trunk/assembly/src/main/assembly/src.xml
    myfaces/tomahawk/trunk/examples/assembly/   (props changed)
    myfaces/tomahawk/trunk/examples/assembly/pom.xml
    myfaces/tomahawk/trunk/examples/assembly/src/main/assembly/dep.xml
    myfaces/tomahawk/trunk/examples/blank/pom.xml
    myfaces/tomahawk/trunk/examples/pom.xml
    myfaces/tomahawk/trunk/examples/simple/pom.xml
    myfaces/tomahawk/trunk/examples/tiles/pom.xml
    myfaces/tomahawk/trunk/examples/wap/pom.xml

Modified: myfaces/tomahawk/trunk/assembly/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/assembly/src/main/assembly/src.xml?rev=411816&r1=411815&r2=411816&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/assembly/src/main/assembly/src.xml (original)
+++ myfaces/tomahawk/trunk/assembly/src/main/assembly/src.xml Mon Jun  5 08:25:15 2006
@@ -7,7 +7,7 @@
   <fileSets>    
     <fileSet>
       <directory>target/src</directory>
-      <outputDirectory>source</outputDirectory>
+      <outputDirectory>src</outputDirectory>
     </fileSet>
   </fileSets>
 </assembly>

Propchange: myfaces/tomahawk/trunk/examples/assembly/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Jun  5 08:25:15 2006
@@ -0,0 +1 @@
+target

Modified: myfaces/tomahawk/trunk/examples/assembly/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/assembly/pom.xml?rev=411816&r1=411815&r2=411816&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/assembly/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/assembly/pom.xml Mon Jun  5 08:25:15 2006
@@ -1,131 +1,95 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <packaging>pom</packaging>
-  <name>Tomahawk Examples Assembly</name>
-  <groupId>org.apache.myfaces.tomahawk</groupId>
-  <artifactId>tomahawk-examples-assembly</artifactId>
-
-  <parent>
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <packaging>pom</packaging>
+    <name>Tomahawk Examples Assembly</name>
     <groupId>org.apache.myfaces.tomahawk</groupId>
-    <artifactId>tomahawk-examples-project</artifactId>
-    <version>1.1.4-SNAPSHOT</version>
-  </parent>
-
-   <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/assembly</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/assembly</developerConnection>
-    <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples/assembly</url>
-  </scm>
-
-  <build>
-
-    <plugins>
-
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>dependency-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>copy-war</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>war</type>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>org.apache.myfaces.tomahawk</groupId>
-                  <artifactId>myfaces-example-simple</artifactId>
-                  <version>${version}</version>
-                  <type>war</type>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>org.apache.myfaces.tomahawk</groupId>
-                  <artifactId>myfaces-example-tiles</artifactId>
-                  <version>${version}</version>
-                  <type>war</type>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>org.apache.myfaces.tomahawk</groupId>
-                  <artifactId>myfaces-example-wap</artifactId>
-                  <version>${version}</version>
-                  <type>war</type>
-                </artifactItem>
-              </artifactItems>
-              <outputDirectory>${project.build.directory}/war</outputDirectory>
-            </configuration>
-          </execution>
-          <execution>
-            <id>copy-source</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>
-                  <classifier>sources</classifier>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>org.apache.myfaces.tomahawk</groupId>
-                  <artifactId>myfaces-example-simple</artifactId>
-                  <version>${version}</version>
-                  <classifier>sources</classifier>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>org.apache.myfaces.tomahawk</groupId>
-                  <artifactId>myfaces-example-tiles</artifactId>
-                  <version>${version}</version>
-                  <classifier>sources</classifier>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>org.apache.myfaces.tomahawk</groupId>
-                  <artifactId>myfaces-example-wap</artifactId>
-                  <version>${version}</version>
-                  <classifier>sources</classifier>
-                </artifactItem>
-               </artifactItems>
-               <outputDirectory>${project.build.directory}/src</outputDirectory>
-             </configuration>
-           </execution> 
-        </executions>
-      </plugin>
-
-      <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <version>2.0-beta-1</version>
-        <configuration>
-          <descriptor>src/main/assembly/dep.xml</descriptor>
-          <finalName>tomahawk-examples-${version}</finalName>
-          <outputDirectory>target/assembly/out</outputDirectory>
-          <workDirectory>target/assembly/work</workDirectory>
-        </configuration>
-      </plugin>
-
-       <plugin>
-        <groupId>org.apache.myfaces.maven</groupId>
-        <artifactId>wagon-maven-plugin</artifactId>
-        <version>1.0.3-SNAPSHOT</version>
-        <configuration>
-          <id>myfaces-nightly-builds</id>
-          <url>scpexe://minotaur.apache.org/www/cvs.apache.org/builds/myfaces/nightly</url>
-          <inputDirectory>target/assembly/out</inputDirectory>
-        </configuration>
-      </plugin>
+    <artifactId>tomahawk-examples-assembly</artifactId>
+
+    <parent>
+        <groupId>org.apache.myfaces.tomahawk</groupId>
+        <artifactId>tomahawk-examples-project</artifactId>
+        <version>1.1.4-SNAPSHOT</version>
+    </parent>
+
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/assembly</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/assembly</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples/assembly</url>
+    </scm>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>dependency-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy-war</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>war</type>	
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.myfaces.tomahawk</groupId>
+                                    <artifactId>myfaces-example-simple</artifactId>
+                                    <version>${version}</version>
+                                    <type>war</type>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.myfaces.tomahawk</groupId>
+                                    <artifactId>myfaces-example-tiles</artifactId>
+                                    <version>${version}</version>
+                                    <type>war</type>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.myfaces.tomahawk</groupId>
+                                    <artifactId>myfaces-example-wap</artifactId>
+                                    <version>${version}</version>
+                                    <type>war</type>
+                                </artifactItem>
+                            </artifactItems>
+                            <outputDirectory>${project.build.directory}/war</outputDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.0.1</version>
+                <configuration>
+		    <descriptors>	
+	                <descriptor>src/main/assembly/dep.xml</descriptor>
+ 		    </descriptors>
+		    <finalName>tomahawk-examples</finalName>
+                    <outputDirectory>${project.build.directory}/out</outputDirectory>
+                    <workDirectory>${project.build.directory}/work</workDirectory>
+                </configuration>
+            </plugin>
+	    
+            <plugin>
+                <groupId>org.apache.myfaces.maven</groupId>
+                <artifactId>wagon-maven-plugin</artifactId>
+                <version>1.0.4-SNAPSHOT</version>
+                <configuration>
+                    <id>myfaces-nightly-builds</id>
+                    <url>scpexe://minotaur.apache.org/www/cvs.apache.org/builds/myfaces/nightly</url>
+                    <inputDirectory>${project.build.directory}/out/tomahawk-examples-bin.dir</inputDirectory>
+                </configuration>
+            </plugin>
 
-    </plugins>
+        </plugins>
 
-  </build>
+    </build>
 
 </project>

Modified: myfaces/tomahawk/trunk/examples/assembly/src/main/assembly/dep.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/assembly/src/main/assembly/dep.xml?rev=411816&r1=411815&r2=411816&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/assembly/src/main/assembly/dep.xml (original)
+++ myfaces/tomahawk/trunk/examples/assembly/src/main/assembly/dep.xml Mon Jun  5 08:25:15 2006
@@ -1,25 +1,17 @@
 <assembly>
   <id>bin</id>
+  <includeBaseDirectory>false</includeBaseDirectory>
   <formats>
     <format>tar.gz</format>
     <format>zip</format>
-  </formats>
-  <fileSets>
-    <fileSet>
-    	<directory>src/main/resources</directory>
-    	<outputDirectory></outputDirectory>
-      <includes>
-        <include>README*</include>
-        <include>LICENSE*</include>
-        <include>NOTICE*</include>
-      </includes>
-    </fileSet>
+  </formats>	
+  <fileSets>    
     <fileSet>
       <directory>target/war</directory>
       <outputDirectory></outputDirectory>
       <includes>
         <include>*.war</include>
       </includes>
-    </fileSet>
+    </fileSet>     
   </fileSets>
-</assembly>
\ No newline at end of file
+</assembly>

Modified: myfaces/tomahawk/trunk/examples/blank/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/blank/pom.xml?rev=411816&r1=411815&r2=411816&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/blank/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/blank/pom.xml Mon Jun  5 08:25:15 2006
@@ -17,43 +17,56 @@
 -->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" 
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.myfaces.tomahawk</groupId>
-    <artifactId>tomahawk-examples-project</artifactId>
-    <version>1.1.4-SNAPSHOT</version>
-  </parent>
-  <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/blank</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/blank</developerConnection>
-    <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples/blank</url>
-  </scm>   
-  <artifactId>myfaces-example-blank</artifactId>
-  <packaging>war</packaging>
-  <name>Tomahawk Examples: Blank</name>
-  <build>
-    <finalName>myfaces-example-blank</finalName>
-  </build>
-  
-  <profiles>
-    <profile>
-      <id>generate-assembly</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-source-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>attach-source</id>
-                <goals><goal>jar</goal></goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.myfaces.tomahawk</groupId>
+        <artifactId>tomahawk-examples-project</artifactId>
+        <version>1.1.4-SNAPSHOT</version>
+    </parent>
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/blank</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/blank</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples/blank</url>
+    </scm>   
+    <artifactId>myfaces-example-blank</artifactId>
+    <packaging>war</packaging>
+    <name>Tomahawk Examples: Blank</name>  
+
+   <profiles>
+        <profile>
+            <id>generate-assembly</id>
+            <build>        
+                <plugins>	    
+                    <plugin>	
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>dependency-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>unpack-source</id>
+                                <phase>process-resources</phase>
+                                <goals>
+                                    <goal>unpack</goal>
+                                </goals>
+                                <configuration>
+                                    <artifactItems>  	   
+                                        <artifactItem>
+                                            <groupId>org.apache.myfaces.tomahawk</groupId>
+                                            <artifactId>${artifactId}</artifactId>
+                                            <version>${version}</version>
+                                            <classifier>sources</classifier>
+                                        </artifactItem>
+                                    </artifactItems>
+                                    <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/src</outputDirectory>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>	           
+                </plugins>	
+            </build>
+        </profile>
+    </profiles>
+    
 </project>
+

Modified: myfaces/tomahawk/trunk/examples/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/pom.xml?rev=411816&r1=411815&r2=411816&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/pom.xml Mon Jun  5 08:25:15 2006
@@ -1,73 +1,69 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <packaging>pom</packaging>
-  <name>Tomahawk Examples Project</name>
-  <groupId>org.apache.myfaces.tomahawk</groupId>
-  <artifactId>tomahawk-examples-project</artifactId>
-  
-  <parent>
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <packaging>pom</packaging>
+    <name>Tomahawk Examples Project</name>
     <groupId>org.apache.myfaces.tomahawk</groupId>
-    <artifactId>tomahawk-project</artifactId>
-    <version>1.1.4-SNAPSHOT</version>
-  </parent>
+    <artifactId>tomahawk-examples-project</artifactId>
+  
+    <parent>
+        <groupId>org.apache.myfaces.tomahawk</groupId>
+        <artifactId>tomahawk-project</artifactId>
+        <version>1.1.4-SNAPSHOT</version>
+    </parent>
   
-  <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples</developerConnection>
-    <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples</url>
-  </scm>   
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples</url>
+    </scm>   
 
-  <modules>
-    <module>blank</module>
-    <module>simple</module>
-    <module>tiles</module>
-    <module>wap</module>
-  </modules>
+    <modules>
+        <module>blank</module>
+        <module>simple</module>
+        <module>tiles</module>
+        <module>wap</module>
+    </modules>
 
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.myfaces.tomahawk</groupId>
-      <artifactId>tomahawk</artifactId>
-      <version>${version}</version>
-    </dependency> 
-    <dependency>
-      <groupId>org.apache.myfaces.core</groupId>
-      <artifactId>myfaces-api</artifactId>
-      <version>1.1.4-SNAPSHOT</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.myfaces.core</groupId>
-      <artifactId>myfaces-impl</artifactId>
-      <version>1.1.4-SNAPSHOT</version>
-      <!-- Tomahawk examples must only have runtime dependency to myfaces-impl
-           so that it will be automatically added to war. But there must not be
-           any compile dependency on impl so that is is always possible to use
-           other JSF implementations. -->
-      <scope>runtime</scope>
-    </dependency>
-    
-  </dependencies>
-  
-  <profiles>
-  <profile>
-      <id>generate-assembly</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-source-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>attach-source</id>
-                <goals><goal>jar</goal></goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-</project>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.myfaces.tomahawk</groupId>
+            <artifactId>tomahawk</artifactId>
+            <version>${version}</version>
+        </dependency> 
+        <dependency>
+            <groupId>org.apache.myfaces.core</groupId>
+            <artifactId>myfaces-api</artifactId>
+            <version>1.1.4-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.myfaces.core</groupId>
+            <artifactId>myfaces-impl</artifactId>
+            <version>1.1.4-SNAPSHOT</version>
+            <!-- Tomahawk examples must only have runtime dependency to myfaces-impl
+            so that it will be automatically added to war. But there must not be
+            any compile dependency on impl so that is is always possible to use
+            other JSF implementations. -->
+            <scope>runtime</scope>
+        </dependency>    
+    </dependencies>   
+
+     
+    <build>
+        <plugins>	
+            <plugin>
+                <artifactId>maven-source-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-source</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+	</plugins>
+    </build>
 
+</project>

Modified: myfaces/tomahawk/trunk/examples/simple/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/pom.xml?rev=411816&r1=411815&r2=411816&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/simple/pom.xml Mon Jun  5 08:25:15 2006
@@ -17,51 +17,64 @@
 -->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" 
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.myfaces.tomahawk</groupId>
-    <artifactId>tomahawk-examples-project</artifactId>
-    <version>1.1.4-SNAPSHOT</version>
-  </parent>
-  <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/simple</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/simple</developerConnection>
-    <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples/simple</url>
-  </scm>   
-  <artifactId>myfaces-example-simple</artifactId>
-  <packaging>war</packaging>
-  <name>Tomahawk Examples: Simple</name>
-  <build>
-    <finalName>myfaces-example-simple</finalName>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>commons-logging</groupId>
-      <artifactId>commons-logging</artifactId>
-      <version>1.0.4</version>
-      <scope>compile</scope>
-    </dependency>
-  </dependencies>
-  <profiles>
-    <profile>
-      <id>generate-assembly</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-source-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>attach-source</id>
-                <goals><goal>jar</goal></goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.myfaces.tomahawk</groupId>
+        <artifactId>tomahawk-examples-project</artifactId>
+        <version>1.1.4-SNAPSHOT</version>
+    </parent>
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/simple</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/simple</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples/simple</url>
+    </scm>   
+    <artifactId>myfaces-example-simple</artifactId>
+    <packaging>war</packaging>
+    <name>Tomahawk Examples: Simple</name>
+    
+    <profiles>
+        <profile>
+            <id>generate-assembly</id>
+            <build>        
+                <plugins>	    
+                    <plugin>	
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>dependency-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>unpack-source</id>
+                                <phase>process-resources</phase>
+                                <goals>
+                                    <goal>unpack</goal>
+                                </goals>
+                                <configuration>
+                                    <artifactItems>  	   
+                                        <artifactItem>
+                                            <groupId>org.apache.myfaces.tomahawk</groupId>
+                                            <artifactId>${artifactId}</artifactId>
+                                            <version>${version}</version>
+                                            <classifier>sources</classifier>
+                                        </artifactItem>
+                                    </artifactItems>
+                                    <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/src</outputDirectory>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>	           
+                </plugins>	
+            </build>
+        </profile>
+    </profiles>
+    
+    <dependencies>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>1.0.4</version>
+            <scope>compile</scope>
+        </dependency>
+    </dependencies>
+  
 </project>

Modified: myfaces/tomahawk/trunk/examples/tiles/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/tiles/pom.xml?rev=411816&r1=411815&r2=411816&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/tiles/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/tiles/pom.xml Mon Jun  5 08:25:15 2006
@@ -17,59 +17,70 @@
 -->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" 
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.myfaces.tomahawk</groupId>
-    <artifactId>tomahawk-examples-project</artifactId>
-    <version>1.1.4-SNAPSHOT</version>
-  </parent>
-  <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/tiles</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/tiles</developerConnection>
-    <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples/tiles</url>
-  </scm>   
-  <artifactId>myfaces-example-tiles</artifactId>
-  <packaging>war</packaging>
-  <name>Tomahawk Examples: Tiles</name>
-  <build>
-    <finalName>myfaces-example-tiles</finalName>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>struts</groupId>
-      <artifactId>struts</artifactId>
-      <version>1.2.8</version>
-      <scope>compile</scope>
-      <!--exclusions>
-        <exclusion>
-          <groupId>xalan</groupId>
-          <artifactId>xalan</artifactId>
-        </exclusion>
-      </exclusions-->
-    </dependency>
-  </dependencies>
-  <profiles>
-    <profile>
-      <id>generate-assembly</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-source-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>attach-source</id>
-                <goals><goal>jar</goal></goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
-
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.myfaces.tomahawk</groupId>
+        <artifactId>tomahawk-examples-project</artifactId>
+        <version>1.1.4-SNAPSHOT</version>
+    </parent>
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/tiles</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/tiles</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples/tiles</url>
+    </scm>   
+    <artifactId>myfaces-example-tiles</artifactId>
+    <packaging>war</packaging>
+    <name>Tomahawk Examples: Tiles</name>
+    
+    <profiles>
+        <profile>
+            <id>generate-assembly</id>
+            <build>        
+                <plugins>	    
+                    <plugin>	
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>dependency-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>unpack-source</id>
+                                <phase>process-resources</phase>
+                                <goals>
+                                    <goal>unpack</goal>
+                                </goals>
+                                <configuration>
+                                    <artifactItems>  	   
+                                        <artifactItem>
+                                            <groupId>org.apache.myfaces.tomahawk</groupId>
+                                            <artifactId>${artifactId}</artifactId>
+                                            <version>${version}</version>
+                                            <classifier>sources</classifier>
+                                        </artifactItem>
+                                    </artifactItems>
+                                    <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/src</outputDirectory>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>	           
+                </plugins>	
+            </build>
+        </profile>
+    </profiles>
+    
+    <dependencies>
+        <dependency>
+            <groupId>struts</groupId>
+            <artifactId>struts</artifactId>
+            <version>1.2.8</version>
+            <scope>compile</scope>
+            <!--exclusions>
+            <exclusion>
+            <groupId>xalan</groupId>
+            <artifactId>xalan</artifactId>
+            </exclusion>
+            </exclusions-->
+        </dependency>
+    </dependencies>
+  
 </project>

Modified: myfaces/tomahawk/trunk/examples/wap/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/wap/pom.xml?rev=411816&r1=411815&r2=411816&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/wap/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/wap/pom.xml Mon Jun  5 08:25:15 2006
@@ -17,53 +17,64 @@
 -->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" 
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.myfaces.tomahawk</groupId>
-    <artifactId>tomahawk-examples-project</artifactId>
-    <version>1.1.4-SNAPSHOT</version>
-  </parent>
-  <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/wap</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/wap</developerConnection>
-    <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples/wap</url>
-  </scm>   
-  <artifactId>myfaces-example-wap</artifactId>
-  <packaging>war</packaging>
-  <name>Tomahawk Examples: WAP</name>
-  <build>
-    <finalName>myfaces-example-wap</finalName>
-  </build>
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.myfaces.tomahawk</groupId>
+        <artifactId>tomahawk-examples-project</artifactId>
+        <version>1.1.4-SNAPSHOT</version>
+    </parent>
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/wap</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/wap</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples/wap</url>
+    </scm>   
+    <artifactId>myfaces-example-wap</artifactId>
+    <packaging>war</packaging>
+    <name>Tomahawk Examples: WAP</name>
+    
+    <profiles>
+        <profile>
+            <id>generate-assembly</id>
+            <build>        
+                <plugins>	    
+                    <plugin>	
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>dependency-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>unpack-source</id>
+                                <phase>process-resources</phase>
+                                <goals>
+                                    <goal>unpack</goal>
+                                </goals>
+                                <configuration>
+                                    <artifactItems>  	   
+                                        <artifactItem>
+                                            <groupId>org.apache.myfaces.tomahawk</groupId>
+                                            <artifactId>${artifactId}</artifactId>
+                                            <version>${version}</version>
+                                            <classifier>sources</classifier>
+                                        </artifactItem>
+                                    </artifactItems>
+                                    <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/src</outputDirectory>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>	           
+                </plugins>	
+            </build>
+        </profile>
+    </profiles>
 
-  <dependencies>
-    <dependency>
-      <groupId>commons-logging</groupId>
-      <artifactId>commons-logging</artifactId>
-      <version>1.0.4</version>
-      <scope>compile</scope>
-    </dependency>
-  </dependencies>
-
-  <profiles>
-    <profile>
-      <id>generate-assembly</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-source-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>attach-source</id>
-                <goals><goal>jar</goal></goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
+    <dependencies>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>1.0.4</version>
+            <scope>compile</scope>
+        </dependency>
+    </dependencies>  
 
 </project>