Josef,

You need to build modules/resource-bundle before the plugins. Probably
the documentation is not up-to-date about this.

Andreas

On Tue, Sep 7, 2010 at 12:25, Stadelmann Josef
<[email protected]> wrote:
> Not sure if this is the correct place to report this problem.
>
> I’m using maven-2.2.1 to build axis2-1.5.2
>
> I did yesterday
>
> sv co http://svn.apache.org/repos/asf/axis/axis2/java/core/tags/v1.5.1
>
> C:\asf\axis\axis2\java\core\tags\v1.5.1\modules\tool\axis2-aar-maven-plugin>
> mvn install
>
> C:\asf\axis\axis2\java\core\tags\v1.5.1\modules\tool\axis2-mar-maven-plugin>
> mvn install
>
> C:\asf\axis\axis2\java\core\tags\v1.5.1> mvn install
>
> WITH GREAT SUCCESS in 45 minutes
>
> To day I did
>
> sv co http://svn.apache.org/repos/asf/axis/axis2/java/core/tags/v1.5.1.2
>
> C:\asf\axis\axis2\java\core\tags\v1.5.1\modules\tool\axis2-aar-maven-plugin>
> mvn install
>
> AND this results in
>
> [INFO] Scanning for projects...
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Building Apache Axis2 - tool - AAR Maven Plugin
>
> [INFO]    task-segment: [install]
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] [plugin:descriptor {execution: default-descriptor}]
>
> [INFO] Using 'UTF-8' encoding to read mojo metadata.
>
> [INFO] Applying mojo extractor for language: java
>
> [WARNING] org.apache.axis2.maven2.aar.AarMojo#jarArchiver:
>
> [WARNING]   The syntax
>
> [WARNING]     @parameter expression="${component.<role>#<roleHint>}"
>
> [WARNING]   is deprecated, please use
>
> [WARNING]     @component role="<role>" roleHint="<roleHint>"
>
> [WARNING]   instead.
>
> [INFO] Mojo extractor for language: java found 4 mojo descriptors.
>
> [INFO] Applying mojo extractor for language: bsh
>
> [INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
>
> [INFO] Setting property: classpath.resource.loader.class =>
> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
>
> [INFO] Setting property: velocimacro.messages.on => 'false'.
>
> [INFO] Setting property: resource.loader => 'classpath'.
>
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
>
> [INFO] [remote-resources:process {execution: default}]
>
> Downloading:
> http://repo1.maven.org/eclipse/org/apache/axis2/axis2-resource-bundle/1.5.2/axis2-resource-bundle-1.5.2.jar
>
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-resource-bundle:jar:1.5.2' in repository
> eclipse-repo (http://repo1.maven.org/eclipse)
>
> Downloading:
> http://download.java.net/maven/2//org/apache/axis2/axis2-resource-bundle/1.5.2/axis2-resource-bundle-1.5.2.jar
>
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-resource-bundle:jar:1.5.2' in repository java.net
> (http://download.java.net/maven/2/)
>
> Downloading:
> http://repo.exist.com/maven2/org/apache/axis2/axis2-resource-bundle/1.5.2/axis2-resource-bundle-1.5.2.jar
>
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-resource-bundle:jar:1.5.2' in repository central
> (http://repo1.maven.org/maven2)
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD ERROR
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.axis2
>
> ArtifactId: axis2-resource-bundle
>
> Version: 1.5.2
>
> Reason: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>
>     mvn install:install-file -DgroupId=org.apache.axis2
> -DartifactId=axis2-resource-bundle -Dversion=1.5.2 -Dpackaging=jar
> -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
>
>     mvn deploy:deploy-file -DgroupId=org.apache.axis2
> -DartifactId=axis2-resource-bundle -Dversion=1.5.2 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   org.apache.axis2:axis2-resource-bundle:jar:1.5.2
>
> from the specified remote repositories:
>
>   repo.exist.com (http://repo.exist.com/maven2),
>
>   eclipse-repo (http://repo1.maven.org/eclipse),
>
>   java.net (http://download.java.net/maven/2/),
>
>   apache.snapshots (http://repository.apache.org/snapshots)
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] For more information, run Maven with the -e switch
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 5 seconds
>
> [INFO] Finished at: Tue Sep 07 12:14:10 CEST 2010
>
> [INFO] Final Memory: 19M/35M
>
> [INFO]
> ------------------------------------------------------------------------
>
> Josef

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to