SAR dependencies don't appear on the classpath ----------------------------------------------
Key: MNG-4496 URL: http://jira.codehaus.org/browse/MNG-4496 Project: Maven 2 & 3 Issue Type: Bug Affects Versions: 2.2.1, 2.0.10 Environment: Windows XP SP3 Reporter: Armin Wrobel The problem, that SAR dependencies don't appear on the classpath existed already in Maven 1 and has been fixed for Maven 1. See https://svn.cargo.codehaus.org/browse/MAVEN-1304. I need to import a class file contained in a .sar file (JBoss service archive), but Maven 2.2.1 as well as 2.0.10 (and likely also those versions in between) don't find the class file during the compilation, because it isn't on the classpath, although it's correctly specified as a dependency: <dependency> <groupId>ch.hrms.casex</groupId> <artifactId>case-base-scheduling</artifactId> <version>${parent.version}</version> <type>sar</type> </dependency> During the compilation the error message: 'cannot find symbol...' is shown. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira