You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Jonathan Bergh <be...@gmail.com> on 2019/03/26 10:15:58 UTC

Netbeans 10, Java 11, Maven

Hi everyone,

Does anyone know the "correct" / canonical structure for a Java 11 Maven
project in which there are multiple Java 11 modules defined? Since i
usually use the Ant Java templates in Netbeans, i am not very familiar with
Maven etc but the goal is to do something similar to the Netbeans Ant
Modular Project?

I have read you can have multiple Maven modules (subprojects) but i am not
sure if these are considered synonymous with Java 11 modules now that java
11 is out.

If there isnt a canonical structure for Java 11 (there is only an example
for Java 8 style projects on the Maven website), would someone be able to
suggest one?

I have the basic POM set up to compile Java 11 source fine.

Thanks very much, any advice much appreciated
Regards
Jon

Re: Netbeans 10, Java 11, Maven

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Maybe this:

https://winterbe.com/posts/2018/08/29/migrate-maven-projects-to-java-11-jigsaw/

Gj

On Tue, Mar 26, 2019 at 11:16 AM Jonathan Bergh <be...@gmail.com>
wrote:

> Hi everyone,
>
> Does anyone know the "correct" / canonical structure for a Java 11 Maven
> project in which there are multiple Java 11 modules defined? Since i
> usually use the Ant Java templates in Netbeans, i am not very familiar with
> Maven etc but the goal is to do something similar to the Netbeans Ant
> Modular Project?
>
> I have read you can have multiple Maven modules (subprojects) but i am not
> sure if these are considered synonymous with Java 11 modules now that java
> 11 is out.
>
> If there isnt a canonical structure for Java 11 (there is only an example
> for Java 8 style projects on the Maven website), would someone be able to
> suggest one?
>
> I have the basic POM set up to compile Java 11 source fine.
>
> Thanks very much, any advice much appreciated
> Regards
> Jon
>