[fedora-java] Need help with apache-rat

Orion Poplawski orion at cora.nwra.com
Thu Sep 2 17:38:16 UTC 2010


On 09/02/2010 10:49 AM, Stanislav Ochotnicky wrote:
> This is what you are looking for:
>
> -import org.apache.maven.doxia.module.xhtml.decoration.render.RenderingContext;
> +import org.apache.maven.doxia.sink.render.RenderingContext;
>
>
> Hope this helps. Good luck

That did the trick!  Next issue:

[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 default encoding to copy filtered 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 );

Does something need to explicitly depend on maven-settings? 
maven-compiler-plugin?  apache-rat?


Thanks!


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the java-devel mailing list