Does it work with the Sun JDK? On Mon, May 11, 2009 at 12:11 PM, Mohanraj Loganathan <mohanra...@gmail.com>wrote:
> Hello > > I was trying to build Maven source (apache-maven-2.1.0-M1-src.zip) with > Maven 1.0.10 Maven installed in the machine. > > With Harmony Development Kit, building is failed with the following error. > Please let me know whether i can build Maven using Harmony Development Kit > (HDK) > > *HDK Version: * > Apache Harmony Launcher : (c) Copyright 1991, 2008 The Apache Software > Foundation or its licensors, as applicable. > java version "1.5.0" > pre-alpha : not complete or compatible > svn = r713673, (Nov 13 2008), Windows/ia32/msvc 1310, release build > http://harmony.apache.org > > *Exception/Error:* > Failed tests: > > > testCompatibleRecommendedVersionWithChildren(org.apache.maven.artifact.resolver.DefaultArtifactCollectorTest) > > *Failure Exception:* > > testCompatibleRecommendedVersionWithChildren(org.apache.maven.artifact.resolver.DefaultArtifactCollectorTest) > Time elapsed: 0.047 sec <<< FAILURE! > junit.framework.AssertionFailedError: Check artifact list > expected:<[test:a:jar:1.0:compile, test:b:jar:1.0:compile, > test:e:jar:1.0:compile, test:c:jar:2.5:compile, test:d:jar:1.0:compile]> > but > was:<[test:a:jar:1.0:compile, test:b:jar:1.0:compile, > test:c:jar:2.5:compile, test:d:jar:1.1:compile, test:e:jar:1.0:compile]> > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.failNotEquals(Assert.java:282) > at junit.framework.Assert.assertEquals(Assert.java:64) > at > > org.apache.maven.artifact.resolver.DefaultArtifactCollectorTest.testCompatibleRecommendedVersionWithChildren(DefaultArtifactCollectorTest.java:366) > at > > org.apache.maven.artifact.resolver.DefaultArtifactCollectorTest.testCompatibleRecommendedVersionWithChildren(DefaultArtifactCollectorTest.java:366) > at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java) > at java.lang.reflect.Method.invoke(Method.java:317) > at junit.framework.TestCase.runTest(TestCase.java:154) > 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) > > > *Maven used to build:* > Maven version: 2.0.10 > Java version: 1.5.0 > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > > Any suggestions? > -- > Mohan >