You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Christian Schneider <ch...@die-schneider.net> on 2009/08/20 14:39:23 UTC
Problem doing mvn clean with empty local repository
Hi all,
when I do mvn clean on head with an empty local repository I get the
error below.
It seems it needs the cxf-xml2fastinfoset-plugin to do a clean. Is that
really necessary?
Greetings
Christian
---
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found -
check that the goal name is correct: 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.cxf
-DartifactId=cxf-xml2fastinfoset-plugin -Dversion=2.3.0-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.apache.cxf
-DartifactId=cxf-xml2fastinfoset-plugin -Dversion=2.3.0-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
org.apache.cxf:cxf-xml2fastinfoset-plugin:maven-plugin:2.3.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
org.apache.cxf:cxf-xml2fastinfoset-plugin:maven-plugin:2.3.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
Re: Problem doing mvn clean with empty local repository
Posted by Daniel Kulp <dk...@apache.org>.
On Thu August 20 2009 8:39:23 am Christian Schneider wrote:
> Hi all,
>
> when I do mvn clean on head with an empty local repository I get the
> error below.
> It seems it needs the cxf-xml2fastinfoset-plugin to do a clean. Is that
> really necessary?
Actually, that's just the first one. Even if you get beyond that, it will
complain about our codegen plugin not being available.
I PERSONALLY think it's a bug in Maven. I'm not sure why it needs to resolve
all the plugins to run clean. It doesn't seem like it should need to, but it
does.
Dan
> Greetings
>
> Christian
> ---
>
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] A required plugin was not found: Plugin could not be found -
> check that the goal name is correct: 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.cxf
> -DartifactId=cxf-xml2fastinfoset-plugin -Dversion=2.3.0-SNAPSHOT
> -Dpackaging=maven-plugin -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=org.apache.cxf
> -DartifactId=cxf-xml2fastinfoset-plugin -Dversion=2.3.0-SNAPSHOT
> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
>
> org.apache.cxf:cxf-xml2fastinfoset-plugin:maven-plugin:2.3.0-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
>
> org.apache.cxf:cxf-xml2fastinfoset-plugin:maven-plugin:2.3.0-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
--
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog