You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brian Fox (JIRA)" <ji...@codehaus.org> on 2005/11/10 21:22:06 UTC

[jira] Created: (MPANT-26) maven.test.classpath doesn't contain test scope dependancies

maven.test.classpath doesn't contain test scope dependancies
------------------------------------------------------------

         Key: MPANT-26
         URL: http://jira.codehaus.org/browse/MPANT-26
     Project: maven-ant-plugin
        Type: Bug
    Reporter: Brian Fox


maven.test.classpath only has things in compile scope, not in test scope.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1504) maven.test.classpath doesn't contain test scope dependancies

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1504?page=all ]

Brett Porter updated MNG-1504:
------------------------------

    Component:     (was: maven-ant-plugin)
               maven-antrun-plugin

> maven.test.classpath doesn't contain test scope dependancies
> ------------------------------------------------------------
>
>          Key: MNG-1504
>          URL: http://jira.codehaus.org/browse/MNG-1504
>      Project: Maven 2
>         Type: Bug

>   Components: maven-antrun-plugin
>     Reporter: Brian Fox
>  Attachments: pom.xml
>
>
> maven.test.classpath only has things in compile scope, not in test scope.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1504) maven.test.classpath doesn't contain test scope dependancies

Posted by "Kenney Westerhof (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1504?page=comments#action_50619 ] 

Kenney Westerhof commented on MNG-1504:
---------------------------------------

That's because the ant plugin only has @requiresDependencyResolution compile.
I was hoping there would be a way to specify the desired scope at runtime or configuration time
easily, but I'll have to look into that. I only intended the antrun plugin for quick 'normal' usage, not for
tests, but it could be useful there too.

> maven.test.classpath doesn't contain test scope dependancies
> ------------------------------------------------------------
>
>          Key: MNG-1504
>          URL: http://jira.codehaus.org/browse/MNG-1504
>      Project: Maven 2
>         Type: Bug
>   Components: maven-ant-plugin
>     Reporter: Brian Fox
>  Attachments: pom.xml
>
>
> maven.test.classpath only has things in compile scope, not in test scope.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPANT-26) maven.test.classpath doesn't contain test scope dependancies

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPANT-26?page=all ]

Brian Fox updated MPANT-26:
---------------------------

    Attachment: pom.xml

Run this pom and see that the echo'd classpath contains target/classes but not target/test-classes and also the junit jar is missing, but other compile scope ones are there.

> maven.test.classpath doesn't contain test scope dependancies
> ------------------------------------------------------------
>
>          Key: MPANT-26
>          URL: http://jira.codehaus.org/browse/MPANT-26
>      Project: maven-ant-plugin
>         Type: Bug
>     Reporter: Brian Fox
>  Attachments: pom.xml
>
>
> maven.test.classpath only has things in compile scope, not in test scope.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MANTRUN-28) maven.test.classpath doesn't contain test scope dependancies

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTRUN-28?page=all ]
     
Carlos Sanchez closed MANTRUN-28:
---------------------------------

      Assign To: Carlos Sanchez
     Resolution: Fixed
    Fix Version: 1.1

> maven.test.classpath doesn't contain test scope dependancies
> ------------------------------------------------------------
>
>          Key: MANTRUN-28
>          URL: http://jira.codehaus.org/browse/MANTRUN-28
>      Project: Maven 2.x Antrun Plugin
>         Type: Bug

>     Reporter: Brian Fox
>     Assignee: Carlos Sanchez
>      Fix For: 1.1
>  Attachments: MANTRUN-28.patch, pom.xml
>
>
> maven.test.classpath only has things in compile scope, not in test scope.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1504) maven.test.classpath doesn't contain test scope dependancies

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1504?page=comments#action_53773 ] 

Brian Fox commented on MNG-1504:
--------------------------------

any chance this can get fixed in the current plugin release cycle? We currently need to have a bunch of test dependancies placed in the compile scope to work around. Consequently they get packaged into wars unless manually excluding them.

> maven.test.classpath doesn't contain test scope dependancies
> ------------------------------------------------------------
>
>          Key: MNG-1504
>          URL: http://jira.codehaus.org/browse/MNG-1504
>      Project: Maven 2
>         Type: Bug

>   Components: maven-antrun-plugin
>     Reporter: Brian Fox
>  Attachments: pom.xml
>
>
> maven.test.classpath only has things in compile scope, not in test scope.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1504) maven.test.classpath doesn't contain test scope dependancies

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1504?page=comments#action_51864 ] 

John Casey commented on MNG-1504:
---------------------------------

wouldn't a stop-gap fix be to add @requiresDependencyResolution test?

> maven.test.classpath doesn't contain test scope dependancies
> ------------------------------------------------------------
>
>          Key: MNG-1504
>          URL: http://jira.codehaus.org/browse/MNG-1504
>      Project: Maven 2
>         Type: Bug
>   Components: maven-ant-plugin
>     Reporter: Brian Fox
>  Attachments: pom.xml
>
>
> maven.test.classpath only has things in compile scope, not in test scope.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1504) maven.test.classpath doesn't contain test scope dependancies

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1504?page=all ]

Lukas Theussl updated MNG-1504:
-------------------------------

    Component: maven-ant-plugin

> maven.test.classpath doesn't contain test scope dependancies
> ------------------------------------------------------------
>
>          Key: MNG-1504
>          URL: http://jira.codehaus.org/browse/MNG-1504
>      Project: Maven 2
>         Type: Bug
>   Components: maven-ant-plugin
>     Reporter: Brian Fox
>  Attachments: pom.xml
>
>
> maven.test.classpath only has things in compile scope, not in test scope.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MANTRUN-28) maven.test.classpath doesn't contain test scope dependancies

Posted by "Gilles Scokart (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTRUN-28?page=all ]

Gilles Scokart updated MANTRUN-28:
----------------------------------

    Attachment: MANTRUN-28.patch

> maven.test.classpath doesn't contain test scope dependancies
> ------------------------------------------------------------
>
>          Key: MANTRUN-28
>          URL: http://jira.codehaus.org/browse/MANTRUN-28
>      Project: Maven 2.x Antrun Plugin
>         Type: Bug

>     Reporter: Brian Fox
>  Attachments: MANTRUN-28.patch, pom.xml
>
>
> maven.test.classpath only has things in compile scope, not in test scope.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1504) maven.test.classpath doesn't contain test scope dependancies

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1504?page=comments#action_50621 ] 

Brian Fox commented on MNG-1504:
--------------------------------

Yes, very usefull there. We are using it in lieu of a testNG plugin for now.

> maven.test.classpath doesn't contain test scope dependancies
> ------------------------------------------------------------
>
>          Key: MNG-1504
>          URL: http://jira.codehaus.org/browse/MNG-1504
>      Project: Maven 2
>         Type: Bug
>   Components: maven-ant-plugin
>     Reporter: Brian Fox
>  Attachments: pom.xml
>
>
> maven.test.classpath only has things in compile scope, not in test scope.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org