You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "peter royal (JIRA)" <ji...@codehaus.org> on 2006/01/17 17:45:40 UTC
[jira] Created: (MNG-1971) Transitive dependencies not following
attached tests.
Transitive dependencies not following attached tests.
-----------------------------------------------------
Key: MNG-1971
URL: http://jira.codehaus.org/browse/MNG-1971
Project: Maven 2
Type: Wish
Versions: 2.0.1
Reporter: peter royal
I followed the instructions at http://maven.apache.org/guides/mini/guide-attached-tests.html to create a jar with attached tests.
I have a project with two modules, A and B
B depends on A, and B needs the tests from A as well. Using the 'attached tests' jar works for compilation. However, if module A has a test-scoped dependency of, say, jmock, then when adding the test-jar from module A as a test dependency of B, the test-scoped dependencies that A declares are not picked up by B.
imo, when creating a test-jar from a module, any test-scoped dependencies should follow the test-jar around.
--
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-1971) Transitive dependencies not following
attached tests.
Posted by "peter royal (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1971?page=comments#action_56139 ]
peter royal commented on MNG-1971:
----------------------------------
You're right. I found two such instances, MNG-1378 and MNG-1571
> Transitive dependencies not following attached tests.
> -----------------------------------------------------
>
> Key: MNG-1971
> URL: http://jira.codehaus.org/browse/MNG-1971
> Project: Maven 2
> Type: Wish
> Versions: 2.0.1
> Reporter: peter royal
>
>
> I followed the instructions at http://maven.apache.org/guides/mini/guide-attached-tests.html to create a jar with attached tests.
> I have a project with two modules, A and B
> B depends on A, and B needs the tests from A as well. Using the 'attached tests' jar works for compilation. However, if module A has a test-scoped dependency of, say, jmock, then when adding the test-jar from module A as a test dependency of B, the test-scoped dependencies that A declares are not picked up by B.
> imo, when creating a test-jar from a module, any test-scoped dependencies should follow the test-jar around.
--
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: (MNG-1971) Transitive dependencies not following
attached tests.
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1971?page=all ]
Brett Porter closed MNG-1971:
-----------------------------
Resolution: Duplicate
> Transitive dependencies not following attached tests.
> -----------------------------------------------------
>
> Key: MNG-1971
> URL: http://jira.codehaus.org/browse/MNG-1971
> Project: Maven 2
> Type: Wish
> Versions: 2.0.1
> Reporter: peter royal
>
>
> I followed the instructions at http://maven.apache.org/guides/mini/guide-attached-tests.html to create a jar with attached tests.
> I have a project with two modules, A and B
> B depends on A, and B needs the tests from A as well. Using the 'attached tests' jar works for compilation. However, if module A has a test-scoped dependency of, say, jmock, then when adding the test-jar from module A as a test dependency of B, the test-scoped dependencies that A declares are not picked up by B.
> imo, when creating a test-jar from a module, any test-scoped dependencies should follow the test-jar around.
--
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-1971) Transitive dependencies not following
attached tests.
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1971?page=comments#action_56124 ]
Brett Porter commented on MNG-1971:
-----------------------------------
FYI, I'm pretty sure this is already in JIRA somewhere, but I can't be bothered looking for it right now :)
> Transitive dependencies not following attached tests.
> -----------------------------------------------------
>
> Key: MNG-1971
> URL: http://jira.codehaus.org/browse/MNG-1971
> Project: Maven 2
> Type: Wish
> Versions: 2.0.1
> Reporter: peter royal
>
>
> I followed the instructions at http://maven.apache.org/guides/mini/guide-attached-tests.html to create a jar with attached tests.
> I have a project with two modules, A and B
> B depends on A, and B needs the tests from A as well. Using the 'attached tests' jar works for compilation. However, if module A has a test-scoped dependency of, say, jmock, then when adding the test-jar from module A as a test dependency of B, the test-scoped dependencies that A declares are not picked up by B.
> imo, when creating a test-jar from a module, any test-scoped dependencies should follow the test-jar around.
--
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