Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-371

mvn test won't build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta9
    • 2.0-beta9
    • Core
    • None

    Description

      mvn test fails, evidently due to some re-named directories.

      Checked out revision 1517541.
      Guss-MacBook-Pro:log4j2 gus$ cd log4j/
      Guss-MacBook-Pro:log4j2 gus$ mvn -version
      Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500)
      Maven home: /usr/share/maven
      Java version: 1.7.0_21, vendor: Oracle Corporation
      Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
      Guss-MacBook-Pro:log4j2 gus$ cd log4j/
      Guss-MacBook-Pro:log4j gus$ mvn test
      [INFO] Scanning for projects...
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]   
      [ERROR]   The project org.apache.logging.log4j:log4j:2.0-beta9-SNAPSHOT (/Users/gus/projects/log4j2/log4j/pom.xml) has 10 errors
      [ERROR]     Child module /Users/gus/projects/log4j2/log4j/api of /Users/gus/projects/log4j2/log4j/pom.xml does not exist
      [ERROR]     Child module /Users/gus/projects/log4j2/log4j/core of /Users/gus/projects/log4j2/log4j/pom.xml does not exist
      [ERROR]     Child module /Users/gus/projects/log4j2/log4j/osgi of /Users/gus/projects/log4j2/log4j/pom.xml does not exist
      [ERROR]     Child module /Users/gus/projects/log4j2/log4j/log4j12-api of /Users/gus/projects/log4j2/log4j/pom.xml does not exist
      [ERROR]     Child module /Users/gus/projects/log4j2/log4j/slf4j-impl of /Users/gus/projects/log4j2/log4j/pom.xml does not exist
      [ERROR]     Child module /Users/gus/projects/log4j2/log4j/jcl-bridge of /Users/gus/projects/log4j2/log4j/pom.xml does not exist
      [ERROR]     Child module /Users/gus/projects/log4j2/log4j/flume-ng of /Users/gus/projects/log4j2/log4j/pom.xml does not exist
      [ERROR]     Child module /Users/gus/projects/log4j2/log4j/taglib of /Users/gus/projects/log4j2/log4j/pom.xml does not exist
      [ERROR]     Child module /Users/gus/projects/log4j2/log4j/jmx-gui of /Users/gus/projects/log4j2/log4j/pom.xml does not exist
      [ERROR]     Child module /Users/gus/projects/log4j2/log4j/samples of /Users/gus/projects/log4j2/log4j/pom.xml does not exist
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      Guss-MacBook-Pro:log4j gus$ ls
      BUILDING.txt			checkstyle.xml			log4j-flume-ng			log4j-taglib
      LICENSE.txt			findbugs-exclude-filter.xml	log4j-jcl			log4j-to-slf4j
      NOTICE.txt			log4j-1.2-api			log4j-jmx-gui			pom.xml
      RELEASE-NOTES.txt		log4j-api			log4j-osgi			src
      checkstyle-header.txt		log4j-core			log4j-samples
      checkstyle-import-control.xml	log4j-distribution		log4j-slf4j-impl
      Guss-MacBook-Pro:log4j gus$ 
      
      

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            gus Gus Heck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: