You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Matt Brozowski (JIRA)" <ji...@codehaus.org> on 2006/03/29 17:52:44 UTC

[jira] Created: (MNGECLIPSE-96) plugin does not add test-jar dependencies to classpath

plugin does not add test-jar dependencies to classpath
------------------------------------------------------

         Key: MNGECLIPSE-96
         URL: http://jira.codehaus.org/browse/MNGECLIPSE-96
     Project: Maven 2.x Extension for Eclipse
        Type: Bug

  Components: Dependency Resolver  
    Versions: 0.0.5    
    Reporter: Matt Brozowski
 Assigned to: Eugene Kuleshov 


I have a project that depends on the attached tests of another project as descripted in 

http://maven.apache.org/guides/mini/guide-attached-tests.html


The extension for eclipse does not add the attached tests to the classpath and so I get compile errors.




-- 
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: (MNGECLIPSE-96) plugin does not add test-jar dependencies to classpath

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-96?page=comments#action_62310 ] 

Eugene Kuleshov commented on MNGECLIPSE-96:
-------------------------------------------

Please provide test project to reproduce this issue.

> plugin does not add test-jar dependencies to classpath
> ------------------------------------------------------
>
>          Key: MNGECLIPSE-96
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-96
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Dependency Resolver
>     Versions: 0.0.5
>     Reporter: Matt Brozowski
>     Assignee: Eugene Kuleshov

>
>
> I have a project that depends on the attached tests of another project as descripted in 
> http://maven.apache.org/guides/mini/guide-attached-tests.html
> The extension for eclipse does not add the attached tests to the classpath and so I get compile errors.

-- 
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: (MNGECLIPSE-96) plugin does not add test-jar dependencies to classpath

Posted by "Matt Brozowski (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-96?page=comments#action_62412 ] 

Matt Brozowski commented on MNGECLIPSE-96:
------------------------------------------

After testing the jar I found that somehow the README didn't get included (put it in the wrong dir)

Here are the instructions:

This demonstrates a problem with the maven extension for eclipse
that fail to include 'test-jar' dependencies into the Maven 
Dependencies classpath

To demonstrate this do the following:

cd project1
mvn install

This will install the jar and the test-jar into the local repository


running mvn test in the project2 directory will demonstrate that tests all compile and build

bring up eclipse on project2 and enable the maven2 extension version 0.0.5.  The code will fail 
to compile because the attached tests will not be included in the classpath.


> plugin does not add test-jar dependencies to classpath
> ------------------------------------------------------
>
>          Key: MNGECLIPSE-96
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-96
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Dependency Resolver
>     Versions: 0.0.5
>     Reporter: Matt Brozowski
>     Assignee: Eugene Kuleshov
>  Attachments: test-jar-tests.tar.gz
>
>
> I have a project that depends on the attached tests of another project as descripted in 
> http://maven.apache.org/guides/mini/guide-attached-tests.html
> The extension for eclipse does not add the attached tests to the classpath and so I get compile errors.

-- 
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: (MNGECLIPSE-96) plugin does not add test-jar dependencies to classpath

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNGECLIPSE-96?page=all ]
     
Eugene Kuleshov closed MNGECLIPSE-96:
-------------------------------------

     Resolution: Fixed
    Fix Version: 0.0.6

Builder now using artifact file extention (.jar or .zip) and not artifact type

> plugin does not add test-jar dependencies to classpath
> ------------------------------------------------------
>
>          Key: MNGECLIPSE-96
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-96
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Dependency Resolver
>     Versions: 0.0.5
>     Reporter: Matt Brozowski
>     Assignee: Eugene Kuleshov
>      Fix For: 0.0.6
>  Attachments: test-jar-tests.tar.gz
>
>   Time Spent: 30 minutes
>    Remaining: 0 minutes
>
> I have a project that depends on the attached tests of another project as descripted in 
> http://maven.apache.org/guides/mini/guide-attached-tests.html
> The extension for eclipse does not add the attached tests to the classpath and so I get compile errors.

-- 
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: (MNGECLIPSE-96) plugin does not add test-jar dependencies to classpath

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-96?page=comments#action_62436 ] 

Eugene Kuleshov commented on MNGECLIPSE-96:
-------------------------------------------

Thanks Matt. This is most helpful.

> plugin does not add test-jar dependencies to classpath
> ------------------------------------------------------
>
>          Key: MNGECLIPSE-96
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-96
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Dependency Resolver
>     Versions: 0.0.5
>     Reporter: Matt Brozowski
>     Assignee: Eugene Kuleshov
>      Fix For: 0.0.6
>  Attachments: test-jar-tests.tar.gz
>
>
> I have a project that depends on the attached tests of another project as descripted in 
> http://maven.apache.org/guides/mini/guide-attached-tests.html
> The extension for eclipse does not add the attached tests to the classpath and so I get compile errors.

-- 
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: (MNGECLIPSE-96) plugin does not add test-jar dependencies to classpath

Posted by "Matt Brozowski (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNGECLIPSE-96?page=all ]

Matt Brozowski updated MNGECLIPSE-96:
-------------------------------------

    Attachment: test-jar-tests.tar.gz

> plugin does not add test-jar dependencies to classpath
> ------------------------------------------------------
>
>          Key: MNGECLIPSE-96
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-96
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Dependency Resolver
>     Versions: 0.0.5
>     Reporter: Matt Brozowski
>     Assignee: Eugene Kuleshov
>  Attachments: test-jar-tests.tar.gz
>
>
> I have a project that depends on the attached tests of another project as descripted in 
> http://maven.apache.org/guides/mini/guide-attached-tests.html
> The extension for eclipse does not add the attached tests to the classpath and so I get compile errors.

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