You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martijn Dashorst (JIRA)" <ji...@apache.org> on 2008/02/16 17:13:09 UTC

[jira] Commented: (WICKET-1348) Please Change Scope of Spring Dependencies in pom.xml File

    [ https://issues.apache.org/jira/browse/WICKET-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569586#action_12569586 ] 

Martijn Dashorst commented on WICKET-1348:
------------------------------------------

In my opinion the scope as currently is (compile) is the correct scope. This *is* the way maven should be used. Provided means: is provided by a container, *not* what you are trying to subvert it to.

You should use a dependencyManagement for setting your own spring version.

> Please Change Scope of Spring Dependencies in pom.xml File
> ----------------------------------------------------------
>
>                 Key: WICKET-1348
>                 URL: https://issues.apache.org/jira/browse/WICKET-1348
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-spring
>            Reporter: James Carman
>
> The Spring dependencies need to be marked as "provided" or whatever so that they're not picked up transitively.  Projects using the wicket-spring library might want to use a different version of Spring and this can bring about some pretty nasty classpath errors to track down.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.