You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Robert Scholte <rf...@apache.org> on 2015/12/31 13:01:23 UTC
[Jigsaw] Apache Maven status update
Hi,
With JDK-8144879[1] being fixed in the latest jigsaw-ea I've been able to
build a subset of a multimodule project.
The next blocking issue requires some work by the Apache Maven team and/or
at the QDox project[2].
QDox is a Java Parser which is used to read javadoc and/or annotations
from source in order to generate xml or other Java files.
With the module-info.java in place we get a ParserException, which is of
course expected at this moment.
I'll pick this up, since I'm still the projectlead of QDox.
Project Verona
With Project Verona the java version scheme has changed and already one
component has been identified to have an issue with it, being the
plexus-archiver. We've received a pull-request[3], which has already been
accepted.
The plexus-archiver is used by almost every "packaging" plugin, so the
impact is quite huge.
Once this component has been released, you don't have to wait for the
effected plugins to be released too: just add the new plexus-archiver as a
dependency to the plugin in your pom.xml
best wishes for 2016,
Robert Scholte
[1] https://bugs.openjdk.java.net/browse/JDK-8144879
[2] https://github.com/paul-hammant/qdox
[3] https://github.com/codehaus-plexus/plexus-archiver/pull/12
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [Jigsaw] Apache Maven status update
Posted by Tibor Digana <ti...@googlemail.com>.
Is't strange that Sun/Oracle decided now to change to New Version
String-Scheme
however Java SE 1.5 was called Java SE 5 already 11 years ago.
http://openjdk.java.net/jeps/223
I think maven-invoker-plugin or users may have the same problem like
pluxus-archiver.
invoker.properties
invoker.java.version = 1.7+
On Thu, Dec 31, 2015 at 1:01 PM, Robert Scholte <rf...@apache.org>
wrote:
> Hi,
>
> With JDK-8144879[1] being fixed in the latest jigsaw-ea I've been able to
> build a subset of a multimodule project.
> The next blocking issue requires some work by the Apache Maven team and/or
> at the QDox project[2].
> QDox is a Java Parser which is used to read javadoc and/or annotations
> from source in order to generate xml or other Java files.
> With the module-info.java in place we get a ParserException, which is of
> course expected at this moment.
> I'll pick this up, since I'm still the projectlead of QDox.
>
> Project Verona
>
> With Project Verona the java version scheme has changed and already one
> component has been identified to have an issue with it, being the
> plexus-archiver. We've received a pull-request[3], which has already been
> accepted.
> The plexus-archiver is used by almost every "packaging" plugin, so the
> impact is quite huge.
> Once this component has been released, you don't have to wait for the
> effected plugins to be released too: just add the new plexus-archiver as a
> dependency to the plugin in your pom.xml
>
> best wishes for 2016,
> Robert Scholte
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8144879
> [2] https://github.com/paul-hammant/qdox
> [3] https://github.com/codehaus-plexus/plexus-archiver/pull/12
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
--
Cheers
Tibor
Re: [Jigsaw] Apache Maven status update
Posted by Robert Scholte <rf...@apache.org>.
Op Tue, 05 Jan 2016 22:55:03 +0100 schreef Jochen Wiedmann
<jo...@gmail.com>:
> On Thu, Dec 31, 2015 at 1:01 PM, Robert Scholte <rf...@apache.org>
> wrote:
>
>> The next blocking issue requires some work by the Apache Maven team
>> and/or
>> at the QDox project[2].
>> QDox is a Java Parser which is used to read javadoc and/or annotations
>> from
>> source in order to generate xml or other Java files.
>> With the module-info.java in place we get a ParserException, which is of
>> course expected at this moment.
>
> Hi, Robert,
>
> wouldn't it be possible to simply ignore **/module-info.javaa?
>
> Sounds like the obvious solution to me.
>
> Jochen
QDox has no such option, there was never a need for it: if a java-file is
within reach, just parse it.
I've talked with Hervé Boutemy about this and in this case we don't need
source parsing anymore. Everything has already been transformed from
javadoc to Annotations.
However, for extracting this info both strategies where executed. I've
improved the corresponding maven-plugin so you can choose which
extractor(s) to use[1].
The result is that I can run "mvn package" with success for the subset of
this Maven multimodule project.
The next challenge is: "mvn compile". This means there are no jars
available yet within the reactor, those Maven modules still have the
(exploded) directory with classes. Up until now the 'target/classes' was
used, but according to JEP261 it now must look something like
target/mods/module.name/ (notice the extra directory). Maven uses the
Artifact.file field, which points to the classes output directory after
"compile" and points to the jar after "package". A lot of plugins build up
the classpath based in this information.
So I'm looking for a solution there the compiler can use target/mods as
-mp argument, but where other plugins can still use it as a classpath. I
want to prevent that users need to update almost *every* maven-plugin when
using Java9.
Robert
[1]
https://github.com/codehaus-plexus/plexus-containers/commits/plexus-containers-1.x/plexus-component-metadata
>
> ---------------------------------------------------------------------
> 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: [Jigsaw] Apache Maven status update
Posted by Jochen Wiedmann <jo...@gmail.com>.
On Thu, Dec 31, 2015 at 1:01 PM, Robert Scholte <rf...@apache.org> wrote:
> The next blocking issue requires some work by the Apache Maven team and/or
> at the QDox project[2].
> QDox is a Java Parser which is used to read javadoc and/or annotations from
> source in order to generate xml or other Java files.
> With the module-info.java in place we get a ParserException, which is of
> course expected at this moment.
Hi, Robert,
wouldn't it be possible to simply ignore **/module-info.javaa?
Sounds like the obvious solution to me.
Jochen
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [Jigsaw] Apache Maven status update
Posted by Hervé BOUTEMY <he...@free.fr>.
Hi,
Great news!
Notice that source parsing is not so crucial noawadays, since we use java 5
annotations in general, both for plexus/sisu and plugin-tools: if you
deactivate javadoc parsing, you should avoid the issue.
This xould permit work in parallel:
- continue Jigsaw tests
- fix the QDox source parsing issue (since it can still be useful for people
not wanting to upgrade)
Regards,
Hervé
Le jeudi 31 décembre 2015 13:01:23 Robert Scholte a écrit :
> Hi,
>
> With JDK-8144879[1] being fixed in the latest jigsaw-ea I've been able to
> build a subset of a multimodule project.
> The next blocking issue requires some work by the Apache Maven team and/or
> at the QDox project[2].
> QDox is a Java Parser which is used to read javadoc and/or annotations
> from source in order to generate xml or other Java files.
> With the module-info.java in place we get a ParserException, which is of
> course expected at this moment.
> I'll pick this up, since I'm still the projectlead of QDox.
>
> Project Verona
>
> With Project Verona the java version scheme has changed and already one
> component has been identified to have an issue with it, being the
> plexus-archiver. We've received a pull-request[3], which has already been
> accepted.
> The plexus-archiver is used by almost every "packaging" plugin, so the
> impact is quite huge.
> Once this component has been released, you don't have to wait for the
> effected plugins to be released too: just add the new plexus-archiver as a
> dependency to the plugin in your pom.xml
>
> best wishes for 2016,
> Robert Scholte
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8144879
> [2] https://github.com/paul-hammant/qdox
> [3] https://github.com/codehaus-plexus/plexus-archiver/pull/12
>
> ---------------------------------------------------------------------
> 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