Maven 1
  1. Maven 1
  2. MAVEN-508

CVS HEAD broken: dom4j not found in classpath

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:
      Redhat Linux v7.1
      java version "1.4.1_02"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
      Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
    • Number of attachments :
      0

      Description

      An attempt to bootstrap the build fails like so:

      [echo] ------------------------------------------------------------------
      [echo] | |
      [echo] | C O M P I L I N G M A V E N S O U R C E S U S I N G A N T |
      [echo] | |
      [echo] ------------------------------------------------------------------
      [mkdir] Created dir: /home/sam/minfrin/src/maven/maven/bootstrap/phase1-classes
      [javac] Compiling 87 source files to /home/sam/minfrin/src/maven/maven/bootstrap/phase1-classes
      [javac] /home/sam/minfrin/src/maven/maven/src/java/org/apache/maven/project/Project.java:73: package org.dom4j does not exist
      [javac] import org.dom4j.Document;
      [javac] ^
      [javac] /home/sam/minfrin/src/maven/maven/src/java/org/apache/maven/project/Project.java:74: package org.dom4j.io does not exist
      [javac] import org.dom4j.io.SAXReader;
      [javac] ^
      [javac] /home/sam/minfrin/src/maven/maven/src/java/org/apache/maven/project/Project.java:1207: cannot resolve symbol
      [javac] symbol : class Document
      [javac] location: class org.apache.maven.project.Project
      [javac] public Document createDocument()
      [javac] ^
      [javac] /home/sam/minfrin/src/maven/maven/src/java/org/apache/maven/project/Project.java:1210: cannot resolve symbol
      [javac] symbol : class SAXReader
      [javac] location: class org.apache.maven.project.Project
      [javac] SAXReader reader = new SAXReader();
      [javac] ^
      [javac] /home/sam/minfrin/src/maven/maven/src/java/org/apache/maven/project/Project.java:1210: cannot resolve symbol
      [javac] symbol : class SAXReader
      [javac] location: class org.apache.maven.project.Project
      [javac] SAXReader reader = new SAXReader();
      [javac] ^
      [javac] /home/sam/minfrin/src/maven/maven/src/java/org/apache/maven/MavenUtils.java:363: cannot access org.dom4j.io.XMLWriter
      [javac] file org/dom4j/io/XMLWriter.class not found
      [javac] XMLOutput output = XMLOutput.createXMLOutput( writer );
      [javac] ^
      [javac] /home/sam/minfrin/src/maven/maven/src/java/org/apache/maven/jelly/tags/maven/WerkzDependencyResolver.java:257: org.apache.maven.jelly.tags.maven.ListAddAction should be declared abstract; it does not define performAction(com.werken.werkz.Session) in org.apache.maven.jelly.tags.maven.ListAddAction
      [javac] class ListAddAction implements Action
      [javac] ^
      [javac] /home/sam/minfrin/src/maven/maven/src/java/org/apache/maven/jelly/tags/maven/WerkzDependencyResolver.java:281: org.apache.maven.jelly.tags.maven.DummyAction should be declared abstract; it does not define performAction(com.werken.werkz.Session) in org.apache.maven.jelly.tags.maven.DummyAction
      [javac] class DummyAction implements Action
      [javac] ^
      [javac] /home/sam/minfrin/src/maven/maven/src/java/org/apache/maven/DefaultProjectMarshaller.java:113: marshallProperties(java.util.Map) in org.apache.maven.DefaultProjectMarshaller cannot be applied to (java.util.List)
      [javac] marshallProperties( project.getProperties() );
      [javac] ^
      [javac] /home/sam/minfrin/src/maven/maven/src/java/org/apache/maven/DefaultProjectMarshaller.java:372: marshallProperties(java.util.Map) in org.apache.maven.DefaultProjectMarshaller cannot be applied to (java.util.List)
      [javac] marshallProperties( dependency.getProperties() );
      [javac] ^
      [javac] /home/sam/minfrin/src/maven/maven/src/java/org/apache/maven/DefaultProjectUnmarshaller.java:367: setProperties(java.util.List) in org.apache.maven.project.BaseObject cannot be applied to (java.util.Map)
      [javac] d.setProperties( unmarshallProperties( parser ) );
      [javac] ^
      [javac] /home/sam/minfrin/src/maven/maven/src/java/org/apache/maven/DefaultProjectUnmarshaller.java:549: setProperties(java.util.List) in org.apache.maven.project.BaseObject cannot be applied to (java.util.Map)
      [javac] project.setProperties( unmarshallProperties( parser ) );
      [javac] ^
      [javac] 12 errors

      BUILD FAILED
      file:/home/sam/minfrin/src/maven/maven/build-bootstrap.xml:97: Compile failed; see the compiler error output for details.

      Total time: 9 minutes 8 seconds

        Issue Links

          Activity

          dion gillard made changes -
          Field Original Value New Value
          Link This issue depends upon MAVEN-401 [ MAVEN-401 ]
          dion gillard made changes -
          Link This issue depends upon MAVEN-401 [ MAVEN-401 ]
          dion gillard made changes -
          Link This issue is depended upon by MAVEN-401 [ MAVEN-401 ]
          Jason van Zyl made changes -
          Status Unassigned [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Assignee Jason van Zyl [ jason ]
          Vincent Massol made changes -
          Workflow jira [ 21045 ] Maven [ 37696 ]
          Brett Porter made changes -
          Workflow Maven [ 37696 ] Maven New [ 51512 ]

            People

            • Assignee:
              Jason van Zyl
              Reporter:
              Graham Leggett
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: