[jboss-dev-forums] [Design of JBoss Build System] - Re: Dependency conflicts lost during AS mavenization

wolfc do-not-reply at jboss.com
Wed Apr 2 03:20:21 EDT 2008


Another caveat:
[carlo at nymph interceptors]$ mvn dependency:tree
  | [INFO] Scanning for projects...
  | [INFO] Searching repository for plugin with prefix: 'dependency'.
  | WAGON_VERSION: 1.0-beta-2
  | [INFO] ------------------------------------------------------------------------
  | [INFO] Building JBoss EJB 3.0 Interceptors
  | [INFO]    task-segment: [dependency:tree]
  | [INFO] ------------------------------------------------------------------------
  | Downloading: http://repository.jboss.org/maven2/org/jboss/jbossws-spi/1.0.2.GA/jbossws-spi-1.0.2.GA.pom
  | Downloading: http://repo1.maven.org/maven2/org/jboss/jbossws-spi/1.0.2.GA/jbossws-spi-1.0.2.GA.pom
  | Downloading: http://repository.jboss.org/maven2/org/jboss/jbossws-spi/1.0.2.GA/jbossws-spi-1.0.2.GA.jar
  | Downloading: http://repository.jboss.org/maven2/org/jboss/jbossws-spi/1.0.2.GA/jbossws-spi-1.0.2.GA.jar
  | Downloading: http://repo1.maven.org/maven2/org/jboss/jbossws-spi/1.0.2.GA/jbossws-spi-1.0.2.GA.jar
  | [INFO] ------------------------------------------------------------------------
  | [ERROR] BUILD ERROR
  | [INFO] ------------------------------------------------------------------------
  | [INFO] Failed to resolve artifact.
  | 
  | Missing:
  | ----------
  | 1) org.jboss:jbossws-spi:jar:1.0.2.GA
  | 
  |   Try downloading the file manually from the project website.
  | 
  |   Then, install it using the command: 
  |       mvn install:install-file -DgroupId=org.jboss -DartifactId=jbossws-spi -Dversion=1.0.2.GA -Dpackaging=jar -Dfile=/path/to/file
  | 
  |   Alternatively, if you host your own repository you can deploy the file there: 
  |       mvn deploy:deploy-file -DgroupId=org.jboss -DartifactId=jbossws-spi -Dversion=1.0.2.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  | 
  |   Path to dependency: 
  |         1) org.jboss.ejb3:jboss-ejb3-interceptors:jar:0.12.0-SNAPSHOT
  |         2) org.jboss:jboss-metadata:jar:1.0.0-SNAPSHOT
  |         3) org.jboss:jbossws-spi:jar:1.0.2.GA
  | 
  | ----------
  | 1 required artifact is missing.
  | 
  | for artifact: 
  |   org.jboss.ejb3:jboss-ejb3-interceptors:jar:0.12.0-SNAPSHOT
  | 
  | from the specified remote repositories:
  |   central (http://repo1.maven.org/maven2),
  |   jboss-snapshots (http://snapshots.jboss.org/maven2),
  |   repository.jboss.com (http://repository.jboss.org/maven2)
  | 
  | 
  | [INFO] ------------------------------------------------------------------------
  | [INFO] For more information, run Maven with the -e switch
  | [INFO] ------------------------------------------------------------------------
  | [INFO] Total time: 3 seconds
  | [INFO] Finished at: Wed Apr 02 09:10:05 CEST 2008
  | [INFO] Final Memory: 8M/102M
  | [INFO] ------------------------------------------------------------------------

r4111 | heiko.braun at jboss.com | 2008-04-02 09:08:49 +0200 (Wed, 02 Apr 2008) | 1
  |  line
  | 
  | jbossws spi 1.0.2 artifacts added

A snapshot artificat (jboss-metadata) arrives at the final repository before a released artifact (jbossws-spi).

I'm going to need strong coffee today.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140796#4140796

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140796



More information about the jboss-dev-forums mailing list