Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-708

fix maven build so eclipse:eclipse goal doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Currently, every time you run eclipse:eclipse, the parent POM is configured for the life-cycle phase of generate-resources to run an ant script to copy the LICENSE, NOTICES, and DISCLAIMER files into the source tree, and because eclipse:eclipse runs the phases up to "generate-resources" (see http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html where it says: "Invokes the execution of the lifecycle phase generate-resources prior to executing itself."), these files end up in the source tree, and need to be manually deleted.

      Change this to the maven-way of doing this: add a <resources> element to the parent POM that is configured to add these files to the meta-inf of the result.

      Adam said that he tried this earlier, and got strange failures. I just tried it and it seems to work now. I ran the whole build, both install and assembly:assembly. So, I think the prior issues have been resolved with the 2.0.7 level of Maven (current level is now 2.0.8).

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: