Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-rc3
    • Fix Version/s: 1.0-rc3
    • Component/s: core
    • Labels:
      None
    • Environment:
    • Number of attachments :
      0

      Description

      First exception is in running tests on the J2EE plugin:
      -------- failure 1 -----------------
      [exec] [junit] Running org.apache.maven.j2ee.WarFileTest
      [exec] Warning: Caught exception attempting to use SAX to load a SAX XMLReader
      [exec] Warning: Exception was: java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser
      [exec] Warning: I will print the stack trace then carry on using the default SAX parser
      [exec] java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser
      [exec] at org.xml.sax.helpers.XMLReaderFactory.loadClass(Unknown Source)
      [exec] at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
      [exec] at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:74)
      [exec] at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:615)
      [exec] at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:498)
      [exec] at org.dom4j.io.SAXReader.read(SAXReader.java:294)
      [exec] at org.dom4j.io.SAXReader.read(SAXReader.java:246)
      [exec] at org.apache.maven.j2ee.WarFile.getWebXml(WarFile.java:234)
      [exec] at org.apache.maven.j2ee.WarFile.getServlets(WarFile.java:138)
      [exec] at org.apache.maven.j2ee.WarFileTest.testSimpleWar(WarFileTest.java:161)
      [exec] at java.lang.reflect.Method.invoke(Native Method)
      [exec] at junit.framework.TestCase.runTest(TestCase.java:154)
      [exec] at junit.framework.TestCase.runBare(TestCase.java:127)
      [exec] at junit.framework.TestResult$1.protect(TestResult.java:106)
      [exec] at junit.framework.TestResult.runProtected(TestResult.java:124)
      [exec] at junit.framework.TestResult.run(TestResult.java:109)
      [exec] at junit.framework.TestCase.run(TestCase.java:118)
      [exec] at junit.framework.TestSuite.runTest(TestSuite.java:208)
      [exec] at junit.framework.TestSuite.run(TestSuite.java:203)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
      [exec] at org.apache.tools.ant.Task.perform(Task.java:341)
      [exec] at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
      [exec] at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:573)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:126)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:573)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:533)
      [exec] at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
      [exec] at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:276)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:533)
      [exec] at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
      [exec] at org.apache.maven.cli.App.doMain(App.java:477)
      [exec] at org.apache.maven.cli.App.main(App.java:1128)
      [exec] at java.lang.reflect.Method.invoke(Native Method)
      [exec] at com.werken.forehead.Forehead.run(Forehead.java:551)
      [exec] at com.werken.forehead.Forehead.main(Forehead.java:581)
      [exec] org.dom4j.DocumentException: Could not initialize a SAX Parser. Please add a SAX parser to your classp
      ferably jaxp.jar Nested exception: Could not initialize a SAX Parser. Please add a SAX parser to your classpath al
      y jaxp.jar
      [exec] at org.dom4j.io.SAXReader.read(SAXReader.java:342)
      [exec] at org.dom4j.io.SAXReader.read(SAXReader.java:246)
      [exec] at org.apache.maven.j2ee.WarFile.getWebXml(WarFile.java:234)
      [exec] at org.apache.maven.j2ee.WarFile.getServlets(WarFile.java:138)
      [exec] at org.apache.maven.j2ee.WarFileTest.testSimpleWar(WarFileTest.java:161)
      [exec] at java.lang.reflect.Method.invoke(Native Method)
      [exec] at junit.framework.TestCase.runTest(TestCase.java:154)
      [exec] at junit.framework.TestCase.runBare(TestCase.java:127)
      [exec] at junit.framework.TestResult$1.protect(TestResult.java:106)
      [exec] at junit.framework.TestResult.runProtected(TestResult.java:124)
      [exec] at junit.framework.TestResult.run(TestResult.java:109)
      [exec] at junit.framework.TestCase.run(TestCase.java:118)
      [exec] at junit.framework.TestSuite.runTest(TestSuite.java:208)
      [exec] at junit.framework.TestSuite.run(TestSuite.java:203)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
      [exec] at org.apache.tools.ant.Task.perform(Task.java:341)
      [exec] at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
      [exec] at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:573)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:126)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:573)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:533)
      [exec] at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
      [exec] at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:276)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:533)
      [exec] at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
      [exec] at org.apache.maven.cli.App.doMain(App.java:477)
      [exec] at org.apache.maven.cli.App.main(App.java:1128)
      [exec] at java.lang.reflect.Method.invoke(Native Method)
      [exec] at com.werken.forehead.Forehead.run(Forehead.java:551)
      [exec] at com.werken.forehead.Forehead.main(Forehead.java:581)
      [exec] Nested exception: org.xml.sax.SAXException: Could not initialize a SAX Parser. Please add a SAX parser
      along with preferably jaxp.jar
      [exec] at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:100)
      [exec] at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:615)
      [exec] at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:498)
      [exec] at org.dom4j.io.SAXReader.read(SAXReader.java:294)
      [exec] at org.dom4j.io.SAXReader.read(SAXReader.java:246)
      [exec] at org.apache.maven.j2ee.WarFile.getWebXml(WarFile.java:234)
      [exec] at org.apache.maven.j2ee.WarFile.getServlets(WarFile.java:138)
      [exec] at org.apache.maven.j2ee.WarFileTest.testSimpleWar(WarFileTest.java:161)
      [exec] at java.lang.reflect.Method.invoke(Native Method)
      [exec] at junit.framework.TestCase.runTest(TestCase.java:154)
      [exec] at junit.framework.TestCase.runBare(TestCase.java:127)
      [exec] at junit.framework.TestResult$1.protect(TestResult.java:106)
      [exec] at junit.framework.TestResult.runProtected(TestResult.java:124)
      [exec] at junit.framework.TestResult.run(TestResult.java:109)
      [exec] at junit.framework.TestCase.run(TestCase.java:118)
      [exec] at junit.framework.TestSuite.runTest(TestSuite.java:208)
      [exec] at junit.framework.TestSuite.run(TestSuite.java:203)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
      [exec] at org.apache.tools.ant.Task.perform(Task.java:341)
      [exec] at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
      [exec] at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:573)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:126)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:573)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:533)
      [exec] at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
      [exec] at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:276)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:533)
      [exec] at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
      [exec] at org.apache.maven.cli.App.doMain(App.java:477)
      [exec] at org.apache.maven.cli.App.main(App.java:1128)
      [exec] at java.lang.reflect.Method.invoke(Native Method)
      [exec] at com.werken.forehead.Forehead.run(Forehead.java:551)
      [exec] at com.werken.forehead.Forehead.main(Forehead.java:581)
      [exec] Warning: Caught exception attempting to use SAX to load a SAX XMLReader
      [exec] java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser
      [exec] at org.xml.sax.helpers.XMLReaderFactory.loadClass(Unknown Source)
      [exec] Warning: Exception was: java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser
      -------- failure 1 -----------------

      After excluding that plugin, the next failure is in the release plugin
      -------- failure 2 -----------------
      [exec] test:test:
      [exec] [junit] Running org.apache.maven.release.SnapshotResolverTest
      [exec] Warning: Caught exception attempting to use SAX to load a SAX XMLReader
      [exec] java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser
      [exec] at org.xml.sax.helpers.XMLReaderFactory.loadClass(Unknown Source)
      [exec] Warning: Exception was: java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser
      [exec] Warning: I will print the stack trace then carry on using the default SAX parser
      [exec] at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
      [exec] at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:74)
      [exec] at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:615)
      [exec] at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:498)
      [exec] at org.dom4j.io.SAXReader.read(SAXReader.java:294)
      [exec] at org.dom4j.io.SAXReader.read(SAXReader.java:218)
      [exec] at org.dom4j.io.SAXReader.read(SAXReader.java:207)
      [exec] at org.apache.maven.release.AbstractPomTransformer.selectNodes(AbstractPomTransformer.java:266)
      [exec] at org.apache.maven.release.AbstractPomTransformer.getSelectedNodes(AbstractPomTransformer.java:156)
      [exec] at org.apache.maven.release.AbstractPomTransformer.transformNodes(AbstractPomTransformer.java:227)
      [exec] at org.apache.maven.release.SnapshotResolverTest.testBasic(SnapshotResolverTest.java:51)
      [exec] at java.lang.reflect.Method.invoke(Native Method)
      [exec] at junit.framework.TestCase.runTest(TestCase.java:154)
      [exec] at junit.framework.TestCase.runBare(TestCase.java:127)
      [exec] at junit.framework.TestResult$1.protect(TestResult.java:106)
      [exec] at junit.framework.TestResult.runProtected(TestResult.java:124)
      [exec] at junit.framework.TestResult.run(TestResult.java:109)
      [exec] at junit.framework.TestCase.run(TestCase.java:118)
      [exec] at junit.framework.TestSuite.runTest(TestSuite.java:208)
      [exec] at junit.framework.TestSuite.run(TestSuite.java:203)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
      [exec] at org.apache.tools.ant.Task.perform(Task.java:341)
      [exec] at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
      [exec] at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:98)
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:573)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:126)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:98)
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:573)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:533)
      [exec] at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
      [exec] at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:276)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:98)
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.3 sec
      [exec] at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:533)
      [exec] at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
      [exec] [junit] Testsuite: org.apache.maven.release.SnapshotResolverTest
      [exec] [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.3 sec
      -------- failure 2 -----------------

      After excluding the release plugin, the xdoc plugin fails
      -------- failure 3 -----------------

      [exec] test:test:
      [exec] [junit] Running org.apache.maven.NavBeanTest
      [exec] Warning: Caught exception attempting to use SAX to load a SAX XMLReader
      [exec] java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser
      [exec] at org.xml.sax.helpers.XMLReaderFactory.loadClass(Unknown Source)
      [exec] Warning: Exception was: java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser
      [exec] Warning: I will print the stack trace then carry on using the default SAX parser
      [exec] at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
      [exec] at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:74)
      [exec] at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:615)
      [exec] at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:498)
      [exec] at org.dom4j.io.SAXReader.read(SAXReader.java:294)
      [exec] at org.dom4j.io.SAXReader.read(SAXReader.java:246)
      [exec] at org.apache.maven.NavBeanTest.getTestDocument(NavBeanTest.java:61)
      [exec] at org.apache.maven.NavBeanTest.setUp(NavBeanTest.java:43)
      [exec] at junit.framework.TestCase.runBare(TestCase.java:125)
      [exec] at junit.framework.TestResult$1.protect(TestResult.java:106)
      [exec] at junit.framework.TestResult.runProtected(TestResult.java:124)
      [exec] at junit.framework.TestResult.run(TestResult.java:109)
      [exec] at junit.framework.TestCase.run(TestCase.java:118)
      [exec] at junit.framework.TestSuite.runTest(TestSuite.java:208)
      [exec] at junit.framework.TestSuite.run(TestSuite.java:203)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
      [exec] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
      [exec] at org.apache.tools.ant.Task.perform(Task.java:341)
      [exec] at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
      [exec] at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:98)
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:573)
      [exec] at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:126)
      [exec] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      [exec] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
      [exec] at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:98)
      [exec] at com.werken.werkz.Goal.fire(Goal.java:639)
      [exec] at com.werken.werkz.Goal.attain(Goal.java:575)
      [exec] at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      -------- failure 3 -----------------

      Aft that we have
      -------- failure 4 -----------------

      [echo]
      [echo] |
      [echo] | BUILDING MAVEN WITH ITSELF...
      [echo] |
      [echo]
      [exec] __ __
      [exec] | \/ |__ Apache_ ___
      [exec] | |\/| / ` \ V / -) ' \ ~ intelligent projects ~
      [exec] || |_,|_/__|||_| v. 1.0-rc3-SNAPSHOT

      [exec] Plugin cache will be regenerated
      [exec] Tag library requested that is not present: 'doc' in plugin: 'maven-jcoverage-plugin-1.0.3'
      [exec] ASTIdentifier : java.lang.reflect.InvocationTargetException
      [exec] java.lang.reflect.InvocationTargetException: org.apache.maven.plugin.UnknownPluginException: Unknown plugin "maven-xdoc-
      plugin"
      [exec] at org.apache.maven.plugin.PluginManager.getPluginContext(PluginManager.java:702)
      [exec] at org.apache.maven.project.Project.getPluginContext(Project.java:322)
      [exec] at java.lang.reflect.Method.invoke(Native Method)
      [exec] at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:304)
      [exec] at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:56)
      [exec] at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:106)
      [exec] at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:88)
      [exec] at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:123)
      [exec] at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:115)
      [exec] at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal.evaluate(JexlExpressionFact
      ory.java:168)
      [exec] at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:106)
      -------- failure 4 -----------------

        Activity

        Hide
        Brett Porter added a comment -

        dion,

        With a clean JDK 1.3.1 installation I can bootstrap using current CVS.

        What ant/JDK version are you looking at? Are you positive you don't have an old version of CVS, because I fixed the J2ee problem and have definitely committed it.

        Show
        Brett Porter added a comment - dion, With a clean JDK 1.3.1 installation I can bootstrap using current CVS. What ant/JDK version are you looking at? Are you positive you don't have an old version of CVS, because I fixed the J2ee problem and have definitely committed it.
        Hide
        dion gillard added a comment -

        The JDK version is 1.3.1_07 as above.
        Ant is 1.5.3-1

        Is there something wrong with the CVS checkouts I did above? This was in an empty directory.

        I will try the exact same process again and report back.

        Show
        dion gillard added a comment - The JDK version is 1.3.1_07 as above. Ant is 1.5.3-1 Is there something wrong with the CVS checkouts I did above? This was in an empty directory. I will try the exact same process again and report back.
        Hide
        dion gillard added a comment -

        There is a compile error in HEAD stopping me from doing this at the moment:

        [echo]
        [echo] |
        [echo] | COMPILING MAVEN SOURCES USING ANT...
        [echo] |
        [mkdir] Created dir: C:\Temp\maven-checkout\maven\bootstrap\phase1-classes
        [javac] Compiling 98 source files to C:\Temp\maven-checkout\maven\bootstrap\phase1-classes
        [javac] C:\Temp\maven-checkout\maven\src\java\org\apache\maven\jelly\tags\werkz\MavenGoalTag.java:94: getProject() is not public
        in org.apache.maven.plugin.JellyScriptHousing; cannot be accessed from outside package
        [javac] MavenJellyContext context = housing.getProject().getContext();
        [javac] ^
        [javac] 1 error

        Show
        dion gillard added a comment - There is a compile error in HEAD stopping me from doing this at the moment: [echo] [echo] | [echo] | COMPILING MAVEN SOURCES USING ANT... [echo] | [mkdir] Created dir: C:\Temp\maven-checkout\maven\bootstrap\phase1-classes [javac] Compiling 98 source files to C:\Temp\maven-checkout\maven\bootstrap\phase1-classes [javac] C:\Temp\maven-checkout\maven\src\java\org\apache\maven\jelly\tags\werkz\MavenGoalTag.java:94: getProject() is not public in org.apache.maven.plugin.JellyScriptHousing; cannot be accessed from outside package [javac] MavenJellyContext context = housing.getProject().getContext(); [javac] ^ [javac] 1 error
        Hide
        Brett Porter added a comment -

        should be fixed, checking now

        Show
        Brett Porter added a comment - should be fixed, checking now
        Hide
        dion gillard added a comment -

        Still fails the same way.

        Want me to try jdk 1.3.1_06?

        Show
        dion gillard added a comment - Still fails the same way. Want me to try jdk 1.3.1_06?
        Hide
        dion gillard added a comment -

        Same story

        Show
        dion gillard added a comment - Same story
        Hide
        Brett Porter added a comment -

        still fails with the compilation error or the J2EE problem?

        I've built this on Windows with JDK 1.3.1_06, and have built it from a clean checkout on Solaris with JDK 1.3.1_04

        No idea what's going on - but I think you might need to be the one to investigate this. I can't replicate it.

        Show
        Brett Porter added a comment - still fails with the compilation error or the J2EE problem? I've built this on Windows with JDK 1.3.1_06, and have built it from a clean checkout on Solaris with JDK 1.3.1_04 No idea what's going on - but I think you might need to be the one to investigate this. I can't replicate it.
        Hide
        dion gillard added a comment -

        Which version of Ant are you using?

        Show
        dion gillard added a comment - Which version of Ant are you using?
        Hide
        Brett Porter added a comment -

        1.5 on Solaris, 1.5.3-1 on Windows.

        Shouldn't matter, the J2EE tests are run inside Maven, which is 1.5.3-1

        Show
        Brett Porter added a comment - 1.5 on Solaris, 1.5.3-1 on Windows. Shouldn't matter, the J2EE tests are run inside Maven, which is 1.5.3-1
        Hide
        Brett Porter added a comment -

        any progress? Can this be closed?

        Show
        Brett Porter added a comment - any progress? Can this be closed?
        Hide
        dion gillard added a comment -

        Nope, no progress yet

        Show
        dion gillard added a comment - Nope, no progress yet
        Hide
        dion gillard added a comment -

        Add forking to junit tests in several places.
        Fixed test cases that rely on system properties.

        Show
        dion gillard added a comment - Add forking to junit tests in several places. Fixed test cases that rely on system properties.

          People

          • Assignee:
            Unassigned
            Reporter:
            dion gillard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: