Re: MJAR maven 4 usage and deps

"Martin Desruisseaux via dev" <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.devel
Message-ID <[email protected]>
Le 27/08/2026 à 09:19, Romain Manni-Bucau a écrit :

> I'm having a headache to see how our new design with types for dependencies
> and mjar layout work together: how can i get different deps for different
> java version in the same jar?

I'm not sure which dependencies the question is about:

  * The "Classpath" attribute in MANIFEST.MF?
  * The module-info.class?
  * The pom.xml in META-INF/maven directory?

To my knowledge, there is no mechanism for providing different values of 
the above depending on the version. It could be possible for 
`module-info.class` but I'm not completely sure that it would work.

     Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.