Author: schulte Date: Fri Feb 5 21:55:25 2016 New Revision: 1728736 URL: http://svn.apache.org/viewvc?rev=1728736&view=rev Log: [MPLUGIN-296] java.lang.ClassNotFoundException: org.apache.maven.plugins.annotations.Execute
Modified: maven/plugin-tools/trunk/maven-plugin-plugin/pom.xml Modified: maven/plugin-tools/trunk/maven-plugin-plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/pom.xml?rev=1728736&r1=1728735&r2=1728736&view=diff ============================================================================== --- maven/plugin-tools/trunk/maven-plugin-plugin/pom.xml (original) +++ maven/plugin-tools/trunk/maven-plugin-plugin/pom.xml Fri Feb 5 21:55:25 2016 @@ -74,7 +74,10 @@ <artifactId>maven-plugin-annotations</artifactId> <!-- from stricter view, should use ${mavenPluginToolsVersion} but this is causing problems with release plugin --> <!--version>${mavenPluginToolsVersion}</version--> - <scope>provided</scope> + <!-- + Do not use 'provided' scope here. The annotations are a transitive dependency of + 'maven-plugin-tools-annotations' which fails to load at runtime when not available. + --> </dependency> <!-- doxia -->