Hi all, Jesse

I am trying to use the axis-tools plugin but cannot get maven to find the snapshot. I have added the repositories as per the instructions on the mojo web site to my pom and the build target as per the axis-tools instructions but get the following output.
Any help appreciated.

Conor.

maven output and pom.xml follows:

maven output:

[INFO] Scanning for projects...
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Maven Quick Start Archetype
[INFO]    task-segment: [clean]
[INFO] -------------------------------------------------------------------------
---
[INFO] snapshot org.codehaus.mojo:axistools-maven-plugin:0.1-SNAPSHOT: checking
for updates from Maven Snapshots (mojo)
Downloading: http://snapshots.maven.codehaus.org/maven2//org/codehaus/mojo/axist
ools-maven-plugin/0.1-SNAPSHOT/axistools-maven-plugin-0.1-SNAPSHOT.pom
[WARNING] Unable to get resource from repository Maven Snapshots (mojo) (http://
snapshots.maven.codehaus.org/maven2/)
Downloading: http://snapshots.maven.codehaus.org/maven2//org/codehaus/mojo/axist
ools-maven-plugin/0.1-SNAPSHOT/axistools-maven-plugin-0.1-SNAPSHOT.pom
[WARNING] Unable to get resource from repository Maven Snapshots (mojo) (http://
snapshots.maven.codehaus.org/maven2/)
[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] Failed to resolve artifact.

GroupId: org.codehaus.mojo
ArtifactId: axistools-maven-plugin
Version: 0.1-SNAPSHOT

Reason: Unable to download the artifact from any repository

 org.codehaus.mojo:axistools-maven-plugin:pom:0.1-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
 Maven Snapshots (mojo) (http://snapshots.maven.codehaus.org/maven2/)


[INFO] -------------------------------------------------------------------------
---
[INFO] For more information, run Maven with the -e switch
[INFO] -------------------------------------------------------------------------




pom.xml
...
 <repositories>
   <repository>
     <id>Maven Snapshots (mojo)</id>
     <url>http://snapshots.maven.codehaus.org/maven2/</url>
     <snapshots>
       <enabled>true</enabled>
     </snapshots>
     <releases>
       <enabled>false</enabled>
     </releases>
   </repository>
 </repositories>
 <pluginRepositories>
   <pluginRepository>
     <id>Maven Snapshots (mojo)</id>
     <url>http://snapshots.maven.codehaus.org/maven2/</url>
     <snapshots>
       <enabled>true</enabled>
     </snapshots>
     <releases>
       <enabled>false</enabled>
     </releases>
   </pluginRepository>
 </pluginRepositories>

...

<build>
   <plugins>
     <plugin>
       <groupId>org.codehaus.mojo</groupId>
       <artifactId>axistools-maven-plugin</artifactId>
       <version>0.1-SNAPSHOT</version>
       <configuration>
         <sourceDirectory>src/main/wsdl</sourceDirectory>
         <fileNStoPkg>src/main/wsdl/NStoPackage.properties</fileNStoPkg>
       </configuration>
       <executions>
         <execution>
           <goals>
             <goal>wsdl2java</goal>
           </goals>
         </execution>
       </executions>
     </plugin>
   </plugins>
 </build>

_________________________________________________________________
MSN is now fully customisable - visit the all-new MSN today! http://ie.msn.com/

Reply via email to