maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baptiste MATHUS ...@batmat.net>
Subject Re: [PLEASE TEST] Apache Maven 3.0-RC3
Date Mon, 04 Oct 2010 12:24:17 GMT
Hi,

I just tested maven3 on a project I hadn't tried before and notice a build
failure that doesn't happen with mvn2.2.1.
It seems to be related to XML parser problem&GWTTestCase.
I suspect it might be related to classpath ordering, though I remember this
order must be guaranteed since 2.0.9.

I'd like to use dependency:list to check ordering, but I remember (Arnaud's
tweet, I'd say) reading that the dependency plugin output is not reliable
yet with maven3 execution? Is it?

What are the possible ways to be able to debug it?

Cheers
PS :
The full stacktrace:
[ERROR] Failure while parsing XML
org.xml.sax.SAXNotRecognizedException:
http://apache.org/xml/features/nonvalidating/load-external-dtd
at
oracle.xml.jaxp.JXSAXParserFactory.setFeature(JXSAXParserFactory.java:128)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:320)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
at
com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:398)
at
com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:257)
at com.google.gwt.dev.cfg.ModuleDefLoader$2.load(ModuleDefLoader.java:187)
at
com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:283)
at
com.google.gwt.dev.cfg.ModuleDefLoader.createSyntheticModule(ModuleDefLoader.java:95)
at
com.google.gwt.junit.CompileStrategy.maybeCompileModuleImpl2(CompileStrategy.java:169)
at
com.google.gwt.junit.CompileStrategy.maybeCompileModuleImpl(CompileStrategy.java:116)
at
com.google.gwt.junit.SimpleCompileStrategy.maybeCompileModule(CompileStrategy.java:330)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1296)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1265)
at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:620)
at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:456)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:311)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.Surefire.run(Surefire.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1017)
   [ERROR] Unexpected error while processing XML

2010/10/2 Benjamin Bentmann <benjamin.bentmann@udo.edu>

> Robert Scholte wrote:
>
>      [INFO] --- maven-gpg-plugin:1.1:sign (sign-artifacts) @ mojo-parent
>> ---
>>     GPG Passphrase: *
>> gpg: can't open
>> `D:\java-workspace\helios\mojo-parent\target\mojo-parent-26-site.xml': No
>> such file or directory
>>     gpg: signing failed: file open error
>>
>
> This is neither a bug in Maven, the Release Plugin nor the GPG Plugin but
> the Site Plugin:
>
> http://jira.codehaus.org/browse/MSITE-508
>
>
> Benjamin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message