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

multi module release fails because of test-jar

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: