You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Ignacio Silva-Lepe <is...@verizon.net> on 2006/05/16 15:41:49 UTC

Build failure on mvn clean after update

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:incubatin
g-M1

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

  org.apache.tuscany.sca.plugins:tuscany-plugin-wsdl2java:maven-plugin:incubatin
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] -------------------------------------------------------------------------
---

Re: Build failure on mvn clean after update

Posted by Daniel Kulp <da...@iona.com>.
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
daniel.kulp@iona.com

Re: Build failure on mvn clean after update

Posted by Rick <cr...@gmail.com>.
Not sure if this is the issue but the maven repositories have been slow 
and unreliable. try using -o
Do an svn update first too.

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:incubatin
> g-M1
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
>   org.apache.tuscany.sca.plugins:tuscany-plugin-wsdl2java:maven-plugin:incubatin
> 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] -------------------------------------------------------------------------
> ---
>   


Re: Build failure on mvn clean after update

Posted by ant elder <an...@gmail.com>.
I think this maybe a problem with out plugin config. Did you clean out your
maven repository? If so does mvn without the clean param work, and then mvn
clean again works after that?

   ...ant

On 5/16/06, Ignacio Silva-Lepe <is...@verizon.net> 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:incubatin
> g-M1
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
>
> org.apache.tuscany.sca.plugins:tuscany-plugin-wsdl2java:maven-plugin:incubatin
> 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]
> -------------------------------------------------------------------------
> ---
>