The patch attached to GEOT-1812 fixes this build failure (for 2.4.x):

http://jira.codehaus.org/browse/GEOT-1812

Ben Caradoc-Davies wrote:
> I had the same failure with 2.4.x (fresh checkout of r30260), and 
> Adrian's solution fixed it (commenting out the javadoc module in 
> build/maven/pom.xml). I am building with jdk1.5.0_14 (Win32, maven 2.0.5).
> 
> Adrian Custer wrote:
>> Hey all,
>>
>> I had the same test failure last night. Commenting out the javadoc
>> target in the build/maven/pom.xml leads to a working build on both
>> trunk and 2.4.x. I'll ask martin today if this is a java 6 issue or
>> not.
>>
>> --adrian
>>
>> On Wed, May 14, 2008 at 4:20 AM, Jody Garnett <[EMAIL PROTECTED]> wrote:
>>> Jody Garnett wrote:
>>>  > So I was able to build without tests, now I am heading home. Starting a
>>>  > build with tests to see how that works out .... don't suppose the build
>>>  > boxes want to make the switch?
>>>  >
>>>  Build failed for me with tests...using JRE 1.5.-)13 and maven 2.0.8....
>>>  > [INFO] Surefire report directory:
>>>  > C:\java\geotools\trunk\build\maven\javadoc\target\surefire-reports
>>>  >
>>>  > -------------------------------------------------------
>>>  >  T E S T S
>>>  > -------------------------------------------------------
>>>  > Running org.geotools.maven.taglet.SourceTest
>>>  > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.125
>>>  > sec <<< FAILURE!
>>>  >
>>>  > Results :
>>>  >
>>>  > Failed tests:
>>>  >   testCurrentTag(org.geotools.maven.taglet.SourceTest)
>>>  >
>>>  > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
>>>  Details as follow:
>>>  > C:\java\geotools\trunk\build\maven\javadoc\target\surefire-reports>more
>>>  > *.txt
>>>  > 
>>> -------------------------------------------------------------------------------
>>>  > Test set: org.geotools.maven.taglet.SourceTest
>>>  > 
>>> -------------------------------------------------------------------------------
>>>  > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.125
>>>  > sec <<< FAILURE!
>>>  > testCurrentTag(org.geotools.maven.taglet.SourceTest)  Time elapsed:
>>>  > 0.031 sec  <<< FAILURE!
>>>  > junit.framework.AssertionFailedError: null
>>>  >         at junit.framework.Assert.fail(Assert.java:47)
>>>  >         at junit.framework.Assert.assertTrue(Assert.java:20)
>>>  >         at junit.framework.Assert.assertTrue(Assert.java:27)
>>>  >         at
>>>  > org.geotools.maven.taglet.SourceTest.testCurrentTag(SourceTest.java:70)
>>>  >         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 junit.framework.TestCase.runTest(TestCase.java:168)
>>>  >         at junit.framework.TestCase.runBare(TestCase.java:134)
>>>  >         at junit.framework.TestResult$1.protect(TestResult.java:110)
>>>  >         at junit.framework.TestResult.runProtected(TestResult.java:128)
>>>  >         at junit.framework.TestResult.run(TestResult.java:113)
>>>  >         at junit.framework.TestCase.run(TestCase.java:124)
>>>  >         at junit.framework.TestSuite.runTest(TestSuite.java:232)
>>>  >         at junit.framework.TestSuite.run(TestSuite.java:227)
>>>  >         at
>>>  > 
>>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
>>>  >         at
>>>  > 
>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>>  >         at
>>>  > 
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140
>>>  > )
>>>  >         at
>>>  > 
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>>  >         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>>  >         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:334)
>>>  >         at
>>>  > 
>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
>>>
>>>
>>>
>>>
>>>  -------------------------------------------------------------------------
>>>  This SF.net email is sponsored by: Microsoft
>>>  Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>  _______________________________________________
>>>  Geotools-devel mailing list
>>>  [email protected]
>>>  https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft 
>> Defy all challenges. Microsoft(R) Visual Studio 2008. 
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Geotools-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
> 
> 


-- 
Ben Caradoc-Davies <[EMAIL PROTECTED]>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to