[
http://jira.codehaus.org/browse/MDEP-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114173
]
Claudio Di Vita commented on MDEP-118:
--------------------------------------
Sorry for my late reply.
In my project the activation of some dependencies relies on the Java version.
Unfortunately the JVM recognized by the Dependency Plugin is the same used for
running Maven, but because I compiled my sources with an anoter JDK my
dependencies aren't resolved.
So I use:
- The JDK 1.6 for running Maven
- The JDK 1.4.2 for compile my sources
> Resolving dependencies with the same JDK specified by the Compiler plugin
> -------------------------------------------------------------------------
>
> Key: MDEP-118
> URL: http://jira.codehaus.org/browse/MDEP-118
> Project: Maven 2.x Dependency Plugin
> Issue Type: Bug
> Components: resolve
> Affects Versions: 2.0-alpha-4
> Reporter: Claudio Di Vita
> Assignee: Brian Fox
>
> The dependencies have to be resolved with the same JDK specified by the
> Compiler plugin, not with the version used by Maven scripts.
--
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