Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-4

System scope not working properly in Maven Antlib

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • dependencies task
    • None
    • Mac OS X

    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.

      Attachments

        1. MANTTASKS-4-maven-ant-tasks.patch
          5 kB
          Alexander Shvets

        Issue Links

          Activity

            People

              pgier Paul Gier
              gregrluck Greg Luck
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: