Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-1887

Guide to transforming a maven.xml goal into a plugin

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.1
    • None
    • Documentation: Guides
    • None

    Description

      Many users coming from maven 1 have large maven.xml files and don't really know how to start migrating those.
      Usually these maven.xml do simple things like copy some files or run an ant task.

      3 use cases should be shown:
      1) old custom assembly script can now be done by the assembly plugin
      2) some ant task can be done with the antrun plugin
      3) some custom script can be turned into a plugin
      You probably don't like solution 2) and it's indeed not the best solution,
      like use maven.xml in maven 1 was also not the best solution,
      despite that people are doing it to do things quick & dirty or as proofs of concepts,
      so they should be guided (and also be told that 3) is better)

      This could become a part of "Guide to Moving from Maven 1.x to Maven 2.x":
      http://maven.apache.org/guides/mini/guide-m1-m2.html
      But seeing the length of that one, some sort of index would be usefull (like in FAQ's).

      Attachments

        Issue Links

          Activity

            People

              siveton Siveton Vincent
              ge0ffrey.desmet Geoffrey De Smet
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: