Hi Jesse,

You should use RELEASE120-1 because RELEASE120 had an issue with clusters 
generations. (we try to use the more maven artifacts possible instead of 
generated external) but I miss the cluster in the process.

nb-javac-api is no more present due to legal reasons. I don't know how to 
handle that in an "open" manner. No maven idea too.

My projects use a private Apache Archiva repository where I'm able to populate 
nb-javac by using mvn  deploy:deploy-file 

//
Would be cool, releasing nb-javac on maven central but AFAIK it's owned by 
Oracle.

Best Regards
Eric
  


-----Message d'origine-----
De : Jesse Glick <[email protected]> 
Envoyé : jeudi 9 juillet 2020 21:56
À : [email protected]
Objet : nb-javac-api-RELEASE120.jar does not exist

If I try to replace

https://github.com/stapler/netbeans-stapler-plugin/blob/cf4df727669a0086873f56def0c97542b638ae69/pom.xml#L119

with `RELEASE120`, the build proceeds for a while before complaining that

org/netbeans/external/nb-javac-api/RELEASE120/nb-javac-api-RELEASE120.jar

does not exist, presumably for legal reasons. I can remove

https://github.com/stapler/netbeans-stapler-plugin/blob/cf4df727669a0086873f56def0c97542b638ae69/stapler-plugin/pom.xml#L217-L221
https://github.com/stapler/netbeans-stapler-plugin/blob/cf4df727669a0086873f56def0c97542b638ae69/stapler-plugin/pom.xml#L227-L231

but then I get compilation errors on, for example,

https://github.com/stapler/netbeans-stapler-plugin/blob/cf4df727669a0086873f56def0c97542b638ae69/stapler-plugin/src/main/java/org/kohsuke/stapler/netbeans/plugin/MessagesHint.java#L27-L31

Is there a standard way to use Maven to build modules using `com.sun.source.*` 
against Apache NetBeans? Or an alternate API? I could not find docs on the 
topic that were not really old. I see that there is a `requires.nb.javac` 
property for in-tree Ant-based modules but this does not help.

---------------------------------------------------------------------
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





---------------------------------------------------------------------
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



Reply via email to