Maven 1

SAR dependencies don't appear on classpath

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-rc2, 1.0-rc3
  • Fix Version/s: 1.1-beta-1
  • Component/s: core
  • Labels:
    None
  • Environment:
    JDK 1.4.2_03, RH ES 2.4.21-4.EL
  • Number of attachments :
    0

Description

When a dependency is created of type sar, it doesn't show up on the dependency classpath when needed by javac:

<dependencies>
<dependency>
<groupId>sc</groupId>
<artifactId>sc-common</artifactId>
<version>1.0</version>
<type>sar</type>
<properties>
</properties>
</dependency>
</dependencies>

[javac] [VERBOSE] Compilation arguments:
'-d'
'C:\sc\src\ejb\target\classes'
'-classpath'
'C:\sc\src\ejb\target\classes;C:\Documents and Settings\cbonham\.maven\repository\ejb\jars\ejb-2.0.jar;C:\Documents and Settings\cbonham\.maven\repository\jta\jars\jta-1.0.1.jar;C:\Documents and Settings\cbonham\.maven\repository\servletapi\jars\servletapi-2.3.jar;C:\Documents and Settings\cbonham\.maven\repository\jmx\jars\jmxri-1.0.jar;C:\Documents and Settings\cbonham\.maven\repository\activation\jars\activation-1.0.2.jar;C:\Documents and Settings\cbonham\.maven\repository\javamail\jars\mail-1.3.jar;C:\Documents and Settings\cbonham\.maven\repository\commons-collections\jars\commons-collections-2.1.jar;C:\Documents and Settings\cbonham\.maven\repository\commons-logging\jars\commons-logging-1.0.3.jar;C:\maven-1.0-rc3\lib\forehead-1.0-beta-5.jar

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: