Re: maven and java11

2018-11-14 Thread Tibor Digana
Hi Romain, Which class could not be loaded? JAXB or CDI class? Some class from Maven dist or another one? BR, Tibor On Tue, Nov 13, 2018 at 5:35 PM Romain Manni-Bucau wrote: > Hi guys, > > did you plan to fix and upgrade classworlds to support java11? > > The trick is in org.codehaus.plexus.cl

[MNG-5180] Versioning's snapshot version list is not included in metadata merge

2018-11-14 Thread Przemysław Fusik
Hi guys, I have a question related with the maven-metadata.xml file and versioning's snapshot version list. Should the versioning's snapshot version list contain all of the known snapshot versions OR there should be only the last one (related with the timestamp) version ? Thanks in advance ! R

Re: maven and java11

2018-11-14 Thread Romain Manni-Bucau
assume i have a standard package-info.json with @XmlSchema, nothing crazy in jaxb land. jaxb will do a loadClass(module, "com.foo.mypackage.package-info"), this will call findClass(String /*module.getName()*/, String) which will call findClass(String) (default impl in ClassLoader parent class of a

Extension does not work from .mvn/extensions.xml

2018-11-14 Thread J. Lewis Muir
Hello, all! I have an extension https://github.com/imca-cat/profile-activation-advanced that allows property-based profile activation based on an MVEL expression. My problem is that it works === $ mvn help:active-profiles validate ... The following profiles are active: - foo_env-developmen

Re: Extension does not work from .mvn/extensions.xml

2018-11-14 Thread Romain Manni-Bucau
Hi Lewis You can debug using mvnDebug but i think it is cause there is already a property handler - https://github.com/apache/maven/blob/master/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java - so depending the scanning order you take one o

Re: maven and java11

2018-11-14 Thread Hervé BOUTEMY
oh, subtle issue can you provide a unit test, please? regards, Hervé Le mercredi 14 novembre 2018, 16:34:30 CET Romain Manni-Bucau a écrit : > assume i have a standard package-info.json with @XmlSchema, nothing crazy > in jaxb land. > > jaxb will do a loadClass(module, "com.foo.mypackage.packa

Re: maven and java11

2018-11-14 Thread Andreas Dangel
The problem is maybe, that JAXB has been removed with java11: [1] The reference implementation [2] can be used as a replacement. Regards, Andreas 1: https://openjdk.java.net/jeps/320 2: https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.sun.xml.bind%22%20AND%20a%3A%22jaxb-ri%22 Am 14.1

Re: maven and java11

2018-11-14 Thread Romain Manni-Bucau
@Andreas: no, the bug is in plexus as explained before, jaxb is provided but plexus classloader is not java11 compatible @Hervé: i'll try to send a PR on plexus soon, will probably be faster than mail exchanges ;) Romain Manni-Bucau @rmannibucau | Blog