Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-68

multi module release fails because of test-jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1
    • None
    • None
    • None
    • maven 2.0.5

    Description

      The release plugin is failing in the prepare task

      mvn release:prepare

      seemingly because it can't find the test-jar that has just been built by the previous module i.e. built within.

      Are there some examples in the wild of using the test-jar on a multi module project that does releases?

      The (nasty) workaround I have for now, is to wait for the build to fail and then

      mvn install

      So the test-jar (and other artifacts) are in my local repository and then continue

      mvn release:prepare

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yuri Yuri Schimke
              Votes:
              7 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: