Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: needing-scrub-3.4.0-fallout
    • Fix Version/s: 3.5.0-alpha-1, 3.5.0
    • Component/s: core
    • Labels:
      None

      Description

      We should remove the whole Ant build cause we have a large number of Maven versions which could be used to start building Maven itself.
      So i don't see any usefulness in it anymore.

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build maven-3.x #1506 (See https://builds.apache.org/job/maven-3.x/1506/)
          MNG-5904 Remove the whole Ant build (hboutemy: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=8b661620521de63586f825257e9c08c37e251eb5)

          • (edit) README.md
          • (edit) apache-maven/README.txt
          • (edit) apache-maven/pom.xml
          • (edit) apache-maven/src/main/assembly/bin.xml
          • (add) apache-maven/src/main/assembly/component.xml
          • (delete) maven-ant-tasks-2.1.1.jar
          • (edit) apache-maven/src/main/assembly/src.xml
          • (add) apache-maven/src/main/assembly/dir.xml
          • (delete) build.xml
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-3.x #1506 (See https://builds.apache.org/job/maven-3.x/1506/ ) MNG-5904 Remove the whole Ant build (hboutemy: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=8b661620521de63586f825257e9c08c37e251eb5 ) (edit) README.md (edit) apache-maven/README.txt (edit) apache-maven/pom.xml (edit) apache-maven/src/main/assembly/bin.xml (add) apache-maven/src/main/assembly/component.xml (delete) maven-ant-tasks-2.1.1.jar (edit) apache-maven/src/main/assembly/src.xml (add) apache-maven/src/main/assembly/dir.xml (delete) build.xml
          Hide
          stephenc Stephen Connolly added a comment -

          Maven 3.4.0 has been dropped. See this thread for more details.

          This issue will need to be re-scheduled for a Maven release in the (hopefully near) future.

          Show
          stephenc Stephen Connolly added a comment - Maven 3.4.0 has been dropped. See this thread for more details. This issue will need to be re-scheduled for a Maven release in the (hopefully near) future.
          Hide
          khmarbaise Karl Heinz Marbaise added a comment -

          Improvement made by Olivier Lamy 56543e4643490f1a359769bf3d661faa9c4072b4

          Show
          khmarbaise Karl Heinz Marbaise added a comment - Improvement made by Olivier Lamy 56543e4643490f1a359769bf3d661faa9c4072b4
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-3.x #1163 (See https://builds.apache.org/job/maven-3.x/1163/)
          MNG-5904 Remove the whole Ant Build Reduced minimum to build Maven (khmarbaise: rev 20b74169109076676aa05ffd7615538837fddf1e)

          • pom.xml
          • README.md
          • apache-maven/pom.xml
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-3.x #1163 (See https://builds.apache.org/job/maven-3.x/1163/ ) MNG-5904 Remove the whole Ant Build Reduced minimum to build Maven (khmarbaise: rev 20b74169109076676aa05ffd7615538837fddf1e) pom.xml README.md apache-maven/pom.xml
          Show
          khmarbaise Karl Heinz Marbaise added a comment - Followup 20b74169109076676aa05ffd7615538837fddf1e
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in maven-3.x #1161 (See https://builds.apache.org/job/maven-3.x/1161/)
          MNG-5904 Remove the whole Ant Build (khmarbaise: rev 0ff45140ad0f9a3369dfed7fd117a0bb400023f2)

          • apache-maven/src/main/assembly/component.xml
          • apache-maven/pom.xml
          • apache-maven/src/main/assembly/src.xml
          • maven-ant-tasks-2.1.1.jar
          • apache-maven/README.txt
          • build.xml
          • apache-maven/src/main/assembly/dir.xml
          • README.md
          • pom.xml
          • apache-maven/src/main/assembly/bin.xml
          Show
          hudson Hudson added a comment - FAILURE: Integrated in maven-3.x #1161 (See https://builds.apache.org/job/maven-3.x/1161/ ) MNG-5904 Remove the whole Ant Build (khmarbaise: rev 0ff45140ad0f9a3369dfed7fd117a0bb400023f2) apache-maven/src/main/assembly/component.xml apache-maven/pom.xml apache-maven/src/main/assembly/src.xml maven-ant-tasks-2.1.1.jar apache-maven/README.txt build.xml apache-maven/src/main/assembly/dir.xml README.md pom.xml apache-maven/src/main/assembly/bin.xml
          Show
          khmarbaise Karl Heinz Marbaise added a comment - Fixed in 0ff45140ad0f9a3369dfed7fd117a0bb400023f2
          Hide
          michael-o Michael Osipov added a comment - - edited

          Paul Benedict, that is a good idea. Every older version will result in undefined behavior.

          Show
          michael-o Michael Osipov added a comment - - edited Paul Benedict , that is a good idea. Every older version will result in undefined behavior.
          Hide
          jvanzyl Jason van Zyl added a comment -

          @Paul Benedict +1, I think that's reasonable.

          Show
          jvanzyl Jason van Zyl added a comment - @Paul Benedict +1, I think that's reasonable.
          Hide
          khmarbaise Karl Heinz Marbaise added a comment -

          @Paul Benedict The idea you suggested sounds very good and simple.

          Show
          khmarbaise Karl Heinz Marbaise added a comment - @Paul Benedict The idea you suggested sounds very good and simple.
          Hide
          pbenedict Paul Benedict added a comment - - edited

          With OpenJDK, they have a JDK-1 build policy. That is JDK 9, for example, must be able to be compiled with JDK 8. If you plan on bootstrapping Maven with Maven, I think some sort of policy needs to be defined. Perhaps it's based on minor version, for example: 3.4 requires that any 3.3.x Maven must be able to build it. WDYT?

          Show
          pbenedict Paul Benedict added a comment - - edited With OpenJDK, they have a JDK-1 build policy. That is JDK 9, for example, must be able to be compiled with JDK 8. If you plan on bootstrapping Maven with Maven, I think some sort of policy needs to be defined. Perhaps it's based on minor version, for example: 3.4 requires that any 3.3.x Maven must be able to build it. WDYT?
          Hide
          michael-o Michael Osipov added a comment -

          It's about time. We should have done this a long time ago. Let's eat our own dog food. If someone says, I need Ant to build Maven then he has a problem. Then he would need Ant to build Ant...?!

          Show
          michael-o Michael Osipov added a comment - It's about time. We should have done this a long time ago. Let's eat our own dog food. If someone says, I need Ant to build Maven then he has a problem. Then he would need Ant to build Ant...?!
          Hide
          khmarbaise Karl Heinz Marbaise added a comment -

          I see two options to support this scenario. Either we create the functionality via Maven (plugins?) itself (I'm thinking about maven-assembly-plugin) or just create a simple script which handles this.

          Show
          khmarbaise Karl Heinz Marbaise added a comment - I see two options to support this scenario. Either we create the functionality via Maven (plugins?) itself (I'm thinking about maven-assembly-plugin) or just create a simple script which handles this.
          Hide
          aheritier Arnaud HERITIER added a comment -

          The advantage of the ant build was to define a system property M2_HOME (existing path or not) and then ant took care to bootstrap maven and install the distribution into M2_HOME.
          With another shell using this maven deployed in M2_HOME I was able to test it on various projects without having to manually extract and potentially move the archive produce by mvn package

          Show
          aheritier Arnaud HERITIER added a comment - The advantage of the ant build was to define a system property M2_HOME (existing path or not) and then ant took care to bootstrap maven and install the distribution into M2_HOME . With another shell using this maven deployed in M2_HOME I was able to test it on various projects without having to manually extract and potentially move the archive produce by mvn package
          Hide
          khmarbaise Karl Heinz Marbaise added a comment -

          What about mvn clean package or mvn clean deploy ? I never used Ant to build Maven...

          Show
          khmarbaise Karl Heinz Marbaise added a comment - What about mvn clean package or mvn clean deploy ? I never used Ant to build Maven...
          Hide
          aheritier Arnaud HERITIER added a comment -

          Not sure .... Myself I'm using it to build and deploy in one step a new maven core distro locally. Maybe there is another way to build/install/test dev versions of maven core ?
          (At the end, based on my limited/inexistent contributions, I won't veto this if you judge it useful but verify if others dev aren't using it)

          Show
          aheritier Arnaud HERITIER added a comment - Not sure .... Myself I'm using it to build and deploy in one step a new maven core distro locally. Maybe there is another way to build/install/test dev versions of maven core ? (At the end, based on my limited/inexistent contributions, I won't veto this if you judge it useful but verify if others dev aren't using it)

            People

            • Assignee:
              khmarbaise Karl Heinz Marbaise
              Reporter:
              khmarbaise Karl Heinz Marbaise
            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development