avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Re: Build error....
Date Wed, 10 Dec 2003 10:56:47 GMT
On Wednesday 10 December 2003 18:33, Stephen McConnell wrote:
> Niclas Hedhman wrote:
> >Stephen,
> >
> >this one I can't figure out...
>
> You have an old version of the util defaults jar - I suggest that you
> delete the following maven repository directories:
>
>    avalon-util
>    avalon-repository
>    merlin
>
> I've just uploaded clean builds of all of the above.

Did the delete, then a complete rebuild of everything...


Same problem...

     [exec] test:compile:

     [exec] test:test:
     [exec]     [junit] dir attribute ignored if running in the same VM
     [exec]     [junit] Running 
org.apache.avalon.merlin.unit.test.MerlinTestCaseTest
     [exec] ---- exception report 
----------------------------------------------------------
     [exec] Exception: org.apache.avalon.repository.RepositoryException
     [exec] Message: Unable to establish a factory for the supplied artifact:
     [exec]  artifact: [jar: avalon-repository:avalon-repository-impl;1.2-dev]
     [exec]  build: 20031210.075147
     [exec]  factory: org.apache.avalon.repository.impl.DefaultFactory
     [exec]  source: file:/java/maven/lib/ant-1.5.3-1.jar
     [exec]  cache: /java/maven/repository
     [exec] ---- cause 
---------------------------------------------------------------------
     [exec] Exception: java.lang.NoClassDefFoundError
     [exec] Message: org/apache/avalon/defaults/Defaults
     [exec] ---- stack trace 
---------------------------------------------------------------
     [exec] java.lang.NoClassDefFoundError: 
org/apache/avalon/defaults/Defaults
     [exec] BUILD FAILED
     [exec] File...... file:/home/niclas/dev/opensource/avalon/merlin/
     [exec] Element... maven:reactor
     [exec] Line...... 81
     [exec] Column.... 32
     [exec] java.lang.Class.getDeclaredConstructors0(Native Method)
     [exec] java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
     [exec] Unable to obtain goal [test:test] -- 
file:/home/niclas/.maven/plugins/maven-test-plugin-1.4-SNAPSHOT/:123:54: 
<fail> There were test failures.
     [exec] java.lang.Class.getConstructor0(Class.java:1922)
     [exec] java.lang.Class.getConstructor(Class.java:1019)
     [exec] 
org.apache.avalon.repository.main.AbstractBuilder.createDelegate(AbstractBuilder.java:140)
     [exec] 
org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:298)
     [exec] 
org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:219)
     [exec] 
org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:204)
     [exec] 
org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:179)
     [exec] 
org.apache.avalon.merlin.unit.AbstractMerlinTestCase.setUp(AbstractMerlinTestCase.java:127)
     [exec] junit.framework.TestCase.runBare(TestCase.java:125)
     [exec] junit.framework.TestResult$1.protect(TestResult.java:106)
     [exec] junit.framework.TestResult.runProtected(TestResult.java:124)
     [exec] junit.framework.TestResult.run(TestResult.java:109)
     [exec] junit.framework.TestCase.run(TestCase.java:118)
     [exec] junit.framework.TestSuite.runTest(TestSuite.java:208)
     [exec] junit.framework.TestSuite.run(TestSuite.java:203)
     [exec] 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
     [exec] 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
     [exec] 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
     [exec] 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
     [exec] org.apache.tools.ant.Task.perform(Task.java:341)
     [exec] org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
     [exec] org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
     [exec] 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
     [exec] 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
     [exec] org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
     [exec] org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
     [exec] 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
     [exec] 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
     [exec] com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
     [exec] com.werken.werkz.Goal.fire(Goal.java:639)
     [exec] com.werken.werkz.Goal.attain(Goal.java:575)
     [exec] com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
     [exec] com.werken.werkz.Goal.attain(Goal.java:573)
     [exec] com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
     [exec] com.werken.werkz.Goal.attain(Goal.java:573)
     [exec] 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:454)
     [exec] org.apache.maven.MavenSession.attainGoals(MavenSession.java:360)
     [exec] 
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:378)
     [exec] org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
     [exec] 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
     [exec] 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
     [exec] com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
     [exec] com.werken.werkz.Goal.fire(Goal.java:639)
     [exec] com.werken.werkz.Goal.attain(Goal.java:575)
     [exec] com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
     [exec] com.werken.werkz.Goal.attain(Goal.java:573)
     [exec] 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:454)
     [exec] org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
     [exec] org.apache.maven.cli.App.doMain(App.java:543)
     [exec] org.apache.maven.cli.App.main(App.java:1109)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message