[EMAIL PROTECTED] wrote:
> I've successfully bootstrapped on jdk 1.3.1, 1.4.0, 1.4.1 and 1.4.1_01.
Bootstraping is not enough.
Maven was failing on me in funny was for a couple of days now, and
yesterday I tried to narrow down the problem. I made a fresh pull and
bootstraped Maven into a blank directory. Bootstrap went smoothly.
So far so good.
Then I went into my project directory and run maven jar:install.
It also went OK. Then I ran maven site:generate and ...
site:generate:
[ERROR] java.lang.reflect.InvocationTargetException
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[ERROR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ERROR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:324)
[ERROR] at com.werken.forehead.Forehead.run(Forehead.java:543)
[ERROR] at com.werken.forehead.Forehead.main(Forehead.java:573)
[ERROR] Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.SAXParserFactoryImpl not found
[ERROR] at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:93)
[ERROR] at
org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:193)
[ERROR] at
org.apache.maven.MavenUtils.getJellyProject(MavenUtils.java:205)
[ERROR] at
org.apache.maven.MavenUtils.getProject(MavenUtils.java:167)
[ERROR] at
org.apache.maven.MavenUtils.getProject(MavenUtils.java:141)
[ERROR] at
org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager.java:887)
[ERROR] at
org.apache.maven.plugin.PluginManager.prepForGoal(PluginManager.java:663)
[ERROR] at
org.apache.maven.jelly.tags.LazyAttainGoalTag.doTag(LazyAttainGoalTag.java:105)
[ERROR] at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:277)
[ERROR] at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:134)
[ERROR] at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:193)
[ERROR] at
org.apache.commons.jelly.tags.werkz.GoalTag$1.performAction(GoalTag.java:119)
[ERROR] at com.werken.werkz.Goal.fire(Goal.java:632)
[ERROR] at com.werken.werkz.Goal.attain(Goal.java:568)
[ERROR] at org.apache.maven.Maven.runGoals(Maven.java:467)
[ERROR] at org.apache.maven.Maven.attainGoals(Maven.java:381)
[ERROR] at org.apache.maven.cli.App.doMain(App.java:551)
[ERROR] at org.apache.maven.cli.App.main(App.java:1096)
[ERROR] ... 6 more
Looks like JDK 1.4 vs Xerces issue to me. I doublechecked that
xerces.jar is in $MAVEN_HOME/lib and in $MAVEN_HOME/lib/endorsed, it is
mentioned in forehead.conf, my $CLASSPATH is blank...
I haven't tested w/ JDK 1.3 yet because it fails to run on my personal
box due to glibc version mismatch (I'm using Debian Sid).
I did a bit more poking around to check what goals work and what fail
hoping that it would provide some clues.
Goals that work: jxr, tasklist:generate, ant, console, jar:install,
java:compile, pom:update, test (but I have 0 tests right now)
Goals that fail with SAXParser error: checkstyle, dist, javadoc,
pom:validate
Other bugs that showed up while testing:
changelog task fails with message
org.apache.maven.changelog.ChangeLog using ClassLoader: null
statcvs task fails with a trace:
[java] Exception in thread "main" java.util.zip.ZipException: Is a
directory
[java] at java.util.zip.ZipFile.open(Native Method)
[java] at java.util.zip.ZipFile.<init>(ZipFile.java:112)
[java] at java.util.jar.JarFile.<init>(JarFile.java:117)
[java] at java.util.jar.JarFile.<init>(JarFile.java:55)
[java] [ERROR] Java Result: 1
xdoc:generate-from-pom fails with message
[ERROR] Property 'templatePath' has no write method
I'm sure that some of this might be side effects of refactoring,
nonetheless they need trakcing down and fixing. I'd be happy to
help, ask your questions :) I'll show up in irc.werken.com later today.
Rafal
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>