[
https://jira.codehaus.org/browse/MNBMODULE-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292419#comment-292419
]
Frantisek Mantlik commented on MNBMODULE-138:
---------------------------------------------
It is EXTREMELY bad idea to let build FAIL because of this problem. Much better
would be to produce WARNING only.
If there is complicated classpath in the project with many foreign modules, the
only way to successfully run functional tests is in runtime scope (in a special
testing profile). In that case your "correctness" kills the build while
incorrectly created junit does not make any harm to the test because control is
already given to NbModuleSuite.
For me the only workaround is fall back to pre-13781.
> 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