archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Banck, Arent-Jan" <ajba...@informatica.com>
Subject RE: Archiva build failure on archiva-dependency-graph
Date Thu, 04 Oct 2007 22:06:57 GMT
Strange, java_home was 1.5, and no 1.6 in the path (javac -version said
javac 1.5.0_11) but after de-installing JDK6 the test succeeded.

I have one more failing test in
RepositoryContentConsumerUtilTest(Windows XP/JDK 1.5.0_11):

------------------------------------------------------------------------
-------
Test set:
org.apache.maven.archiva.repository.scanner.RepositoryContentConsumerUti
lTest
------------------------------------------------------------------------
-------
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.281
sec <<< FAILURE!
testExecution(org.apache.maven.archiva.repository.scanner.RepositoryCont
entConsumerUtilTest)  Time elapsed: 0.031 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 
  Expectation failure on verify:
    processFile("path/to/test-file.txt"): expected: 1, actual: 0
	at org.easymock.MockControl.verify(MockControl.java:205)
	at
org.apache.maven.archiva.repository.scanner.RepositoryContentConsumerUti
lTest.testExecution(RepositoryContentConsumerUtilTest.java:140)



-----Original Message-----
From: Joakim Erdfelt [mailto:joakim@erdfelt.com] 
Sent: Thursday, October 04, 2007 5:14 PM
To: archiva-users@maven.apache.org
Subject: Re: Archiva build failure on archiva-dependency-graph

Looks like you were compiling with JDK6.  Is that true?

We have an open issue with regards to JDK 6 - 
http://jira.codehaus.org/browse/MRM-514

- Joakim

Banck, Arent-Jan wrote:
> Hi,
> I am trying to build maven from subversion using Maven 2.0.7, but
build
> halts on archiva-dependency-graph tests.
> Is this a known problem / how can it be fixed?
>  
> Thanks,
> Arent-Jan
>  
>  
>  
> [INFO] Scanning for projects...
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] Building Archiva Base :: Dependency Graph
> [INFO]    task-segment: [clean, install]
> [INFO]
>
------------------------------------------------------------------------
> ----
> [INFO] [clean:clean]
> [INFO] Deleting directory
> C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target
> [INFO] Deleting directory
>
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\cla
> sses
> [INFO] Deleting directory
>
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\tes
> t-classes
> [INFO] Deleting directory
>
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\sit
> e
> [INFO] [plexus:descriptor {execution: generate}]
> [INFO] [plexus:descriptor {execution: descriptor}]
> [INFO] Setting property: classpath.resource.loader.class =>
> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 53 source files to
>
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\cla
> sses
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 27 source files to
>
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\tes
> t-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
>
C:\archiva\archiva-site\archiva-base\archiva-dependency-graph\target\sur
> efire-reports
>  
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running
>
org.apache.maven.archiva.dependency.graph.DepManDeepVersionDependencyGra
> phTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.203
> sec
> Running
>
org.apache.maven.archiva.dependency.graph.ArchivaWebappDependencyGraphTe
> st
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.938
> sec
> Running
>
org.apache.maven.archiva.dependency.graph.MavenProjectInfoReportsPluginD
> ependencyGraphTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.187
> sec <<< FAILURE!
> Running
>
org.apache.maven.archiva.dependency.graph.walk.DependencyGraphWalkerTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
> sec
> Running
>
org.apache.maven.archiva.dependency.graph.tasks.DependencyManagementStac
> kTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running
>
org.apache.maven.archiva.dependency.graph.ArchivaXmlToolsDependencyGraph
> Test
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078
> sec
> Running
>
org.apache.maven.archiva.dependency.graph.ArchivaCommonDependencyGraphTe
> st
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047
> sec
> Running
>
org.apache.maven.archiva.dependency.graph.WagonManagerDependencyGraphTes
> t
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031
> sec
> Running
> org.apache.maven.archiva.dependency.graph.SimpleDependencyGraphTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
> sec
> Running
>
org.apache.maven.archiva.dependency.graph.ContinuumStoreDependencyGraphT
> est
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079
> sec
>  
> Results :
> Tests run: 15, Failures: 1, Errors: 0, Skipped: 0
>  
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
>
------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO]
>
------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Thu Oct 04 16:13:13 CEST 2007
> [INFO] Final Memory: 14M/28M
> [INFO]
>
------------------------------------------------------------------------
>
>   


-- 
- Joakim Erdfelt
  joakim@erdfelt.com
  Open Source Software (OSS) Developer


Mime
View raw message