You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2006/06/02 18:01:45 UTC

svn commit: r411198 - in /myfaces/tomahawk/trunk/examples: assembly/pom.xml blank/pom.xml simple/pom.xml tiles/pom.xml wap/pom.xml

Author: bommel
Date: Fri Jun  2 09:01:44 2006
New Revision: 411198

URL: http://svn.apache.org/viewvc?rev=411198&view=rev
Log:
fixed source artifacts for example assembly

Modified:
    myfaces/tomahawk/trunk/examples/assembly/pom.xml
    myfaces/tomahawk/trunk/examples/blank/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/examples/assembly/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/assembly/pom.xml?rev=411198&r1=411197&r2=411198&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/assembly/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/assembly/pom.xml Fri Jun  2 09:01:44 2006
@@ -75,25 +75,25 @@
                   <groupId>org.apache.myfaces.tomahawk</groupId>
                   <artifactId>myfaces-example-blank</artifactId>
                   <version>${version}</version>
-                  <type>sources</type>
+                  <classifier>sources</classifier>
                 </artifactItem>
                 <artifactItem>
                   <groupId>org.apache.myfaces.tomahawk</groupId>
                   <artifactId>myfaces-example-simple</artifactId>
                   <version>${version}</version>
-                  <type>sources</type>
+                  <classifier>sources</classifier>
                 </artifactItem>
                 <artifactItem>
                   <groupId>org.apache.myfaces.tomahawk</groupId>
                   <artifactId>myfaces-example-tiles</artifactId>
                   <version>${version}</version>
-                  <type>sources</type>
+                  <classifier>sources</classifier>
                 </artifactItem>
                 <artifactItem>
                   <groupId>org.apache.myfaces.tomahawk</groupId>
                   <artifactId>myfaces-example-wap</artifactId>
                   <version>${version}</version>
-                  <type>sources</type>
+                  <classifier>sources</classifier>
                 </artifactItem>
                </artifactItems>
                <outputDirectory>${project.build.directory}/src</outputDirectory>

Modified: myfaces/tomahawk/trunk/examples/blank/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/blank/pom.xml?rev=411198&r1=411197&r2=411198&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/blank/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/blank/pom.xml Fri Jun  2 09:01:44 2006
@@ -36,5 +36,24 @@
   <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>
 </project>

Modified: myfaces/tomahawk/trunk/examples/simple/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/pom.xml?rev=411198&r1=411197&r2=411198&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/simple/pom.xml Fri Jun  2 09:01:44 2006
@@ -45,5 +45,23 @@
       <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>
 </project>

Modified: myfaces/tomahawk/trunk/examples/tiles/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/tiles/pom.xml?rev=411198&r1=411197&r2=411198&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/tiles/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/tiles/pom.xml Fri Jun  2 09:01:44 2006
@@ -39,17 +39,37 @@
 
   <dependencies>
     <dependency>
-       <groupId>struts</groupId>
-       <artifactId>struts</artifactId>
-       <version>1.2.8</version>
-       <scope>compile</scope>
-       <!--exclusions>
+      <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>
+    </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>

Modified: myfaces/tomahawk/trunk/examples/wap/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/wap/pom.xml?rev=411198&r1=411197&r2=411198&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/wap/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/wap/pom.xml Fri Jun  2 09:01:44 2006
@@ -37,13 +37,33 @@
     <finalName>myfaces-example-wap</finalName>
   </build>
 
-    <dependencies>
-      <dependency>
-        <groupId>commons-logging</groupId>
-        <artifactId>commons-logging</artifactId>
-        <version>1.0.4</version>
-        <scope>compile</scope>
-      </dependency>
-    </dependencies>
+  <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>
 
 </project>