Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-80

Compile fails on Fedora rawhide with maven 2.2.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.8
    • Client - maven
    • None
    • Fedora rawhide with maven 2.2.1

    Description

      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      Compiling 7 source files to /builddir/build/BUILD/apache-rat-0.8-20100827/apache-rat-plugin/target/classes
      [INFO] [resources:testResources

      {execution: default-testResources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /builddir/build/BUILD/apache-rat-0.8-20100827/apache-rat-plugin/src/test/resources
      [INFO] [compiler:testCompile

      {execution: default-testCompile}

      ]
      Compiling 1 source file to /builddir/build/BUILD/apache-rat-0.8-20100827/apache-rat-plugin/target/test-classes
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure
      /builddir/build/BUILD/apache-rat-0.8-20100827/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java:[42,32] package org.apache.maven.settings does not exist
      /builddir/build/BUILD/apache-rat-0.8-20100827/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java:[43,40] package org.apache.maven.settings.io.xpp3 does not exist
      /builddir/build/BUILD/apache-rat-0.8-20100827/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java:[64,26] container has private access in org.codehaus.plexus.PlexusTestCase
      /builddir/build/BUILD/apache-rat-0.8-20100827/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java:[124,12] cannot find symbol
      symbol : class Settings
      location: class org.apache.rat.mp.RatCheckMojoTest
      /builddir/build/BUILD/apache-rat-0.8-20100827/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java:[124,36] cannot find symbol
      symbol : class SettingsXpp3Reader
      location: class org.apache.rat.mp.RatCheckMojoTest
      /builddir/build/BUILD/apache-rat-0.8-20100827/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java:[132,39] container has private access in org.codehaus.plexus.PlexusTestCase
      /builddir/build/BUILD/apache-rat-0.8-20100827/apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java:[133,15] cannot access org.apache.maven.wagon.repository.Repository
      class file for org.apache.maven.wagon.repository.Repository not found
      return new DefaultArtifactRepository( "local", "file://" + localRepo, repositoryLayout );

      It appears that a dependency on maven-settings needs to be expressed somehow for apache-rat-plugin/src/test/java/org/apache/rat/mp/RatCheckMojoTest.java

      Attachments

        Activity

          People

            Unassigned Unassigned
            opoplawski Orion Poplawski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: