You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by ws...@apache.org on 2007/01/20 06:08:13 UTC

svn commit: r498071 - /struts/struts2/trunk/core/pom.xml

Author: wsmoak
Date: Fri Jan 19 21:08:12 2007
New Revision: 498071

URL: http://svn.apache.org/viewvc?view=rev&rev=498071
Log:
Eliminate the compile-time dependency on struts-annotations.  It is only required at build time, so configure it as a build extension.
WW-1650

Modified:
    struts/struts2/trunk/core/pom.xml

Modified: struts/struts2/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/pom.xml?view=diff&rev=498071&r1=498070&r2=498071
==============================================================================
--- struts/struts2/trunk/core/pom.xml (original)
+++ struts/struts2/trunk/core/pom.xml Fri Jan 19 21:08:12 2007
@@ -19,6 +19,13 @@
     </scm>
 
     <build>
+        <extensions>
+            <extension>
+                <groupId>org.apache.struts</groupId>
+                <artifactId>struts-annotations</artifactId>
+                <version>1.0-SNAPSHOT</version>
+            </extension>
+        </extensions>
         <plugins>
         	<plugin>
                 <artifactId>maven-dependency-plugin</artifactId>
@@ -459,13 +466,6 @@
             <artifactId>log4j</artifactId>
             <version>1.2.9</version>
             <scope>test</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.struts</groupId>
-            <artifactId>struts-annotations</artifactId>
-            <version>1.0-SNAPSHOT</version>
-            <scope>compile</scope>
         </dependency>
 
     </dependencies>