> -----Original Message-----
> From: Markus KARG
> Sent: Monday, April 13, 2020 1:44 PM
> 
> What users finally expect is to have multirelease JAR building being a Maven 
> native
> functionality. This means, it should be as-easy-as putting code in these 
> folders:
> 
> src/main/java/9/
> src/main/java/
> src/main/java/11/

JEP 238 does not require any specific source folder organization. Please do not 
step on 
the contents of the /java/ folder. You can accomplish the same with /java/ | 
/java.9/ | /java.11/ .

Doing so will break many, many assumptions those have made in many, many 
existing packages.

In fact, for those already having large multi release source trees, having POM 
properties to 
specify the java version source folders would be handy.

> 
> then perform
> 
> mvn clean package
> 
> to get a multi-release jar -- without *any* special switches, config, or 
> POM.xml tweaking,
> and *all* maven-*-plugins will perform the necessary steps on their own (e. 
> g. compiler
> runs multiple times as the compiler plugins knows this is needed when it sees
> /java/number/ folders).

I concur, strongly, otherwise.

> 
> -Markus

-Jason


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

Reply via email to