This is a "known" issue in Maven.   All plugins that a project depends on 
must be available, even for a "clean" phase.   However, in your case, you 
may not have done an "install" first to install the new plugins.   It's 
kind of a wacky catch-22.

It probably will work if you do:
mvn install
mvn clean
mvn install

The first will build and install everything, including the plugins, 
however, it may get some "dirty" code.   Then the clean will work.   Then 
the "real" install.

Dan


On Tuesday 16 May 2006 09:41, Ignacio Silva-Lepe wrote:
> I am getting the following build failure on mvn clean from the top
> after an update. Any ideas?
>
> [INFO]
> -----------------------------------------------------------------------
>-- ---
> [INFO] Building Tuscany BigBank Account Module
> [INFO]    task-segment: [clean]
> [INFO]
> -----------------------------------------------------------------------
>-- ---
> Downloading:
> http://repo1.maven.org/maven2/org/apache/tuscany/sca/plugins/tuscan
> y-plugin-wsdl2java/incubating-M1/tuscany-plugin-wsdl2java-incubating-M1
>.jar [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org /maven2)
> [INFO]
> -----------------------------------------------------------------------
>-- ---
> [ERROR] BUILD FAILURE
> [INFO]
> -----------------------------------------------------------------------
>-- ---
> [INFO] A required plugin was not found: Plugin could not be found -
> check that t he goal name is correct: Unable to download the artifact
> from any repository
>
>  
> org.apache.tuscany.sca.plugins:tuscany-plugin-wsdl2java:maven-plugin:in
>cubatin g-M1
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
>  
> org.apache.tuscany.sca.plugins:tuscany-plugin-wsdl2java:maven-plugin:in
>cubatin g-M1
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
> [INFO]
> -----------------------------------------------------------------------
>-- ---
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> -----------------------------------------------------------------------
>-- ---
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Tue May 16 09:29:55 EDT 2006
> [INFO] Final Memory: 5M/10M
> [INFO]
> -----------------------------------------------------------------------
>-- ---

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727  C: 508-380-7194
[EMAIL PROTECTED]

Reply via email to