than with what Maven version? In fact, in the past, I didn't declare plugin annotations as "provided" since I thought they were necessary at runtime, since they have CLASS RetentionPolicy. But later, marking the artifact as provided just worked, even if I didn't unserstand why: then we finally took the habit of marking the artifact as provided, to avoid download.
It's the first time I hear about this configuation not working: really don't know what is special in your environment. BTW, if somebody knows why annotations as provided works, I'm interested to hear :) Regards, Hervé Le mercredi 31 décembre 2014 11:13:18 Robert Scholte a écrit : > I've tried it with: > Java version: 1.6.0_25, vendor: Sun Microsystems Inc. > Java version: 1.7.0_55, vendor: Oracle Corporation > > in both cases the error output starts with: > package org.apache.maven.plugins.annotations does not exist > > thanks, > Robert > > Op Wed, 31 Dec 2014 00:38:50 +0100 schreef Hervé BOUTEMY > > <[email protected]>: > > uh, which JDK version? > > > > Regards, > > > > Hervé > > > > Le mardi 30 décembre 2014 22:40:17 Robert Scholte a écrit : > >> Hi, > >> > >> This commit gives me compilation errors, e.g. > >> [ERROR] > >> /E:/java-workspace/apache-maven-plugin-tools/plugin-tools/maven-plugin-pl > >> ugi > >> n/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java:[77,6] > >> E:\java-workspace\apache-maven-plugin-tools\plugin-tools\maven-plugin-pl > >> ugi n\src\main\java\org\apache\maven\plugin\plugin\PluginReport.java:77: > >> cannot > >> find symbol > >> [ERROR] symbol : class Parameter > >> [ERROR] location: class org.apache.maven.plugin.plugin.PluginReport > >> > >> By changing the dependency to runtime I would indeed expect this kind of > >> errors, since the code uses these classes. > >> However, Jenkins is quite happy for a long time. > >> > >> https://builds.apache.org/view/All/job/maven-plugin-tools/changes > >> > >> Anyone a clue what's happening here? > >> > >> thanks, > >> Robert > >> > >> Op Sun, 28 Dec 2014 18:41:43 +0100 schreef <[email protected]>: > >> > Author: hboutemy > >> > Date: Sun Dec 28 17:41:43 2014 > >> > New Revision: 1648234 > >> > > >> > URL: http://svn.apache.org/r1648234 > >> > Log: > >> > reordered default extractors > >> > > >> > 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=1648234&r1=1648233&r2=1648234&view=diff > >> > >> ========================================================================= > >> > >> > ===== --- maven/plugin-tools/trunk/maven-plugin-plugin/pom.xml > >> > >> (original) > >> > >> > +++ maven/plugin-tools/trunk/maven-plugin-plugin/pom.xml Sun Dec 28 > >> > 17:41:43 2014 > >> > @@ -49,11 +49,6 @@ > >> > > >> > </properties> > >> > > >> > <dependencies> > >> > > >> > - <dependency> > >> > - <groupId>org.apache.maven.plugin-tools</groupId> > >> > - <artifactId>maven-plugin-tools-annotations</artifactId> > >> > - </dependency> > >> > - > >> > > >> > <!-- doxia --> > >> > <dependency> > >> > > >> > <groupId>org.apache.maven.doxia</groupId> > >> > > >> > @@ -134,13 +129,18 @@ > >> > > >> > <version>3.0</version> > >> > > >> > </dependency> > >> > > >> > - <!-- Maven runtime --> > >> > + <!-- Maven runtime: extractors used by default --> > >> > > >> > <dependency> > >> > > >> > <groupId>org.apache.maven.plugin-tools</groupId> > >> > <artifactId>maven-plugin-tools-java</artifactId> > >> > <scope>runtime</scope> > >> > > >> > </dependency> > >> > <dependency> > >> > > >> > + <groupId>org.apache.maven.plugin-tools</groupId> > >> > + <artifactId>maven-plugin-tools-annotations</artifactId> > >> > + <scope>runtime</scope> > >> > + </dependency> > >> > + <dependency> > >> > > >> > <groupId>org.apache.maven.plugin-tools</groupId> > >> > <artifactId>maven-plugin-tools-beanshell</artifactId> > >> > <scope>runtime</scope> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
