myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1099833 - /myfaces/tomahawk/trunk/examples/simple20/pom.xml
Date Thu, 05 May 2011 14:59:41 GMT
Author: lu4242
Date: Thu May  5 14:59:41 2011
New Revision: 1099833

URL: http://svn.apache.org/viewvc?rev=1099833&view=rev
Log:
fix pom dependency, because this example should run only with 2.0 version

Modified:
    myfaces/tomahawk/trunk/examples/simple20/pom.xml

Modified: myfaces/tomahawk/trunk/examples/simple20/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple20/pom.xml?rev=1099833&r1=1099832&r2=1099833&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple20/pom.xml (original)
+++ myfaces/tomahawk/trunk/examples/simple20/pom.xml Thu May  5 14:59:41 2011
@@ -2,7 +2,7 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.myfaces.tomahawk</groupId>
-        <artifactId>tomahawk-examples-project</artifactId>
+        <artifactId>tomahawk-project</artifactId>
         <version>1.1.11-SNAPSHOT</version>
     </parent>
     <scm>
@@ -117,7 +117,9 @@
                 <dependency>
                     <groupId>org.apache.geronimo.specs</groupId>
                     <artifactId>geronimo-el_1.0_spec</artifactId>
+                    <scope>provided</scope>
                 </dependency>
+
             </dependencies>
 
             <properties>
@@ -151,6 +153,7 @@
                 <dependency>
                     <groupId>org.apache.geronimo.specs</groupId>
                     <artifactId>geronimo-el_1.0_spec</artifactId>
+                    <scope>provided</scope>
                 </dependency>
             </dependencies>
 
@@ -168,8 +171,8 @@
               </property>
             </activation>
             <build>        
-                <plugins>	    
-                    <plugin>	
+                <plugins>
+                    <plugin>
                         <groupId>org.codehaus.mojo</groupId>
                         <artifactId>dependency-maven-plugin</artifactId>
                         <executions>
@@ -180,7 +183,7 @@
                                     <goal>unpack</goal>
                                 </goals>
                                 <configuration>
-                                    <artifactItems>  	   
+                                    <artifactItems>
                                         <artifactItem>
                                             <groupId>org.apache.myfaces.tomahawk</groupId>
                                             <artifactId>${artifactId}</artifactId>
@@ -188,19 +191,19 @@
                                             <classifier>sources</classifier>
                                         </artifactItem>
                                         <artifactItem>
-											<groupId>org.apache.myfaces.tomahawk</groupId>
-											<artifactId>tomahawk</artifactId>
-											<version>${project.version}</version>
-											<classifier>sources</classifier>
-										</artifactItem>
+                                            <groupId>org.apache.myfaces.tomahawk</groupId>
+                                            <artifactId>tomahawk20</artifactId>
+                                            <version>${project.version}</version>
+                                            <classifier>sources</classifier>
+                                        </artifactItem>
                                     </artifactItems>
                                     <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/src</outputDirectory>
                                 </configuration>
                             </execution>
                         </executions>
-                    </plugin>	           
-                </plugins>	
+                    </plugin>
+                </plugins>
             </build>
         </profile>
-    </profiles>  
+    </profiles>
 </project>



Mime
View raw message