What should be the correct way for openjdk 13 maven pom ?

2019-11-23 Thread Karen Goh
Hi,

I am having problems with maven compiling java openjdk 13 in Eclipse - 
jee-2019-09, despite following several examples from stackoverflow.

Could someone let me know if there is anything amiss from below pom.xml :



UTF-8
13
13
13   






maven-clean-plugin
3.0.0




maven-resources-plugin
3.0.2



maven-compiler-plugin
3.8.1


13

--enable-preview





maven-surefire-plugin
2.20.1



maven-war-plugin
3.2.0

xxx




maven-install-plugin
2.5.2



maven-deploy-plugin
2.8.2






Tks & regards,
Karen


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: What should be the correct way for openjdk 13 maven pom ?

2019-11-24 Thread Filipe Sousa
Hi

> On 24 Nov 2019, at 05:01, Karen Goh  wrote:
> 
> Hi,
> 
> I am having problems with maven compiling java openjdk 13 in Eclipse - 
> jee-2019-09, despite following several examples from stackoverflow.
> 
> Could someone let me know if there is anything amiss from below pom.xml :
> 
> 
>   
> UTF-8
>   13
>   13
>   13   
>   
> 
> 
>   
>   
>   
> maven-clean-plugin
>   3.0.0
>   
>   
>   
>   
> maven-resources-plugin
>   3.0.2
>   
>   
>   
> maven-compiler-plugin
>   3.8.1
>   
>   
> 13


The correct parameter is 13 but can be omitted because it 
was previously declared in properties
 
https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#release
 



>   
>   --enable-preview
>   
>   
>   
>   
>   
> maven-surefire-plugin
>   2.20.1
>   
>   
>   
> maven-war-plugin
>   3.2.0
>   
>   xxx
>   
>   
>   
>   
> maven-install-plugin
>   2.5.2
>   
>   
>   
> maven-deploy-plugin
>   2.8.2
>   
>   
>   
>   
> 
> 
> Tks & regards,
> Karen
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 



Re: What should be the correct way for openjdk 13 maven pom ?

2019-11-24 Thread Michael Osipov

Am 2019-11-24 um 06:01 schrieb Karen Goh:

Hi,

I am having problems with maven compiling java openjdk 13 in Eclipse - 
jee-2019-09, despite following several examples from stackoverflow.


You cannot compile OpenJDK with Maven. OpenJDK uses a GNU autoconf/gmake 
setup.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org