When I do 'mvn install war:war', maven throws an error while downloading the 
dependencies:

GroupId: org.apache.ws.commons.axiom
ArtifactId: axiom
Version: SNAPSHOT

Reason: Unable to locate resource in repository

  org.apache.ws.commons.axiom:axiom:pom:SNAPSHOT

from the specified remote repositories:
  ibiblio (http://ibiblio.org/maven/),
  central (http://repo1.maven.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository/),
  apache (http://www.apache.org/dist/java-repository/)

I looked in the pom.xml, and it had the following entry:
<dependency>
            <groupId>org.apache.ws.commons.axiom</groupId>
            <artifactId>axiom-api</artifactId>
            <version>SNAPSHOT</version>
</dependency>

There were also some other dependencies that had the SNAPSHOT version. 

I don't think the snapshot version would be available in the repository. 
Apologize if I am doing something wrong....

Regards,
Sharath





      

Reply via email to