Re: Problem doing mvn clean with empty local repository

2009-08-20 Thread Daniel Kulp
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
dk...@apache.org
http://www.dankulp.com/blog


Problem doing mvn clean with empty local repository

2009-08-20 Thread Christian Schneider

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)