Svatopluk Dedic created NETBEANS-2577:
-----------------------------------------
Summary: Maven library excluded because of disabling
apache-commons module
Key: NETBEANS-2577
URL: https://issues.apache.org/jira/browse/NETBEANS-2577
Project: NetBeans
Issue Type: Bug
Reporter: Svatopluk Dedic
Our NB-platform based app does the following in the *platform.properties* file
{noformat}
cluster.path=\
${nbplatform.active.dir}/extide:\
${nbplatform.active.dir}/harness:\
${nbplatform.active.dir}/ide:\
${nbplatform.active.dir}/java
# ....
disabled.modules=\
org.apache.commons.lang,\
# ....
{noformat}
Whena I build a distribution, (*ant build-zip*), the file
*java/maven/lib/commons-lang-2.6.jar* is excluded, because:
* it is a OSGi bundle
* it's *Bundle-Symbolic-Name* matches the excluded module's codename
Despite the file is in a different directory, where NB modules shouldn't be
placed, it's recognized as a module and excluded from the distribution.
The bug causes *maven embedder* to fail during startup, since it can't link to
**its libraries.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists