[ https://jira.codehaus.org/browse/MSITE-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=309734#comment-309734 ]
Herve Boutemy commented on MSITE-655: ------------------------------------- how do you conclude that the wrong plugin version is used? I tried locally and get no problem: {noformat}$ mvn site [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building test 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-site-plugin:3.1:site (default-site) @ artifact --- [INFO] configuring report plugin org.apache.maven.plugins:maven-javadoc-plugin:2.8.1 [INFO] [INFO] >>> maven-javadoc-plugin:2.8.1:test-aggregate (report:test-aggregate) @ artifact >>> {noformat} can you attach a log file that shows the issue? > Finishing finding version at build.plugins. > ------------------------------------------- > > Key: MSITE-655 > URL: https://jira.codehaus.org/browse/MSITE-655 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Affects Versions: 3.1 > Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 17:44:56+0900) > Maven home: C:\Programs\apache-maven-3.0.4 > Java version: 1.7.0_07, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.7.0_07\jre > Default locale: en_US, platform encoding: MS949 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" > Reporter: Jin Kwon > Priority: Minor > > With order/strategy explaing on > http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Version_Resolution > , > maven-site-plugin stops searching the version on build.plugins even if there > is no version specified. > With following pom, > {code:xml} > <pluginManagement> > <plugins> > <plugin> > <artifactId>maven-javadoc-plugin</artifactId> > <version>2.8.1</version> > </plugin> > > </plugins> > > </pluginManagement> > > <plugins> > > <plugin> > > <artifactId>maven-javadoc-plugin</artifactId> > </plugin> > <plugin> > <artifactId>maven-site-plugin</artifactId> > > <configuration> > <reportPlugins> > <plugin> > <artifactId>maven-javadoc-plugin</artifactId> > </plugin> > </reportPlugins> > </configuration> > <plugin> > </plugins> > {code} > maven-site-plugin seems work for maven-javadoc-plugin:2.7 not 2.8.1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira