[ http://jira.codehaus.org/browse/MPLUGIN-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox closed MPLUGIN-102. ----------------------------- Resolution: Fixed We're restoring the old functionality for one release with a huge warning: {noformat} [INFO] Extractor for language: bsh found 0 mojo descriptors. [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] ******************************************************* [WARNING] Deprecation Alert: [WARNING] No mojo descriptors were found in this project, which has a packaging type of maven-plugin. [WARNING] In future versions of the plugin tools, this will fail the build. [WARNING] If this project is an archetype, change the packaging type from maven-plugin to maven-archetype. [WARNING] ******************************************************** [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] [WARNING] {noformat} > The 2.4 Release Breaks Previously-Working Builds > ------------------------------------------------ > > Key: MPLUGIN-102 > URL: http://jira.codehaus.org/browse/MPLUGIN-102 > Project: Maven 2.x Plugin Tools > Issue Type: Bug > Components: Plugin Plugin > Affects Versions: 2.4 > Environment: Maven version: 2.0.8 > Java version: 1.5.0_14 > OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows" > Reporter: James Carman > Assignee: Brian Fox > Fix For: 2.4.1 > > Attachments: archetype-test.zip, debug.log > > > 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). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira