Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.5
-
Fix Version/s: 3.8
-
Labels:None
-
Number of attachments :
Description
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
<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>
(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.
Issue Links
- depends upon
-
MNBMODULE-190
*.external not supported for secondary artifacts
-
-
MNBMODULE-192
application/target/nb/$cluster/update_tracking/*.xml missing entries for *.external
-
-
MNBMODULE-170
Use *.external in populate-repository
-
At least reporting this as an error in revision 13781.