What is this intended to solve? It doesn't work for me.

mvn4 clean test fails with:

Missing:
----------
1) org.apache.wicket:wicket:jar:tests:1.3.0-incubating-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
     mvn install:install-file -DgroupId=org.apache.wicket -DartifactId=wicket \
         -Dversion=1.3.0-incubating-20070410.093613-1 -Dpackaging=jar
-Dfile=/path/to/file

 Path to dependency:
       1) org.apache.wicket:wicket-extensions:jar:1.3.0-incubating-SNAPSHOT
       2) org.apache.wicket:wicket:jar:tests:1.3.0-incubating-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
 org.apache.wicket:wicket-extensions:jar:1.3.0-incubating-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)

Martijn

On 4/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: almaw
Date: Thu Apr 12 21:10:04 2007
New Revision: 528346

URL: http://svn.apache.org/viewvc?view=rev&rev=528346
Log:
Fix failing build caused by lack of tests classifier export.

Modified:
    incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-extensions/pom.xml
    incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/pom.xml
    incubator/wicket/branches/wicket-1.x/pom.xml

Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-extensions/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-extensions/pom.xml?view=diff&rev=528346&r1=528345&r2=528346
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-extensions/pom.xml 
(original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket-extensions/pom.xml Thu 
Apr 12 21:10:04 2007
@@ -39,6 +39,12 @@
                        <artifactId>wicket</artifactId>
                </dependency>
                <dependency>
+                       <groupId>org.apache.wicket</groupId>
+                       <artifactId>wicket</artifactId>
+                       <classifier>tests</classifier>
+                       <scope>tests</scope>
+               </dependency>
+               <dependency>
                        <groupId>commons-collections</groupId>
                        <artifactId>commons-collections</artifactId>
                </dependency>

Modified: incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/pom.xml?view=diff&rev=528346&r1=528345&r2=528346
==============================================================================
--- incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/pom.xml (original)
+++ incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/pom.xml Thu Apr 12 
21:10:04 2007
@@ -48,6 +48,16 @@
                                        
<licenseLocation>${basedir}/../../../../common/lib/clover.license</licenseLocation>
                                </configuration>
                        </plugin>
+                       <plugin>
+                               <artifactId>maven-jar-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <goals>
+                                                       <goal>test-jar</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
                </plugins>
        </build>
 </project>

Modified: incubator/wicket/branches/wicket-1.x/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/pom.xml?view=diff&rev=528346&r1=528345&r2=528346
==============================================================================
--- incubator/wicket/branches/wicket-1.x/pom.xml (original)
+++ incubator/wicket/branches/wicket-1.x/pom.xml Thu Apr 12 21:10:04 2007
@@ -198,6 +198,13 @@
                        </dependency>
                        <dependency>
                                <groupId>org.apache.wicket</groupId>
+                               <artifactId>wicket</artifactId>
+                               <version>${project.version}</version>
+                               <type>jar</type>
+                               <classifier>tests</classifier>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.apache.wicket</groupId>
                                <artifactId>wicket-extensions</artifactId>
                                <version>${project.version}</version>
                                <type>jar</type>
@@ -435,6 +442,16 @@
                                <groupId>org.codehaus.mojo</groupId>
                                
<artifactId>surefire-report-maven-plugin</artifactId>
                                <inherited>true</inherited>
+                       </plugin>
+                       <plugin>
+                               <artifactId>maven-jar-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <goals>
+                                                       <goal>test-jar</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
                        </plugin>
                </plugins>






--
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

Reply via email to