Hi All,

First, thanks for a terrific product. Now to my concerns. I have found some issues while upgrading from rc1 to rc2 that I thought you might be interrested in.

Here's what I did when upgrading:
1) Completely removed the rc1 (including ~/.maven directory)
2) Installed the rc2 (JAVA_HOME set to JDK 1.3.1_09)
3) Created ${user.home}/build.properties with the entry
maven.repo.remote = http://www.ibiblio.org/maven/,http://maven-plugins.sf.net/maven
4) Installed the JAVANCSS plugin using the command
maven -DartifactId=maven-javancss-plugin -DgroupId=maven-plugins -Dversion=1.2 plugin:install


My project maven.xml contains the following:
 <postGoal name="xdoc:register-reports">
   <attainGoal name="maven-javancss-plugin:register"/>
   <attainGoal name="maven-clover-plugin:register"/>
   <attainGoal name="maven-pmd-plugin:register"/>
   <attainGoal name="maven-simian-plugin:register"/>

   <attainGoal name="maven-developer-activity-plugin:deregister"/>
   <attainGoal name="maven-changelog-plugin:deregister"/>
   <attainGoal name="maven-file-activity-plugin:deregister"/>
 </postGoal>

So far so good. No to my problems

1) JAVANCSS fails

---- BEGIN SNIPPET ---

bash-2.03$ maven javancss
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2

classloader 'maven.root' not found. Adding dependencies to the project classloader instead
classloader 'maven.root' not found. Adding dependencies to the project classloader instead
classloader 'maven.root' not found. Adding dependencies to the project classloader instead
build:start:


javancss:
   [echo] Generating JavaNCSS report for site generation
javancss:do-xml:

javancss:do-html:
[java]
[java] (Location of error unknown)XSLT Error (javax.xml.transform.Transforme
rConfigurationException): javax.xml.transform.TransformerException: java.io.File
NotFoundException: /home/user/.maven/plugins/maven-javancss-plugin-1.2/plugin
-resources/javancss2html.xsl (No such file or directory)
[java] [ERROR] Java Result: -1
BUILD SUCCESSFUL
Total time: 18 seconds
Finished at: Mon Apr 19 11:05:01 CEST 2004


---- END SNIPPET ---

2) clover fails with jdk 1.3.1

---- BEGIN SNIPPET ---

test:test:
[junit] Running MyTest
[junit] Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/Node
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Class.java:115)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFormatter(FormatterElement.java:183)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndStoreFormatter(JUnitTestRunner.java:562)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:507)
[junit] [ERROR] TEST MyTest FAILED


---- END SNIPPET ---

If I set JAVA_HOME to JDK 1.4.2 clover works.


3) Site generation fails


Finally, apart from the errors above, site generation fails:

---- BEGIN SNIPPET ---
[echo] Generating /home/user/ft/target/docs/linkcheck.html from /home/ebp
rest/ft/target/linkcheck/docs/linkcheck.xml


BUILD FAILED
File...... file:/home/user/.maven/plugins/maven-xdoc-plugin-1.6/plugin.jelly
Element... j:include
Line...... 345
Column.... 54
null:-1:-1: <null> Could not parse Jelly script
Total time: 8 minutes 1 seconds
Finished at: Mon Apr 19 11:24:28 CEST 2004

---- END SNIPPET ---



These three errors have so far effectively stopped the migration from rc1 to rc2. If you have a solution to any of the problems, please let me know. I haven't found any of them in jira.

Maybe somone with jira privileges could try to reproduce these errors and if successful raise an issue in jira?

Cheers,
Olle

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to