ebarboni commented on code in PR #9624:
URL: https://github.com/apache/netbeans/pull/9624#discussion_r4143161797
##########
platform/build.xml:
##########
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
Review Comment:
I'm not sure to have all the clues, but currently we try go get all
mavenized external pass to the plugin to generated pom.
pom for module are generated by crawling the "install directory" for jar and
examine manifest trying to use maven dependencies as much as possible. if not
reachable like commons-codec (as we patch it) => it goes to groupId
org.netbeans.external. All the non maven available lib are put to external
groupID
groupid api/modules triage is done according to rule by the plugin (some
user had issue in the past because it may change from a version to the next)
current pom for clusters are not made for build (there is no modules
sections ) but only dependencies like
this (simplified)
```
<groupId>org.netbeans.cluster</groupId>
<artifactId>harness</artifactId>
<packaging>pom</packaging>
<dependencies>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-nbjunit</artifactId>
<version>RELEASE310</version>
<type>nbm-file</type>
</dependency>
</dependencies>
```
this make the pom usefull to build an app but would be disconnected in the
netbeans source.
The testing scope also completly ignored in the plugin generated pom.
This is not simple
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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