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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: