Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-102

The 2.4 Release Breaks Previously-Working Builds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.4.1
    • Plugin Plugin
    • None
    • Maven version: 2.0.8
      Java version: 1.5.0_14
      OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"

    Description

      We have an archetype contained within our project. Today, when I tried to run our build, I got the following error:

      [INFO] [plugin:descriptor]
      [INFO] Using 2 extractors.
      [INFO] Applying extractor for language: java
      [INFO] Extractor for language: java found 0 mojo descriptors.
      [INFO] Applying extractor for language: bsh
      [INFO] Extractor for language: bsh found 0 mojo descriptors.
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error extracting plugin descriptor: 'No mojo descriptors found in plugin.'

      However, if I add this to my pom.xml file for that module:

      <pluginManagement>
      <plugins>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-plugin-plugin</artifactId>
      <version>2.3</version>
      </plugin>
      </plugins>
      </pluginManagement>

      the build works just fine, as usual (understandable since the 2.4 release came out yesterday).

      Attachments

        1. archetype-test.zip
          5 kB
          James Carman
        2. debug.log
          41 kB
          James Carman

        Issue Links

          Activity

            People

              brianf Brian E Fox
              jwcarman James Carman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: