Maven Shared Components
  1. Maven Shared Components
  2. MSHARED-168

addClasspath doesn't add dependencies to RAR artifacts

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Won't Fix
    • Affects Version/s: maven-archiver-2.4.1
    • Fix Version/s: None
    • Component/s: maven-archiver
    • Labels:
      None
    • Number of attachments :
      1

      Description

      When using the maven-jar-plugin to create a JAR for an artifact, the dependencies to RAR artifacts aren't added to the Class-path of the MANIFEST.MF when the addClasspath parameter is set to true.

        Issue Links

          Activity

          Hide
          Luberto Klaassen added a comment -

          To illustrate the problem I created a very simple multimodule project with a main-jar module that has a dependency on both a referenced-jar and a referenced-rar module. When I run a 'mvn install' and inspect the MANIFEST.MF of the generated main-jar.jar module, the Class-path only contains the referenced-jar.jar and not the referenced-rar.rar. I really need this rar dependency added to the classpath for my project, because without it my solution doesn't work.

          Show
          Luberto Klaassen added a comment - To illustrate the problem I created a very simple multimodule project with a main-jar module that has a dependency on both a referenced-jar and a referenced-rar module. When I run a 'mvn install' and inspect the MANIFEST.MF of the generated main-jar.jar module, the Class-path only contains the referenced-jar.jar and not the referenced-rar.rar. I really need this rar dependency added to the classpath for my project, because without it my solution doesn't work.
          Hide
          Michael Osipov added a comment -

          Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

          Show
          Michael Osipov added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

            People

            • Assignee:
              Unassigned
              Reporter:
              Luberto Klaassen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: