You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dmitri Maximovich (JIRA)" <ji...@codehaus.org> on 2006/01/18 17:57:40 UTC
[jira] Closed: (MNGECLIPSE-2) Direct dependencies marked as
optional aren't included in the project build path
[ http://jira.codehaus.org/browse/MNGECLIPSE-2?page=all ]
Dmitri Maximovich closed MNGECLIPSE-2:
--------------------------------------
Resolution: Fixed
Issue resolved in maven embedder 2.0.2
> Direct dependencies marked as optional aren't included in the project build path
> --------------------------------------------------------------------------------
>
> Key: MNGECLIPSE-2
> URL: http://jira.codehaus.org/browse/MNGECLIPSE-2
> Project: Maven 2.x Plug-in for Eclipse
> Type: Bug
> Versions: 0.0.3
> Reporter: David Jackman
> Assignee: Dmitri Maximovich
> Fix For: 0.0.4
>
> Time Spent: 2 hours
> Remaining: 0 minutes
>
> I added dependencies to my Eclipse project, which worked fine, and the project code compiled fine. However, I added <optional>true</optional> to one of the dependencies and the M2 plugin removed the dependency from the project build path, and the project code no longer compiles. I thought optional meant that it was optional for other projects that depend on my project, not that it's optional for my 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org