[ 
https://jira.codehaus.org/browse/MNBMODULE-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse Glick closed MNBMODULE-139.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.6

Primary bug fixed as previously suggested in revision 14354.

> OSGi dependencies processed for no apparent reason during run
> -------------------------------------------------------------
>
>                 Key: MNBMODULE-139
>                 URL: https://jira.codehaus.org/browse/MNBMODULE-139
>             Project: Maven NetBeans Module Plugin
>          Issue Type: Bug
>    Affects Versions: 3.5
>            Reporter: Jesse Glick
>            Assignee: Jesse Glick
>             Fix For: 3.6
>
>
> Build and run http://netbeans.org/bugzilla/attachment.cgi?id=108746 and you 
> will see:
> {noformat}
> WARNING [org.netbeans.core.startup.ModuleList]: Error encountered while 
> reading org.apache.geronimo.specs.geronimo_stax_api_1.0_spec
> java.lang.IllegalArgumentException: Bad package component in 
> org.apache.geronimo.specs.geronimo_stax_api_1.0_spec
>       at org.openide.modules.Dependency.checkCodeName(Dependency.java:213)
>       at org.openide.modules.Dependency.create(Dependency.java:293)
>       at 
> org.netbeans.core.startup.ModuleList$ReadInitial.run(ModuleList.java:1536)
>       at 
> org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:125)
>       at 
> org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:542)
>       at org.netbeans.core.startup.ModuleList.readInitial(ModuleList.java:168)
>       at 
> org.netbeans.core.startup.ModuleSystem.readList(ModuleSystem.java:272)
>       at org.netbeans.core.startup.Main.getModuleSystem(Main.java:171)
>       at org.netbeans.core.startup.Main.start(Main.java:302)
>       at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:114)
> [catch] at java.lang.Thread.run(Thread.java:722)
> {noformat}
> Main bug is that {{solrj-nbm/application/target/solrj_nbm/extra}} cluster is 
> being created, even though {{useOSGiDependencies}} is not enabled: {{clean 
> install}} on the {{application}} project does not create this cluster but 
> {{install}} again (i.e. an incremental build) does.
> Secondary bug is in the library header {{Bundle-SymbolicName: 
> org.apache.geronimo.specs.geronimo-stax-api_1.0_spec}}. While a terrible 
> symbolic name, this seems to be permitted by the OSGi spec, and needs to be 
> sanitized to something NB considers a legitimate code name base.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to