Multi Release Jars and reactors and 'test'

2019-01-02 Thread Enrico Olivelli
Hi,
I have a problem with a multi-module project.
This is the setup (you can find it here [1]):
- I have a module which produces a multi-release jar when built using jdk10+ [2]


jdk10

[10,)





org.apache.maven.plugins
maven-compiler-plugin


jdk10

compile


10

${project.basedir}/src/main/java10

${project.build.outputDirectory}/META-INF/versions/10





org.apache.maven.plugins
maven-jar-plugin


default-jar



true










- a second module depends on the first one

if I run "mvn test" from the root of the reactor it seems that
surefire is picking
ONLY the directory which the jdk10+ special classes

so in the example in herddb-net project surefire uses as classpath
only a part of classes of herddb-utils (the module with produces the
multi-release jar)

Running "mvn verify" works well, and herddb-net is picking up the JAR

Enrico

[1] https://github.com/diennea/herddb/
[2] https://github.com/diennea/herddb/blob/master/herddb-utils/pom.xml

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



[ANN] Apache Maven Assembly Plugin 3.1.1 Released

2019-01-02 Thread Enrico Olivelli
The Apache Maven team is pleased to announce the release of the Apache
Maven Assembly Plugin, version 3.1.1

The Assembly Plugin for Maven is primarily intended to allow users to
aggregate the project output along with its dependencies, modules,
site documentation, and other files into a single distributable
archive.

https://maven.apache.org/plugins/maven-assembly-plugin/

You should specify the version in your project's plugin configuration:


  org.apache.maven.plugins
  maven-assembly-plugin
  3.1.1


You can download the appropriate sources etc. from the download page:

https://maven.apache.org/plugins/maven-assembly-plugin/download.cgi

Release Notes - Maven Assembly Plugin - Version 3.1.1

** Bug
* [MASSEMBLY-675] - Maven Assembly packaging wildcard-excluded dependencies
* [MASSEMBLY-762] - Assembly plugin doesn't exclude transitive
dependencies when excluded by wildcards in dependencies section
* [MASSEMBLY-799] - Exclusion on wildcard, then the assembly would
still package to include the excluded libraries
* [MASSEMBLY-861] - exclusion * also packaged
* [MASSEMBLY-873] - Maven-Assembly-Plugin freezes when building
jar-with-dependencies of project depending on
org.bouncycastle:bcprov-jdk15on:1.58
* [MASSEMBLY-893] - Typo in FAQ

** Task
* [MASSEMBLY-885] - remove unused unpack code
* [MASSEMBLY-898] - upgrade to plexus-io 3.1.1
* [MASSEMBLY-899] - Make deprecated and non used of parameter
useJvmChmod parameter (plugin is now 1.7)
* [MASSEMBLY-901] - Fix trivial javadocs HTML errors
* [MASSEMBLY-902] - Some Integration tests fails if launched with
an very large UID

** Dependency upgrade
* [MASSEMBLY-876] - Upgrade parent to 31
* [MASSEMBLY-882] - Upgrade mave-surefire/failsafe-plugin 2.21.0
* [MASSEMBLY-884] - Upgrade plexus-archiver to 3.6.0
* [MASSEMBLY-890] - Upgrade plexus-interpolation to 1.25
* [MASSEMBLY-892] - Upgrade maven-plugins parent to version 33
* [MASSEMBLY-900] - Upgrade plexus-archiver to 4.0.0


Enjoy,

-The Apache Maven team

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