2 Replies Latest reply on Oct 22, 2007 3:34 PM by Paul Gier

    mc release broken

    Scott Stark Master

      Although mvn release:prepare -DdryRun=true works fine, when I did mvn release:prepare its failing on this self dependency. Why isn't this getting built? I'm building using the toplevel pom.xml

       Missing:
       ----------
       1) org.jboss.microcontainer:jboss-kernel:test-jar:tests:2.0.0.Beta5
      
       Try downloading the file manually from the project website.
      
       Then, install it using the command:
       mvn install:install-file -DgroupId=org.jboss.microcontainer -Dartifac tId=jboss-kernel \
       -Dversion=2.0.0.Beta5 -Dclassifier=tests -Dpackaging=test-jar -Df ile=/path/to/file
       Alternatively, if you host your own repository you can deploy the file ther e: mvn deploy:deploy-file -DgroupId=org.jboss.microcontainer -DartifactId =jboss-kernel \
       -Dversion=2.0.0.Beta5 -Dclassifier=tests -Dpackaging=test-jar -Df ile=/path/to/file \
       -Durl=[url] -DrepositoryId=[id]
      
       Path to dependency:
       1) org.jboss.microcontainer:jboss-aop-mc-int:jar:2.0.0.Beta5
       2) org.jboss.microcontainer:jboss-kernel:test-jar:tests:2.0.0.Beta5
      
       ----------
       1 required artifact is missing.
      
       for artifact:
       org.jboss.microcontainer:jboss-aop-mc-int:jar:2.0.0.Beta5
      
       from the specified remote repositories:
       central (http://repo1.maven.org/maven2),
       jboss-snapshots (http://snapshots.jboss.org/maven2),
       repository.jboss.org (http://repository.jboss.org/maven2/),
       snapshots.jboss.org (http://snapshots.jboss.org/maven2/),
       jboss (http://repository.jboss.org/maven2)
      
      
       [INFO] -------------------------------------------------------------------- ----
       [INFO] For more information, run Maven with the -e switch
       [INFO] -------------------------------------------------------------------- ----
       [INFO] Total time: 1 minute 5 seconds
       [INFO] Finished at: Fri Oct 19 14:56:56 PDT 2007
       [INFO] Final Memory: 39M/420M
       [INFO] -------------------------------------------------------------------- ----
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Maven execution failed, exit code: '1'
      
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4 minutes
      [INFO] Finished at: Fri Oct 19 14:56:56 PDT 2007
      [INFO] Final Memory: 19M/364M
      [INFO] ------------------------------------------------------------------------
      [starksm@succubus jbossmc]$