You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Eugeny N Dzhurinsky <bo...@redwerk.com> on 2008/04/29 18:22:07 UTC

svn build error?

Hello, everybody!

I recently updated from SVN and found I can't build Tuscany anymore!

It complains it can't find latest sql-maven-plugin:

[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Tuscany SCA DAS Implementation Extension
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/codehaus/mojo/sql-maven-plugin/1.1-SNAPSHOT/sql-maven-plugin-1.1-SNAPSHOT.jar
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/mojo/sql-maven-plugin/1.1-SNAPSHOT/sql-maven-plugin-1.1-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[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.codehaus.mojo -DartifactId=sql-maven-plugin -Dversion=1.1-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.codehaus.mojo -DartifactId=sql-maven-plugin -Dversion=1.1-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.codehaus.mojo:sql-maven-plugin:maven-plugin:1.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.incubator (http://people.apache.org/repo/m2-incubating-repository),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus-snapshot (http://snapshots.repository.codehaus.org)

  org.codehaus.mojo:sql-maven-plugin:maven-plugin:1.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.incubator (http://people.apache.org/repo/m2-incubating-repository),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus-snapshot (http://snapshots.repository.codehaus.org)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Tue Apr 29 19:19:54 EEST 2008
[INFO] Final Memory: 18M/33M
[INFO] ------------------------------------------------------------------------

Could somebody please help me with resolving this issue/fix that error in SVN/whatever?

Thank you in advance!

-- 
Eugene N Dzhurinsky