[
https://issues.apache.org/jira/browse/RAT-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164544#comment-13164544
]
Orion Poplawski commented on RAT-113:
-------------------------------------
I don't get a dependency tree output. Probably because mvn-rpmbuild uses the
system installed versions of libraries. O r is there an option to mvn I need
to pass to get the dependency tree? Sorry, pretty new to maven.
mvn-rpmbuild --version
/usr/lib/jvm/java
Apache Maven 3.0.3 (rNON-CANONICAL_2011-10-11_11-57_mockbuild; 2011-10-11
05:57:02-0600)
Maven home: /usr/share/maven
Java version: 1.6.0_22, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.1.4-1.fc16.i686.pae", arch: "i386", family: "unix"
And actually, looks like I can build 0.8 fine with maven 3 on Fedora Rawhide,
but not Fedora 16, so something must be old/missing in Fedora 16.
> Support maven 3
> ---------------
>
> Key: RAT-113
> URL: https://issues.apache.org/jira/browse/RAT-113
> Project: RAT
> Issue Type: New Feature
> Components: maven
> Affects Versions: 0.9
> Environment: Fedora 16, maven 3
> Reporter: Orion Poplawski
> Fix For: 0.8
>
> Attachments: dependencyTree.txt
>
>
> Trying to build current trunk (revision 1211216) with maven 3 on Fedora, I
> get:
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project apache-rat-plugin: Compilation failure:
> Compilation failure:
> [ERROR]
> /export/home/orion/fedora/apache-rat/rat-trunk-build/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java:[27,41]
> cannot find symbol
> [ERROR] symbol : class ArtifactResolver
> [ERROR] location: package org.apache.maven.artifact.resolver
> [ERROR]
> [ERROR]
> /export/home/orion/fedora/apache-rat/rat-trunk-build/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java:[87,12]
> cannot find symbol
> [ERROR] symbol : class ArtifactResolver
> [ERROR] location: class org.apache.rat.mp.RatReportMojo
> [ERROR]
> [ERROR]
> /export/home/orion/fedora/apache-rat/rat-trunk-build/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java:[27,41]
> cannot find symbol
> [ERROR] symbol : class ArtifactResolver
> [ERROR] location: package org.apache.maven.artifact.resolver
> [ERROR]
> [ERROR]
> /export/home/orion/fedora/apache-rat/rat-trunk-build/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java:[87,12]
> cannot find symbol
> [ERROR] symbol : class ArtifactResolver
> [ERROR] location: class org.apache.rat.mp.RatReportMojo
> It seems the ArtifactResolver class is not in maven 3.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira