[
https://jira.codehaus.org/browse/MNBMODULE-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292880#comment-292880
]
Frantisek Mantlik commented on MNBMODULE-138:
---------------------------------------------
Anything not killing the build will help.
Unpredictable class loading errors mean that if factories are enabled (i.e.
windows are opened or various functions of the program are started) in one
order, everything works while when the same windows/functions are opened in
reverse order, failures like "Cannot load class from both x and y" or similar
arrive.
Most probably, the source of problems is that some unneeded classes are loaded
when enableClasspathModules is true while only correct modules are loaded when
it is false. Starting the test suite way presented above works fine for this
particular project. If you can propose other way how to make things working
(i.e. correctly load pseudomodules with enableClasspathModules false), it would
be welcome, of course. Nevertheless, if you will not kill my builds, I am OK
with presented setting.
> Support *.external entries in NBMs
> ----------------------------------
>
> Key: MNBMODULE-138
> URL: https://jira.codehaus.org/browse/MNBMODULE-138
> Project: Maven NetBeans Module Plugin
> Issue Type: Task
> Affects Versions: 3.5
> Reporter: Jesse Glick
> Assignee: Jesse Glick
> Priority: Minor
>
> After https://netbeans.org/bugzilla/show_bug.cgi?id=195041 an NBM can include
> references to external contents, but {{nbm-maven-plugin}} does not yet
> support this. Example: add to app POM
> {noformat}
> <repository>
> <id>netbeans-snapshot</id>
> <url>http://bits.netbeans.org/netbeans/trunk/maven-snapshot/</url>
> </repository>
> ...
> <dependency>
> <groupId>org.netbeans.api</groupId>
> <artifactId>org-netbeans-libs-junit4</artifactId>
> <version>SNAPSHOT</version>
> </dependency>
> {noformat}
> (or just use {{RELEASE70}} version from regular repo when available) and
> build; you get a
> {{application/target/.../platform/modules/ext/junit-4.8.2.jar.external}} text
> file, which is wrong.
> Not a high priority since the only two current uses are in
> {{org-netbeans-libs-junit4}}, which would not normally be included in an app
> (other than in test scope), and {{org-netbeans-modules-junitlib}} which is
> not published in the Maven repo.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
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