You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Jesper Pedersen <je...@vip.cybercity.dk> on 2006/01/03 09:33:36 UTC

Build failure

Hi.

Clean checkout and

cd build
mvn -Dmaven.test.failure.ignore=true package

gives:

[INFO] Building MyFaces Impl
[INFO]    task-segment: [package]
[INFO]
----------------------------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.codehaus.mojo
ArtifactId: xslt-maven-plugin
Version: 1.0-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.codehaus.mojo:xslt-maven-plugin:pom:1.0-SNAPSHOT

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

This is with Maven-2.0.1 btw.

The build instructions for trunk on http://myfaces.apache.org/buildhowto.html
also needs to be updated.

Hope this helps!
 Jesper


Re: Build failure

Posted by Bernd Bohmann <be...@atanion.com>.
Please follow the instructions in

http://wiki.apache.org/myfaces/Building_With_Maven

Maven XSLT plugin -- currently only available in source.

1. Use Subversion to get plugin source from 
svn://svn.codehaus.org/mojo/scm/trunk/mojo/mojo-sandbox/xslt-maven-plugin
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/xslt-maven-plugin
(if you are behind a firewall)

2. Run 'mvn install' in the source directory you downloaded. This causes 
the plugin to be built and installed in your maven instance. Currently 
there is an issue with the Maven plugin, so you have to apply a patch ( 
http://jira.codehaus.org/browse/MOJO-203)

Best Regards

Bernd

Jesper Pedersen schrieb:
> Hi.
> 
> Clean checkout and
> 
> cd build
> mvn -Dmaven.test.failure.ignore=true package
> 
> gives:
> 
> [INFO] Building MyFaces Impl
> [INFO]    task-segment: [package]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO]
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> GroupId: org.codehaus.mojo
> ArtifactId: xslt-maven-plugin
> Version: 1.0-SNAPSHOT
> 
> Reason: Unable to download the artifact from any repository
> 
>   org.codehaus.mojo:xslt-maven-plugin:pom:1.0-SNAPSHOT
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> This is with Maven-2.0.1 btw.
> 
> The build instructions for trunk on http://myfaces.apache.org/buildhowto.html
> also needs to be updated.
> 
> Hope this helps!
>  Jesper
> 
> 

-- 
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333