Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 1783 invoked from network); 3 Sep 2004 06:39:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Sep 2004 06:39:05 -0000 Received: (qmail 24979 invoked by uid 500); 3 Sep 2004 06:39:02 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 24943 invoked by uid 500); 3 Sep 2004 06:39:02 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 24929 invoked by uid 99); 3 Sep 2004 06:39:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of dion.gillard@gmail.com designates 64.233.170.205 as permitted sender) Received: from [64.233.170.205] (HELO mproxy.gmail.com) (64.233.170.205) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Sep 2004 23:38:58 -0700 Received: by mproxy.gmail.com with SMTP id 78so332101rnk for ; Thu, 02 Sep 2004 23:38:55 -0700 (PDT) Received: by 10.38.11.79 with SMTP id 79mr360861rnk; Thu, 02 Sep 2004 23:38:55 -0700 (PDT) Received: by 10.38.78.64 with HTTP; Thu, 2 Sep 2004 23:38:55 -0700 (PDT) Message-ID: Date: Fri, 3 Sep 2004 16:38:55 +1000 From: Dion Gillard Reply-To: Dion Gillard To: Maven Developers List , Arnaud HERITIER Subject: Re: cvs commit: maven-plugins maven.xml In-Reply-To: <262c6c68040902233675cee304@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <00a201c490e7$4de67310$398c440a@cgeyfr.cgey.fr> <20040902125751.27619.qmail@hm101.locaweb.com.br> <262c6c6804090208351194ddb0@mail.gmail.com> <262c6c68040902090175b1984f@mail.gmail.com> <262c6c6804090209062276e4d8@mail.gmail.com> <262c6c68040902091271b27cfa@mail.gmail.com> <1094167316.4137ab14b98b7@postoffice.tpg.com.au> <262c6c68040902233675cee304@mail.gmail.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N There looks like an easy fix for MAVEN-1434. On Fri, 3 Sep 2004 08:36:08 +0200, Arnaud HERITIER wrote: > Ok, that's done. > It's MAVEN-1434. > > I'll correct the plugin to make them work with the 1.0 branch. > I think that I use some Jelly functions bugged in maven 1.0 but not in 1.1. > > Arnaud > > > > On Fri, 3 Sep 2004 08:51:56 +091800, Brett Porter wrote: > > Can you file a bug in JIRA gainst 1.1? > > > > I wouldn't recommend testing your plugins against 1.1/HEAD at the moment. Test > > against 1.0 release or 1.0.1 (the MAVEN-1_0-BRANCH). > > > > Once they work there, then you can test them against HEAD. > > > > - Brett > > > > > > > > Quoting Arnaud HERITIER : > > > > > I have the same error if I try to build maven (ant -f > > > build-bootstrap.xml) with the JDK 1.3 > > > java version "1.3.1_11" > > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_11-b02) > > > Java HotSpot(TM) Client VM (build 1.3.1_11-b02, mixed mode) > > > > > > > > > > > > On Thu, 2 Sep 2004 18:06:19 +0200, Arnaud HERITIER > > > wrote: > > > > But I have a problem if I launch plugin:test with a jdk 1.3 : > > > > > > > > Now loading uncached plugins > > > > Finished initializing Plugins! > > > > Using userBuildPropertiesFile: C:\Documents and > > > > Settings\aheritier\build.properties > > > > Using projectPropertiesFile: > > > > C:\Work\Opensources\maven-plugins\javadoc\project.properties > > > > Using projectBuildPropertiesFile: > > > > C:\Work\Opensources\maven-plugins\javadoc\build.properties > > > > Using userBuildPropertiesFile: C:\Documents and > > > > Settings\aheritier\build.properties > > > > Using projectPropertiesFile: > > > > C:\Work\Opensources\maven-plugins\plugin-parent\project.properties > > > > Using projectBuildPropertiesFile: > > > > C:\Work\Opensources\maven-plugins\plugin-parent\build.properties > > > > Unexpected error evaluating expression > > > > java.lang.ClassCastException: > > > > > > > > > org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal > > > > at > > > org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:819) > > > > at > > > org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:239) > > > > at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143) > > > > at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122) > > > > at > > > org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:235) > > > > at org.apache.maven.MavenSession.initialize(MavenSession.java:175) > > > > at org.apache.maven.cli.App.doMain(App.java:473) > > > > at org.apache.maven.cli.App.main(App.java:1215) > > > > at java.lang.reflect.Method.invoke(Native Method) > > > > at com.werken.forehead.Forehead.run(Forehead.java:551) > > > > at com.werken.forehead.Forehead.main(Forehead.java:581) > > > > Unexpected error evaluating expression > > > > java.lang.ClassCastException: > > > > > > > > > org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal > > > > at > > > org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:819) > > > > at > > > org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:239) > > > > at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143) > > > > at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122) > > > > at > > > org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:235) > > > > at org.apache.maven.MavenSession.initialize(MavenSession.java:175) > > > > at org.apache.maven.cli.App.doMain(App.java:473) > > > > at org.apache.maven.cli.App.main(App.java:1215) > > > > at java.lang.reflect.Method.invoke(Native Method) > > > > at com.werken.forehead.Forehead.run(Forehead.java:551) > > > > at com.werken.forehead.Forehead.main(Forehead.java:581) > > > > Unexpected error evaluating expression > > > > java.lang.ClassCastException: > > > > > > > > > org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal > > > > at > > > org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:819) > > > > at > > > org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:239) > > > > at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143) > > > > at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122) > > > > at > > > org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:235) > > > > at org.apache.maven.MavenSession.initialize(MavenSession.java:175) > > > > at org.apache.maven.cli.App.doMain(App.java:473) > > > > at org.apache.maven.cli.App.main(App.java:1215) > > > > at java.lang.reflect.Method.invoke(Native Method) > > > > at com.werken.forehead.Forehead.run(Forehead.java:551) > > > > at com.werken.forehead.Forehead.main(Forehead.java:581) > > > > Verifying dependencies for maven:maven-javadoc-plugin > > > > [DEBUG] Adding reference: maven.dependency.classpath -> > > > > C:\Work\Config\maven\repository\commons-lang\jars\commons-lang-2.0.jar > > > > running script null > > > > File...... null > > > > Element... j:if > > > > Line...... 33 > > > > Column.... 34 > > > > java.lang.NoSuchMethodError > > > > > > > > Is there a known issue with Jelly and jdk 1.3 ? > > > > > > > > Arnaud > > > > > > > > > > > > > > > > > > > > On Thu, 2 Sep 2004 18:01:09 +0200, Arnaud HERITIER > > > wrote: > > > > > I found what happens and why I have a difference between home and work. > > > > > At work I didn't update maven core from several days. > > > > > I did it and from now javadoc tests work. > > > > > These dependencies were updated in maven core : > > > > > - commons-jelly-20040821.000223.jar > > > > > - commons-jexl-20040821.000101.jar > > > > > > > > > > If you can try to update your core. > > > > > > > > > > Arnaud > > > > > > > > > > > > > > > > > > > > On Thu, 2 Sep 2004 17:35:21 +0200, Arnaud HERITIER > > > wrote: > > > > > > I just reproduced it at work. > > > > > > The problem must be due to tests : > > > > > > > > > > > > and > > > > > > > > > > > > > > > > > > I modified it to recently but it worked :-( > > > > > > > > > > > > I'll do some tests to see what happens ! > > > > > > > > > > > > Arnaud. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Thu, 2 Sep 2004 09:57:51 -0300, Felipe Leme > > > wrote: > > > > > > > On Thu, 2 Sep 2004 14:20:57 +0200, "Emmanuel Venisse" > > > wrote: > > > > > > > > > > > > > > > It fails too for me with jdk1.4. The problem is due to the copy tag > > > in > > > > > > > > javadoc:init because the project doen't have a source directory > > > definition > > > > > > > > in the project.xml (and source files) > > > > > > > > > > > > > > I think the plugin should handle this situation better, i.e., check > > > for the existence of such POM tag and fail with a proper message (rather than > > > propagate the issue to the ant call). > > > > > > > > > > > > > > I can work on that fix (and a new testcase) later at home. > > > > > > > > > > > > > > Felipe > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > > > > > > For additional commands, e-mail: dev-help@maven.apache.org > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > > For additional commands, e-mail: dev-help@maven.apache.org > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > > -- http://www.multitask.com.au/people/dion/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org