You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Greg Luck (JIRA)" <ji...@codehaus.org> on 2006/12/02 05:31:41 UTC

[jira] Created: (MANT-21) System scope not working properly in Maven Antlib

System scope not working properly in Maven Antlib
-------------------------------------------------

                 Key: MANT-21
                 URL: http://jira.codehaus.org/browse/MANT-21
             Project: Maven 2.x Ant Plugin
          Issue Type: Bug
         Environment: Mac OS X
            Reporter: Greg Luck


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. 


-- 
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

        

[jira] Updated: (MANTTASKS-4) System scope not working properly in Maven Antlib

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTTASKS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MANTTASKS-4:
----------------------------------

    Component/s: dependencies task

> System scope not working properly in Maven Antlib
> -------------------------------------------------
>
>                 Key: MANTTASKS-4
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-4
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: dependencies task
>         Environment: Mac OS X
>            Reporter: Greg Luck
>
> 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. 

-- 
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

        

[jira] Updated: (MANTTASKS-4) System scope not working properly in Maven Antlib

Posted by "Alexander Shvets (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTTASKS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Shvets updated MANTTASKS-4:
-------------------------------------

    Attachment: MANTTASKS-4-maven-ant-tasks.patch

This patch fixes the problem and has 2 unit tests. One test can be solved with this patch, another test required changes in org.apache.maven.artifact.resolver.filter.ScopeArtifactFilter file:

public class ScopeArtifactFilter
    implements ArtifactFilter
{

    public ScopeArtifactFilter( String scope )
    {
    ...
        else if ( DefaultArtifact.SCOPE_SYSTEM.equals( scope ) )
        {
            systemScope = true;
            providedScope = false;
            compileScope = false;
            runtimeScope = false;
            testScope = false;
        }
...
    }

}


> System scope not working properly in Maven Antlib
> -------------------------------------------------
>
>                 Key: MANTTASKS-4
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-4
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: dependencies task
>         Environment: Mac OS X
>            Reporter: Greg Luck
>         Attachments: MANTTASKS-4-maven-ant-tasks.patch
>
>
> 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. 

-- 
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

        

[jira] Updated: (MNG-2840) System scope not working properly in Maven Antlib

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton updated MNG-2840:
---------------------------------

    Component/s: Ant tasks

Moved to Ant tasks

> System scope not working properly in Maven Antlib
> -------------------------------------------------
>
>                 Key: MNG-2840
>                 URL: http://jira.codehaus.org/browse/MNG-2840
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Ant tasks
>         Environment: Mac OS X
>            Reporter: Greg Luck
>
> 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. 

-- 
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

        

[jira] Commented: (MANTTASKS-4) System scope not working properly in Maven Antlib

Posted by "Alexander Shvets (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTTASKS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138779#action_138779 ] 

Alexander Shvets commented on MANTTASKS-4:
------------------------------------------

For "system" scope classpath is built incorrectly: it build path for atrifacts as combination of local repository path and file name

> System scope not working properly in Maven Antlib
> -------------------------------------------------
>
>                 Key: MANTTASKS-4
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-4
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: dependencies task
>         Environment: Mac OS X
>            Reporter: Greg Luck
>
> 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. 

-- 
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

        

[jira] Updated: (MANTTASKS-4) System scope not working properly in Maven Antlib

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTTASKS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MANTTASKS-4:
----------------------------------

    Description: 
If I add the following 

{code:xml}<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>{code}

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
{noformat}
    [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
{noformat}

It should not be looking for it there.

To reproduce just try and use the system scope and systemPath. 


  was:
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. 



> System scope not working properly in Maven Antlib
> -------------------------------------------------
>
>                 Key: MANTTASKS-4
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-4
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: dependencies task
>         Environment: Mac OS X
>            Reporter: Greg Luck
>            Assignee: Paul Gier
>             Fix For: 2.1.0
>
>         Attachments: MANTTASKS-4-maven-ant-tasks.patch
>
>
> If I add the following 
> {code:xml}<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>{code}
> 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
> {noformat}
>     [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
> {noformat}
> It should not be looking for it there.
> To reproduce just try and use the system scope and systemPath. 

-- 
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

        

[jira] Commented: (MANTTASKS-4) System scope not working properly in Maven Antlib

Posted by "Sam Mesh (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MANTTASKS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152173#action_152173 ] 

Sam Mesh commented on MANTTASKS-4:
----------------------------------

I'd like to see ant following maven as much as possible like the following:

pom.xml
    <properties>
        <viewRoot>${basedir}/..</viewRoot>
    </properties>

        <dependency>
            <scope>system</scope>
            <systemPath>${viewRoot}/lib/lib.jar</systemPath>
        </dependency>

maven-build.properties
   viewRoot=${basedir}/..

maven-build.xml
  <path id="build.classpath">
    <pathelement location="${viewRoot}/lib/lib.jar"/>
  </path>


> System scope not working properly in Maven Antlib
> -------------------------------------------------
>
>                 Key: MANTTASKS-4
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-4
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: dependencies task
>         Environment: Mac OS X
>            Reporter: Greg Luck
>         Attachments: MANTTASKS-4-maven-ant-tasks.patch
>
>
> 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. 

-- 
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

        

[jira] Moved: (MNG-2840) System scope not working properly in Maven Antlib

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton moved MANT-21 to MNG-2840:
------------------------------------------

    Complexity: Intermediate
           Key: MNG-2840  (was: MANT-21)
       Project: Maven 2  (was: Maven 2.x Ant Plugin)

> System scope not working properly in Maven Antlib
> -------------------------------------------------
>
>                 Key: MNG-2840
>                 URL: http://jira.codehaus.org/browse/MNG-2840
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Ant tasks
>         Environment: Mac OS X
>            Reporter: Greg Luck
>
> 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. 

-- 
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

        

[jira] Updated: (MANTTASKS-4) System scope not working properly in Maven Antlib

Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTTASKS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier updated MANTTASKS-4:
------------------------------

    Fix Version/s: 2.1.0
         Assignee: Paul Gier

> System scope not working properly in Maven Antlib
> -------------------------------------------------
>
>                 Key: MANTTASKS-4
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-4
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: dependencies task
>         Environment: Mac OS X
>            Reporter: Greg Luck
>            Assignee: Paul Gier
>             Fix For: 2.1.0
>
>         Attachments: MANTTASKS-4-maven-ant-tasks.patch
>
>
> 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. 

-- 
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

        

[jira] Closed: (MANTTASKS-4) System scope not working properly in Maven Antlib

Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTTASKS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier closed MANTTASKS-4.
-----------------------------

    Resolution: Fixed

Fixed in [r884252|http://svn.apache.org/viewvc?view=revision&revision=884252].

> System scope not working properly in Maven Antlib
> -------------------------------------------------
>
>                 Key: MANTTASKS-4
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-4
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: dependencies task
>         Environment: Mac OS X
>            Reporter: Greg Luck
>            Assignee: Paul Gier
>             Fix For: 2.1.0
>
>         Attachments: MANTTASKS-4-maven-ant-tasks.patch
>
>
> 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. 

-- 
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