You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Niclas Hedhman <ni...@hedhman.org> on 2003/12/10 11:26:19 UTC
Build error....
Stephen,
this one I can't figure out...
[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] 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.getDeclaredConstructors0(Native Method)
[exec] java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
[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)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: Build error....
Posted by Niclas Hedhman <ni...@hedhman.org>.
- o - o - o - o - o - o - I Don't Like Magic!!!! - o - o - o - o - o - o -
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: Build error....
Posted by Niclas Hedhman <ni...@hedhman.org>.
On Wednesday 10 December 2003 18:59, Niclas Hedhman wrote:
> Hi,
>
> Digging through the output of Maven, I saw...
>
> [copy] Copying 1 file to
> /home/niclas/.maven/repository/avalon-composition/jars
After removal of the repository modules in /home/niclas/.maven, it still
provide me with the same nice error.
I am giving up for the day on this...
Cheers,
Niclas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: Build error....
Posted by Stephen McConnell <mc...@apache.org>.
Niclas Hedhman wrote:
>Hi,
>
>Digging through the output of Maven, I saw...
>
>[copy] Copying 1 file to
>/home/niclas/.maven/repository/avalon-composition/jars
>
>but I thought I had my Maven repository in /java/maven/repository???
>
Your running the unit test 3.2.5?
Steve.
--
Stephen J. McConnell
mailto:mcconnell@apache.org
|------------------------------------------------|
| Magic by Merlin |
| Production by Avalon |
| |
| http://avalon.apache.org/merlin |
| http://dpml.net/ |
|------------------------------------------------|
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: Build error....
Posted by Niclas Hedhman <ni...@hedhman.org>.
Hi,
Digging through the output of Maven, I saw...
[copy] Copying 1 file to
/home/niclas/.maven/repository/avalon-composition/jars
but I thought I had my Maven repository in /java/maven/repository???
The deleted directories in /java/maven/repository was recreated during the
maven build of Avalon.
Can someone explain the difference and what is this all about?
Niclas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: Build error....
Posted by Niclas Hedhman <ni...@hedhman.org>.
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
Re: Build error....
Posted by Stephen McConnell <mc...@apache.org>.
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.
Cheers, Steve.
--
Stephen J. McConnell
mailto:mcconnell@apache.org
|------------------------------------------------|
| Magic by Merlin |
| Production by Avalon |
| |
| http://avalon.apache.org/merlin |
| http://dpml.net/ |
|------------------------------------------------|
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org