On 06/27/2011 06:54 PM, Stephen Connolly wrote:
Critically missing from my PoV are:

Consider also 'endorsed' (a serious issue for EE projects especially): 
http://jira.codehaus.org/browse/MNG-4752

Also some notes on a non-transitive compile scope: for NetBeans module development, module -> module deps are not considered transitive. (This is because a module API-1 might happen to start using some other API-2 for its internal implementation, but this does not mean clients of API-1 should suddenly be exposed to API-2's classes.) The current Maven plugin deals with this by (1) writing the dependency metadata in the module manifest based on directly declared dependencies only, which is sort of ugly; (2) verifying _after_ compilation that the module's bytecode in fact only refers to classes among the declared dependencies (in case you accidentally compiled against a transitive dependency). The situation with OSGi is however more complex, as API-1 is allowed to reexport some of API-2's packages (generally because it refers to those types in its own API); ideally, Maven's computed classpath would include both directly declared dependencies and anything reexported by them.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to