[ http://issues.apache.org/struts/browse/WW-1431?page=all ]
Don Brown resolved WW-1431.
---------------------------
Resolution: Not A Problem
Assignee: Don Brown
Actually, in this case, compile is what we want. This is because the xwork jar
contains the XWorkTest base test class.
> xwork 2.0's pom.xml has junit listed as a compile-time dependency, should be
> test (?)
> -------------------------------------------------------------------------------------
>
> Key: WW-1431
> URL: http://issues.apache.org/struts/browse/WW-1431
> Project: Struts 2
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 2.0.0
> Reporter: Matt Raible
> Assigned To: Don Brown
>
> When I run mvn in my project, I see:
> [WARNING]
> Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
> overriding broader scope 'compile'
> given by a dependency. If this is not intended, modify or remove the
> local scope.
> This seems to be caused by XWork:
> opensymphony:xwork:jar:2.0-SNAPSHOT:compile (selected for compile)
> [DEBUG] junit:junit:jar:3.8.1:compile (selected for compile)
> [DEBUG] opensymphony:oscore:jar:2.2.4:compile (selected for compile)
> [DEBUG] ognl:ognl:jar:2.6.7:compile (selected for compile)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira