[jboss-jira] [JBoss JIRA] Closed: (JBMICROCONT-198) jboss-kernel and jboss-aop-mc-int have compile dependencies on jboss-test and junit
Adrian Brock (JIRA)
jira-events at lists.jboss.org
Sat Mar 8 05:40:07 EST 2008
[ http://jira.jboss.com/jira/browse/JBMICROCONT-198?page=all ]
Adrian Brock closed JBMICROCONT-198.
------------------------------------
Resolution: Done
Assignee: Adrian Brock
This has been done for RC1.
When using the MC, if your project uses jboss-test and junit make sure you override their scopes
explicitly to test otherwise you will end up "re-exporting" these artifacts and their depdencies.
It would be better if rather than "optional" maven had "runtime-test" scope for this usecase. :-)
> jboss-kernel and jboss-aop-mc-int have compile dependencies on jboss-test and junit
> -----------------------------------------------------------------------------------
>
> Key: JBMICROCONT-198
> URL: http://jira.jboss.com/jira/browse/JBMICROCONT-198
> Project: JBoss MicroContainer
> Issue Type: Task
> Components: General
> Reporter: Elias Ross
> Assigned To: Adrian Brock
> Fix For: JBossMC-2.0.0.CR1
>
>
> jboss-test (and its dependencies) and junit are pulled into projects that depend on "jboss-kernel" and "jboss-aop-mc-int" because the project contains child classes of TestCase within src/main/java ... Probably the best way to deal with this is to create a separate jboss-kernel-test and mc-int-test artifacts.
> These dependencies pull in:
> junit\junit\4.1\junit-4.1.jar
> jboss\profiler\jvmti\jboss-profiler-jvmti\1.0.0.CR5\jboss-profiler-jvmti-1.0.0.CR5.jar
> jboss\jboss-test\1.0.4-SNAPSHOT\jboss-test-1.0.4-SNAPSHOT.jar
> which aren't relevant to people's runtime.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list