[jboss-dev] Re: Maven versions and release procedure

Scott M Stark scott.stark at jboss.org
Wed Sep 27 13:24:29 EDT 2006


Ok, looks like the dependency report is generated using:
mvn project-info-reports:dependencies

For the current common trunk (which I'm currently updating to create the 
2.0.1.GA tag), it says:

[INFO] Building JBoss Common Classes
[INFO]    task-segment: [project-info-reports:dependencies]
[INFO] 
----------------------------------------------------------------------------
Downloading: 
http://repository.jboss.com/maven2//jboss/jboss-logging-spi/2.0.0/jboss-logging-spi-2.0.0.pom
[WARNING] Unable to get resource from repository jboss 
(http://repository.jboss.com/maven2/)
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-logging-spi/2.0.0/jboss-logging-spi-2.0.0.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
http://repository.jboss.com/maven2//jboss/jboss-logging-spi/2.0.0/jboss-logging-spi-2.0.0.jar
[WARNING] Unable to get resource from repository jboss 
(http://repository.jboss.com/maven2/)
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-logging-spi/2.0.0/jboss-logging-spi-2.0.0.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) jboss:jboss-logging-spi:jar:2.0.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=jboss 
-DartifactId=jboss-logging-spi \
          -Dversion=2.0.0 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) jboss:jboss-common-core:jar:2.0.1.GA
        2) jboss:jboss-logging-spi:jar:2.0.0

----------
1 required artifact is missing.

for artifact:
  jboss:jboss-common-core:jar:2.0.1.GA

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

*
*Adrian Brock wrote:
>
> On Wed, 2006-09-27 at 08:25 -0700, Scott M Stark wrote:
> > I'm not finding anything like a synchronize plugin/goal.
> >
>
> http://maven.apache.org/plugins-sandbox/dependency-convergence-report.html
>
> > What transitive dependency mechansim?
> > 
> http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
>
> Things like common-logging-log4j should determine the log4j version
> jboss-test the junit version
> etc.
>
> Avoid projects specifying their own versions which will be difficult
> to track and will almost certainly become inconsistent
> no matter how much work is done to try to keep them in step.
> --
> xxxxxxxxxxxxxxxxxxxxxxxxxxx
> Adrian Brock
> Chief Scientist
> JBoss a division of Red Hat
> xxxxxxxxxxxxxxxxxxxxxxxxxxx
>




More information about the jboss-development mailing list