Very strange - the plugin API provides that dependency. However, you shouldn't have a need for any of the Jelly, Jexl or Ant dependencies above. If the code uses them in any way, it needs to be removed.
Cheers, Brett On 7/30/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > I've figured out that the lib that causes the trouble is " > commons-jelly-tags-jsl"... > But I just can't see why. > > Best Regards / Cordialement, > Fabrice BELLINGARD > DINQ/DSIN/INSI/EATE/IDVS/AIDV > (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] > > ----- Réacheminé par FABRICE BELLINGARD - E222731/users/PSA le 29/07/2005 > 16:50 ----- > > FABRICE > BELLINGARD - > E222731/users/PSA Pour > Maven Users List > 29/07/2005 15:30 <[email protected]> > cc > > Objet > Weird dependency behaviour... > > > > > > > > > > Hi Maveners, > > I observe a strange behaviour when building the plugin I'm developing. Here > are the dependencies for which the build is OK : > > <dependency> > <groupId>org.apache.maven.reporting</groupId> > <artifactId>maven-reporting-api</artifactId> > <version>2.0-alpha-3</version> > </dependency> > <dependency> > <groupId>org.apache.maven</groupId> > <artifactId>maven-plugin-api</artifactId> > <version>2.0-alpha-3</version> > </dependency> > <dependency> > <groupId>oro</groupId> > <artifactId>oro</artifactId> > <version>2.0.7</version> > </dependency> > <dependency> > <groupId>commons-lang</groupId> > <artifactId>commons-lang</artifactId> > <version>2.0</version> > </dependency> > <dependency> > <groupId>commons-jelly</groupId> > <artifactId>commons-jelly</artifactId> > <version>1.0-beta-4</version> > </dependency> > <dependency> > <groupId>ant</groupId> > <artifactId>ant</artifactId> > <version>1.6.5</version> > </dependency> > <dependency> > <groupId>dom4j</groupId> > <artifactId>dom4j</artifactId> > <version>1.4</version> > </dependency> > > The plugin is compiled and installed, but can't run because it requires > other lib at runtime. So I add the following dependencies to make it work: > > <dependency> > <groupId>commons-beanutils</groupId> > <artifactId>commons-beanutils</artifactId> > <version>1.7.0</version> > <scope>runtime</scope> > </dependency> > <dependency> > <groupId>commons-jexl</groupId> > <artifactId>commons-jexl</artifactId> > <version>1.0</version> > <scope>runtime</scope> > </dependency> > <dependency> > <groupId>commons-jelly</groupId> > <artifactId>commons-jelly-tags-jsl</artifactId> > <version>1.0</version> > <scope>runtime</scope> > </dependency> > <dependency> > <groupId>commons-jelly</groupId> > <artifactId>commons-jelly-tags-xml</artifactId> > <version>1.1</version> > <scope>runtime</scope> > </dependency> > > I build again (the Java sources are not compiled this time because none has > been changed): the plugin is installed and runs perfectly. > > However, if I clean my project (i.e. the generated classes are deleted), > and build again, then I get the following stacktrace : > > > Compiling 15 source files to > C:\fabM2\workspace\maven-jxr-plugin\target\classes > [INFO] > ------------------------------------------------------------------------- > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------- > [INFO] Reason: Compilation failure > [INFO] > ------------------------------------------------------------------------- > [INFO] no more tokens - could not parse error message: > C:\fabM2\workspace\maven- > jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\JXR.java:26: package > org.ap > ache.maven.plugin.logging does not exist > import org.apache.maven.plugin.logging.Log; > ^ > > C:\fabM2\workspace\maven-jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\JX > R.java:[37,12] cannot resolve symbol > symbol : class Log > location: class org.apache.maven.plugin.jxr.JXR > no more tokens - could not parse error message: > C:\fabM2\workspace\maven-jxr-plu > gin\src\main\java\org\apache\maven\plugin\jxr\pacman\PackageManager.java:25: > pac > kage org.apache.maven.plugin.logging does not exist > import org.apache.maven.plugin.logging.Log; > ^ > > C:\fabM2\workspace\maven-jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\pa > cman\PackageManager.java:[35,12] cannot resolve symbol > symbol : class Log > location: class org.apache.maven.plugin.jxr.pacman.PackageManager > C:\fabM2\workspace\maven-jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\pa > cman\PackageManager.java:[53,26] cannot resolve symbol > symbol : class Log > location: class org.apache.maven.plugin.jxr.pacman.PackageManager > C:\fabM2\workspace\maven-jxr-plugin\src\main\java\org\apache\maven\plugin\jxr\JX > R.java:[87,78] cannot resolve symbol > symbol : class Log > location: class org.apache.maven.plugin.jxr.JXR > > > The package "org.apache.maven.plugin.logging" seems to be missing this > time! How come? > I don't see where the problem comes from, as I only added dependencies for > runtime, and as those dependencies are not linked to other maven libs... > > Any idea where this problem might come from? > > Thanks! > > Best Regards / Cordialement, > Fabrice BELLINGARD > DINQ/DSIN/INSI/EATE/IDVS/AIDV > (+33) (01 61) 45 15 91 - [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]
