Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.1.0
-
Component/s: dependencies task
-
Labels:None
-
Environment:Mac OS X
-
Number of attachments :
Description
If I add the following
<dependency> <groupId>javax.cache</groupId> <artifactId>jcache</artifactId> <version>not_released</version> <scope>system</scope> <!--<systemPath>${basedir}/tools/jcache.jar</systemPath>--> <systemPath>/Users/gluck/work/ehcache/trunk/tools/jcache.jar</systemPath> </dependency>
When I so a run I get dropping /Users/gluck/.m2/repository/javax/cache/jcache/not_released/jcache-not_released.jar from path as it doesn't exist
[javac] net/sf/ehcache/jcache/CacheListenerAdaptor.java added as net/sf/ehcache/jcache/CacheListenerAdaptor.class doesn't exist.
[javac] net/sf/ehcache/jcache/Entry.java added as net/sf/ehcache/jcache/Entry.class doesn't exist.
[javac] net/sf/ehcache/jcache/JCache.java added as net/sf/ehcache/jcache/JCache.class doesn't exist.
[javac] net/sf/ehcache/jcache/JCacheFactory.java added as net/sf/ehcache/jcache/JCacheFactory.class doesn't exist.
[javac] net/sf/ehcache/jcache/package.html skipped - don't know how to handle it
dropping /Users/gluck/.m2/repository/javax/cache/jcache/not_released/jcache-not_released.jar from path as it doesn't exist
It should not be looking for it there.
To reproduce just try and use the system scope and systemPath.
Issue Links
- is related to
-
MANTTASKS-189
NPE when using scope="system"
-
- relates to
-
MANTTASKS-147
Improvements to scope filtering
-
Moved to Ant tasks