[ http://jira.codehaus.org/browse/MIDEA-16?page=all ]
Edwin Punzalan closed MIDEA-16:
-------------------------------
Resolution: Fixed
Removed @requiresDependencyResolution and made the plugin manually resolve the
project so that the build will not fail if an artifact does not resolve.
A warning message is printed instead of failing.
> idea target only works after compilation
> ----------------------------------------
>
> Key: MIDEA-16
> URL: http://jira.codehaus.org/browse/MIDEA-16
> Project: Maven 2.x Idea Plugin
> Type: Bug
> Reporter: Matthew Pocock
> Assignee: Edwin Punzalan
> Fix For: 2.0
>
> Original Estimate: 3 hours
> Remaining: 3 hours
>
> In a multi-module project, you have to build it before you can idea:idea it.
> Let's have modules a and b, with b depending on a. The idea plugin runs for
> a, but then fails on b because it can't find a.jar, as you've not build a
> yet. However, there are case where it's not practical to build the project
> before loading it up in idea e.g. if you've checked it out of svn to fix a
> bug that prevents compilation.
> The work-arround would be for the idea plugin to require resolution for all
> jars that are external dependencies but to silently assume the presence of
> all jars that would be built as part of the project.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]