Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 3.0.0
    • Component/s: Generator
    • Labels:
      None

      Description

      When the goals of the generate-goals are executed, the invocationResult isn't checked, which means that failing builds are undetected.

        Activity

        Hide
        rfscholte Robert Scholte added a comment -
        Show
        rfscholte Robert Scholte added a comment - Fixed in 2e5611a2d4d99eddee096b43b45c9b3e252dee9e
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build maven-archetype-m3 #257 (See https://builds.apache.org/job/maven-archetype-m3/257/)
        ARCHETYPE-517 Maven doesn't fail if invocation goals fail (rfscholte: rev 2e5611a2d4d99eddee096b43b45c9b3e252dee9e)

        • (add) maven-archetype-plugin/src/it/ARCHETYPE-517_failing-goals/test.properties
        • (edit) maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java
        • (add) maven-archetype-plugin/src/it/ARCHETYPE-517_failing-goals/setup.groovy
        • (add) maven-archetype-plugin/src/it/ARCHETYPE-517_failing-goals/verify.groovy
        • (add) maven-archetype-plugin/src/it/ARCHETYPE-517_failing-goals/invoker.properties
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-archetype-m3 #257 (See https://builds.apache.org/job/maven-archetype-m3/257/ ) ARCHETYPE-517 Maven doesn't fail if invocation goals fail (rfscholte: rev 2e5611a2d4d99eddee096b43b45c9b3e252dee9e) (add) maven-archetype-plugin/src/it/ ARCHETYPE-517 _failing-goals/test.properties (edit) maven-archetype-plugin/src/main/java/org/apache/maven/archetype/mojos/CreateProjectFromArchetypeMojo.java (add) maven-archetype-plugin/src/it/ ARCHETYPE-517 _failing-goals/setup.groovy (add) maven-archetype-plugin/src/it/ ARCHETYPE-517 _failing-goals/verify.groovy (add) maven-archetype-plugin/src/it/ ARCHETYPE-517 _failing-goals/invoker.properties

          People

          • Assignee:
            rfscholte Robert Scholte
            Reporter:
            rfscholte Robert Scholte
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development