Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 21617 invoked from network); 2 Sep 2004 23:22:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Sep 2004 23:22:09 -0000 Received: (qmail 23475 invoked by uid 500); 2 Sep 2004 23:22:08 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 23452 invoked by uid 500); 2 Sep 2004 23:22:07 -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 23439 invoked by uid 99); 2 Sep 2004 23:22:07 -0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=DATE_IN_FUTURE_06_12,FORGED_RCVD_HELO,INVALID_DATE,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [203.12.160.103] (HELO mail.tpgi.com.au) (203.12.160.103) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Sep 2004 16:22:04 -0700 Received: from tigan.tpg.com.au (tigan.tpgi.com.au [203.12.160.51]) by mail.tpgi.com.au (8.12.10/8.12.10) with ESMTP id i82NLviP029517 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 3 Sep 2004 09:21:58 +1000 Received: from tigan.tpg.com.au (localhost.localdomain [127.0.0.1]) by tigan.tpg.com.au (8.12.8/8.12.8) with ESMTP id i82NLvaN028316; Fri, 3 Sep 2004 09:21:57 +1000 Received: (from apache@localhost) by tigan.tpg.com.au (8.12.8/8.12.8/Submit) id i82NLulE028312; Fri, 3 Sep 2004 09:21:56 +1000 Received: from 203.26.177.2 ( [203.26.177.2]) as user blporter by postoffice.tpg.com.au with HTTP; Fri, 3 Sep 2004 08:51:56 +091800 Message-ID: <1094167316.4137ab14b98b7@postoffice.tpg.com.au> Date: Fri, 3 Sep 2004 08:51:56 +091800 From: Brett Porter To: Maven Developers List , Arnaud HERITIER Subject: Re: cvs commit: maven-plugins maven.xml 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> In-Reply-To: <262c6c68040902091271b27cfa@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-ISP: TPG Internet Australia http://www.tpg.com.au/ X-TPG-Antivirus: Passed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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