Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-1067

Recompile in release:preform phase due to different checkout path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2
    • None
    • perform
    • None

    Description

      In the phase of run-preparation-goals,  it will run clean & verify, which includes compile.

      When it comes to release, the plugin will checkout the source code to a different path (target/checkout) , then deploy the jar.

      Because of different source path and target,mvn cannot use the previous compiled classes.  It's ok for small project, but will be time-consuming for large project.

      Although we can customize the checkout directory, but the plugin will delete the content if it already exists.

      Is there any workaround from suffering compiling twice?

      Attachments

        Activity

          People

            Unassigned Unassigned
            crackme kevin leo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: