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

Let META-INF/maven/../pom.properties|pom.xml be generated in generate-resources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • None
    • None
    • None
    • None

    Description

      Some applications use the META-INF/maven/../pom.properties to read the application/jar version at runtime.

      This file is generated in the package phase.

      During unit tests, or running applications from the workspace (project tree), these files
      are not available, which causes problems.

      Suggest to move the pom.(properties|xml) generating code in the maven-jar-plugin to a separate
      mojo that's bound to generate-resources.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kenney Kenney Westerhof
            Votes:
            9 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: