Uploaded image for project: 'Maven Ant Plugin (RETIRED)'
  1. Maven Ant Plugin (RETIRED)
  2. MANT-22

Make it possible to run the package target without tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-1
    • 2.1
    • None
    • Gentoo Linux
    • Patch

    Description

      When packaging stuff for Gentoo linux it is our packaging policy to give the user the choice whether he/she wants to run the unit tests or not. Nowadays as quite a few projects only use maven as their build system we use ant:ant to generate build.xml files and do your packaging using that (at least until we can get maven to properly build from source and integrate repositories to our system etc. which has proved not so easy). The problem with the generated build.xml files is that it always forces the tests for the package target. For this reason I wrote a patch that changes the default target to dist that just depends on the package and test targets.

      Attachments

        Activity

          People

            bentmann Benjamin Bentmann
            betelgeuse@gentoo.org Petteri Räty
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: