You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Hervé BOUTEMY <he...@free.fr> on 2015/07/09 01:07:52 UTC
[DISCUSSION] JEP 238: Multi-Version JAR Files
Hi,
In april, we had a discussion about Multi-Version JAR Files.
Since then, we worked to create a sample project built with Maven, to see how
Maven configuration would currently look like, before trying to create new
features to make more compact configuration and avoid multi-modules creation.
Here is the result:
https://github.com/hboutemy/maven-jep238
AFAIK, the result of this code is a valid MVJar, and this gives a good
overview of a basic Maven recipe to make MVJars.
There is one limitation I have with assembly in the last module: I can't
exclude /META-INF content from every versioned content (ie avoid /META-
INF/versions/*/META-INF in final MVJar).
Is it me or excludes don't work as expected in assembly plugin?
Regards,
Hervé
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [DISCUSSION] JEP 238: Multi-Version JAR Files
Posted by Hervé BOUTEMY <he...@free.fr>.
that's it: I couldn't find this in assembly descriptor configuration
fix merged
thank you Robert
Le jeudi 9 juillet 2015 19:15:29 Robert Scholte a écrit :
> <unpackOptions>
> <excludes>
> <exclude>/META-INF/**</exclude>
> </excludes>
> </unpackOptions>
> ?
>
> Robert
>
> Op Thu, 09 Jul 2015 01:07:52 +0200 schreef Hervé BOUTEMY
>
> <he...@free.fr>:
> > Hi,
> >
> > In april, we had a discussion about Multi-Version JAR Files.
> >
> > Since then, we worked to create a sample project built with Maven, to
> > see how
> > Maven configuration would currently look like, before trying to create
> > new
> > features to make more compact configuration and avoid multi-modules
> > creation.
> >
> > Here is the result:
> > https://github.com/hboutemy/maven-jep238
> >
> > AFAIK, the result of this code is a valid MVJar, and this gives a good
> > overview of a basic Maven recipe to make MVJars.
> >
> > There is one limitation I have with assembly in the last module: I can't
> > exclude /META-INF content from every versioned content (ie avoid /META-
> > INF/versions/*/META-INF in final MVJar).
> >
> > Is it me or excludes don't work as expected in assembly plugin?
> >
> > Regards,
> >
> > Hervé
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [DISCUSSION] JEP 238: Multi-Version JAR Files
Posted by Robert Scholte <rf...@apache.org>.
<unpackOptions>
<excludes>
<exclude>/META-INF/**</exclude>
</excludes>
</unpackOptions>
?
Robert
Op Thu, 09 Jul 2015 01:07:52 +0200 schreef Hervé BOUTEMY
<he...@free.fr>:
> Hi,
>
> In april, we had a discussion about Multi-Version JAR Files.
>
> Since then, we worked to create a sample project built with Maven, to
> see how
> Maven configuration would currently look like, before trying to create
> new
> features to make more compact configuration and avoid multi-modules
> creation.
>
> Here is the result:
> https://github.com/hboutemy/maven-jep238
>
> AFAIK, the result of this code is a valid MVJar, and this gives a good
> overview of a basic Maven recipe to make MVJars.
>
> There is one limitation I have with assembly in the last module: I can't
> exclude /META-INF content from every versioned content (ie avoid /META-
> INF/versions/*/META-INF in final MVJar).
>
> Is it me or excludes don't work as expected in assembly plugin?
>
> Regards,
>
> Hervé
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org