You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Orion Poplawski (Created) (JIRA)" <ji...@apache.org> on 2011/12/06 23:48:39 UTC

[jira] [Created] (RAT-113) Support maven 3

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


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

        

[jira] [Commented] (RAT-113) Support maven 3

Posted by "Hugo Hirsch (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAT-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164160#comment-13164160 ] 

Hugo Hirsch commented on RAT-113:
---------------------------------

Do you experience the same problem with trunk (version 0.9)?

I assume it to be a problem of your maven installation - could you provide your dependency:tree? Since mvn-rpmbuild is not part of the official mvn package, it might be the cause of your trouble.
                
> 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
>
> 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

        

[jira] [Commented] (RAT-113) Support maven 3

Posted by "Orion Poplawski (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (RAT-113) Support maven 3

Posted by "Hugo Hirsch (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAT-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hugo Hirsch updated RAT-113:
----------------------------

    Attachment: dependencyTree.txt

Dependency tree with doxia.

:~/Documents/workspace/rat-plugin$ mvn --version
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /home/user/software/maven
Java version: 1.7.0_01, vendor: Oracle Corporation
Java home: /home/hirsch/jdk1.7.0_01/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "2.6.35-31-generic", arch: "amd64", family: "unix"

                
> 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
>         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

        

[jira] [Commented] (RAT-113) Support maven 3

Posted by "Orion Poplawski (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAT-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163950#comment-13163950 ] 

Orion Poplawski commented on RAT-113:
-------------------------------------

Looks to be in a maven-compat.jar/pom on Fedora
                
> 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
>
> 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

        

[jira] [Commented] (RAT-113) Support maven 3

Posted by "Hugo Hirsch (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAT-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163941#comment-13163941 ] 

Hugo Hirsch commented on RAT-113:
---------------------------------

Which mvn commands do you perform?

I'm fine with mvn 3.0.3 on Ubuntu mit JDK7. 
What's your environments config?
                
> 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
>
> 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

        

[jira] [Commented] (RAT-113) Support maven 3

Posted by "Orion Poplawski (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAT-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163977#comment-13163977 ] 

Orion Poplawski commented on RAT-113:
-------------------------------------

Okay, so I patched the apache-rat-plugin/pom.xml to add a dependency on maven-compat which allows it to build.  Now I get a test failure:

Running org.apache.rat.mp.RatCheckMojoTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 2.185 sec <<< FAILURE!

Results :

Tests in error: 
  testIt1(org.apache.rat.mp.RatCheckMojoTest): java.util.NoSuchElementException
  testIt2(org.apache.rat.mp.RatCheckMojoTest): java.util.NoSuchElementException
  testIt3(org.apache.rat.mp.RatCheckMojoTest): java.util.NoSuchElementException

Tests run: 3, Failures: 0, Errors: 3, Skipped: 0

$ cat /export/home/orion/fedora/apache-rat/apache-re-rat-plugin/target/surefire-reports/org.apache.rat.mp.RatCheckMojoTest.txt 
-------------------------------------------------------------------------------
Test set: org.apache.rat.mp.RatCheckMojoTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 2.185 sec <<< FAILURE!
testIt1(org.apache.rat.mp.RatCheckMojoTest)  Time elapsed: 1.551 sec  <<< ERROR!
org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException
      role: org.apache.maven.plugin.Mojo
  roleHint: org.apache.rat:apache-rat-plugin:0.8:check
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:231)
        at org.codehaus.plexus.PlexusTestCase.lookup(PlexusTestCase.java:200)
        at org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:182)
        at org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:127)
        at org.apache.rat.mp.RatCheckMojoTest.newRatMojo(RatCheckMojoTest.java:161)
        at org.apache.rat.mp.RatCheckMojoTest.newRatCheckMojo(RatCheckMojoTest.java:145)
        at org.apache.rat.mp.RatCheckMojoTest.testIt1(RatCheckMojoTest.java:304)
Caused by: java.util.NoSuchElementException
        at java.util.Collections$EmptyIterator.next(Collections.java:2958)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251)
        ... 35 more
testIt2(org.apache.rat.mp.RatCheckMojoTest)  Time elapsed: 0.27 sec  <<< ERROR!
org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException
      role: org.apache.maven.plugin.Mojo
  roleHint: org.apache.rat:apache-rat-plugin:0.8:check
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:231)
        at org.codehaus.plexus.PlexusTestCase.lookup(PlexusTestCase.java:200)
        at org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:182)
        at org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:127)
        at org.apache.rat.mp.RatCheckMojoTest.newRatMojo(RatCheckMojoTest.java:161)
        at org.apache.rat.mp.RatCheckMojoTest.newRatCheckMojo(RatCheckMojoTest.java:145)
        at org.apache.rat.mp.RatCheckMojoTest.testIt2(RatCheckMojoTest.java:353)
Caused by: java.util.NoSuchElementException
        at java.util.Collections$EmptyIterator.next(Collections.java:2958)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251)
        ... 35 more
testIt3(org.apache.rat.mp.RatCheckMojoTest)  Time elapsed: 0.278 sec  <<< ERROR!
org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException
      role: org.apache.maven.plugin.Mojo
  roleHint: org.apache.rat:apache-rat-plugin:0.8:check
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:231)
        at org.codehaus.plexus.PlexusTestCase.lookup(PlexusTestCase.java:200)
        at org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:182)
        at org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:127)
        at org.apache.rat.mp.RatCheckMojoTest.newRatMojo(RatCheckMojoTest.java:161)
        at org.apache.rat.mp.RatCheckMojoTest.testIt3(RatCheckMojoTest.java:380)
Caused by: java.util.NoSuchElementException
        at java.util.Collections$EmptyIterator.next(Collections.java:2958)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251)
        ... 34 more

                
> 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
>
> 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

        

[jira] [Closed] (RAT-113) Support maven 3

Posted by "Orion Poplawski (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAT-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Orion Poplawski closed RAT-113.
-------------------------------

       Resolution: Not A Problem
    Fix Version/s: 0.8
    
> 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

        

[jira] [Commented] (RAT-113) Support maven 3

Posted by "Hugo Hirsch (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAT-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164727#comment-13164727 ] 

Hugo Hirsch commented on RAT-113:
---------------------------------

fyi: mvn dependency:tree shows
all explicitly referenced dependencies of your project.
                
> 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

        

[jira] [Commented] (RAT-113) Support maven 3

Posted by "Orion Poplawski (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAT-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163945#comment-13163945 ] 

Orion Poplawski commented on RAT-113:
-------------------------------------

mvn-rpmbuild install javadoc:aggregate

which is what we use for building packages on Fedora.
                
> 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
>
> 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