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

warn if prerequisites.maven is used for non-plugin projects

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.9
    • Fix Version/s: 3.5.0-alpha-1, 3.5.0
    • Component/s: core
    • Labels:
      None

      Description

      as seen in MNG'4840 and documented in MNG-5297, in Maven 3, prerequisites.maven has a meaning for plugin projects: defining this for non-plugins projects makes feel that it will be checked like it was done in Maven 2, but this is not the case.
      Adding a warning could help people avoid this habit taken with Maven 2

        Issue Links

          Activity

          Show
          khmarbaise Karl Heinz Marbaise added a comment - Done in c10d813c69818a81a0b202b7bc48533db83e6e96
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Jenkins build maven-3.x #1381 (See https://builds.apache.org/job/maven-3.x/1381/)
          MNG-6092 warn if prerequisites.maven is used for non-plugin projects (khmarbaise: rev c10d813c69818a81a0b202b7bc48533db83e6e96)

          • (edit) maven-core/src/main/java/org/apache/maven/DefaultMaven.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Jenkins build maven-3.x #1381 (See https://builds.apache.org/job/maven-3.x/1381/ ) MNG-6092 warn if prerequisites.maven is used for non-plugin projects (khmarbaise: rev c10d813c69818a81a0b202b7bc48533db83e6e96) (edit) maven-core/src/main/java/org/apache/maven/DefaultMaven.java
          Hide
          khmarbaise Karl Heinz Marbaise added a comment -

          Made an followup in 54827e6b0fc02425f701cfcccde46f81edcb7058 which fixes the checkstyle issue which caused the previous build failure.

          Show
          khmarbaise Karl Heinz Marbaise added a comment - Made an followup in 54827e6b0fc02425f701cfcccde46f81edcb7058 which fixes the checkstyle issue which caused the previous build failure.
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build maven-3.x #1382 (See https://builds.apache.org/job/maven-3.x/1382/)
          MNG-6092 warn if prerequisites.maven is used for non-plugin projects (khmarbaise: rev 54827e6b0fc02425f701cfcccde46f81edcb7058)

          • (edit) maven-core/src/main/java/org/apache/maven/DefaultMaven.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-3.x #1382 (See https://builds.apache.org/job/maven-3.x/1382/ ) MNG-6092 warn if prerequisites.maven is used for non-plugin projects (khmarbaise: rev 54827e6b0fc02425f701cfcccde46f81edcb7058) (edit) maven-core/src/main/java/org/apache/maven/DefaultMaven.java
          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
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build maven-3.x #1525 (See https://builds.apache.org/job/maven-3.x/1525/)
          MNG-6092 warn if prerequisites.maven is used for non-plugin projects (khmarbaise: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=4604c49ee442fef48c0d3efe35fb85d2f0784131)

          • (edit) maven-core/src/main/java/org/apache/maven/DefaultMaven.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-3.x #1525 (See https://builds.apache.org/job/maven-3.x/1525/ ) MNG-6092 warn if prerequisites.maven is used for non-plugin projects (khmarbaise: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=4604c49ee442fef48c0d3efe35fb85d2f0784131 ) (edit) maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            People

            • Assignee:
              khmarbaise Karl Heinz Marbaise
              Reporter:
              hboutemy Hervé Boutemy
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development