You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Dinesh Shahane <di...@compositesw.com> on 2007/09/25 21:34:46 UTC

build problem

I am getting the following error when building from the latest sources.
My m2 repository is clean and the sources are up to date. Do I need to
modify any build scripts?

I will appreciate any pointers to resolve this issue.

 

 

C:\tuscany\trunk\sca> mvn

...

...

---

[INFO] Building Apache Tuscany SCA BPEL Implementation Extension

[INFO]
------------------------------------------------------------------------
-

 

Downloading:
http://snapshots.repository.codehaus.org/org/apache/tuscany/sca/tus

cany-maven-wsdl2java/1.1-incubating-SNAPSHOT/tuscany-maven-wsdl2java-1.1
-incubat

ing-SNAPSHOT.jar

 

[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

 

Try downloading the file manually from the project website.

 

Then, install it using the command:

    mvn install:install-file -DgroupId=org.apache.tuscany.sca
-DartifactId=tusca

ny-maven-wsdl2java \

        -Dversion=1.1-incubating-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.tuscany.sca
-DartifactId=tuscany-m

aven-wsdl2java \

        -Dversion=1.1-incubating-SNAPSHOT -Dpackaging=maven-plugin
-Dfile=/path/

to/file \

         -Durl=[url] -DrepositoryId=[id]  


Added dependency on tuscany-maven-wsdl2java, was: build problem

Posted by Jean-Sebastien Delfino <js...@apache.org>.
Jean-Sebastien Delfino wrote:
> Dinesh Shahane wrote:
>> I am getting the following error when building from the latest sources.
>> My m2 repository is clean and the sources are up to date. Do I need to
>> modify any build scripts?
>>
>> I will appreciate any pointers to resolve this issue.
>>
>>  
>>
>>  
>>
>> C:\tuscany\trunk\sca> mvn
>>
>> ...
>>
>> ...
>>
>> ---
>>
>> [INFO] Building Apache Tuscany SCA BPEL Implementation Extension
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> -
>>
>>  
>>
>> Downloading:
>> http://snapshots.repository.codehaus.org/org/apache/tuscany/sca/tus
>>
>> cany-maven-wsdl2java/1.1-incubating-SNAPSHOT/tuscany-maven-wsdl2java-1.1
>> -incubat
>>
>> ing-SNAPSHOT.jar
>>
>>  
>>
>> [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
>>
>>  
>>
>> Try downloading the file manually from the project website.
>>
>>  
>>
>> Then, install it using the command:
>>
>>     mvn install:install-file -DgroupId=org.apache.tuscany.sca
>> -DartifactId=tusca
>>
>> ny-maven-wsdl2java \
>>
>>         -Dversion=1.1-incubating-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.tuscany.sca
>> -DartifactId=tuscany-m
>>
>> aven-wsdl2java \
>>
>>         -Dversion=1.1-incubating-SNAPSHOT -Dpackaging=maven-plugin
>> -Dfile=/path/
>>
>> to/file \
>>
>>          -Durl=[url] -DrepositoryId=[id] 
>>
>>   
>
> Hi,
>
> I think that the problem is that implementation-bpel uses the Tuscany 
> maven-wsdl2java plugin to generate test classes, but does not declare 
> a dependency on the plugin. I'm going to try to add the dependency and 
> see if it fixes the problem.
>
> In the meantime can you try to build maven-wsdl2java before 
> implementation-bpel?
> cd sca/modules/maven-wsdl2java
> mvn
> cd ../implementation-bpel
> mvn
>

I added a test dependency on tuscany-maven-wsdl2java to 
tuscany-implementation-bpel. That seems to fix the problem.

Could you try SVN revision r579390 and let me know if it works for you? 
Thanks.

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: build problem

Posted by Jean-Sebastien Delfino <js...@apache.org>.
Dinesh Shahane wrote:
> I am getting the following error when building from the latest sources.
> My m2 repository is clean and the sources are up to date. Do I need to
> modify any build scripts?
>
> I will appreciate any pointers to resolve this issue.
>
>  
>
>  
>
> C:\tuscany\trunk\sca> mvn
>
> ...
>
> ...
>
> ---
>
> [INFO] Building Apache Tuscany SCA BPEL Implementation Extension
>
> [INFO]
> ------------------------------------------------------------------------
> -
>
>  
>
> Downloading:
> http://snapshots.repository.codehaus.org/org/apache/tuscany/sca/tus
>
> cany-maven-wsdl2java/1.1-incubating-SNAPSHOT/tuscany-maven-wsdl2java-1.1
> -incubat
>
> ing-SNAPSHOT.jar
>
>  
>
> [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
>
>  
>
> Try downloading the file manually from the project website.
>
>  
>
> Then, install it using the command:
>
>     mvn install:install-file -DgroupId=org.apache.tuscany.sca
> -DartifactId=tusca
>
> ny-maven-wsdl2java \
>
>         -Dversion=1.1-incubating-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.tuscany.sca
> -DartifactId=tuscany-m
>
> aven-wsdl2java \
>
>         -Dversion=1.1-incubating-SNAPSHOT -Dpackaging=maven-plugin
> -Dfile=/path/
>
> to/file \
>
>          -Durl=[url] -DrepositoryId=[id]  
>
>
>   

Hi,

I think that the problem is that implementation-bpel uses the Tuscany 
maven-wsdl2java plugin to generate test classes, but does not declare a 
dependency on the plugin. I'm going to try to add the dependency and see 
if it fixes the problem.

In the meantime can you try to build maven-wsdl2java before 
implementation-bpel?
cd sca/modules/maven-wsdl2java
mvn
cd ../implementation-bpel
mvn

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org