Re: Open Test Alliance

2015-11-18 Thread Paul Benedict
Hi Johannes. I am not a committer on the Surefire plugin but I wanted to
offer my opinion anyway to you.

I took a look at JUnit 5 API. My only criticism is the @Context annotation.
I don't think developers should be encouraged to write inner classes for
the sake of grouping tests. I believe this has already been sufficiently
covered with the use of the new @Tag and/or by method naming conventions
(like testWithChild1, testWithChild2, etc.).

Furthermore, JEE has already has an established @Context annotation in many
of the EE specs which are associated with dependency injection. I think
it's a bit jaring to see JUnit's @Context be so different. My advice is to
either drop @Context (I don't like it's current meaning) or re-purpose it
to be part of dependency injection -- possibly completely replacing the
@Named injection and giving one common object to retrieve whatever you need
to know about the test execution context/metadata.

Cheers,
Paul

On Wed, Nov 18, 2015 at 2:18 AM, Andreas Gudian 
wrote:

> Forwarding to dev@
>
> -- Forwarded Message --
> From: *Johannes Link* 
> Date: 18/11/2015
> Subject: Open Test Alliance
>
>
> Hi you all,
>
> I'm writing to you in your roles as committers to the maven sure-fire
> plugin. Since we couldn't figure out the "main contributors" (in case
> you have such a thing), I randomly picked a few from:
> https://maven.apache.org/surefire/maven-surefire-plugin/team-list.html
> Maybe we can communicate through just one or a few people later, if
> necessary. If the right person is not in the list, please forward the
> email or let me know who I should contact. Let's get to the point:
>
> We, the JUnit Lambda team, are reaching out to you for collaboration
> on an initiative we are tentatively calling the Open Test Alliance.
>
> As we all know, there is no standard for testing on the JVM. The only
> common building block we have is java.lang.AssertionError. That's
> great for signaling that a test has failed, but it doesn't go far
> enough. Each testing framework is therefore forced to fill the gap
> with custom subclasses of AssertionError or RuntimeException to
> provide a richer feature set to end users. The downside is that each
> framework has its *own* set of custom errors and exceptions, and this
> makes it a challenge for frameworks to interoperate. For example,
> JUnit has long supported the notion of a failed assumption via its
> AssumptionViolatedException, but assertion frameworks like AssertJ
> cannot integrate that feature without a direct dependency on JUnit.
> Furthermore, the status quo makes the work of IDE and build tools more
> difficult than it should be.
>
> The solution is to create a foundation that we can all build on!
>
> Based on recent discussions with IDE and build tool developers from
> Eclipse, Gradle, and IntelliJ, the JUnit Lambda team has developed a
> proposal for an open source project to provide a minimal common
> foundation for testing libraries on the JVM. The primary goal of the
> project is to enable testing frameworks like JUnit, TestNG, Spock,
> etc. and third-party assertion libraries like Hamcrest, AssertJ, etc.
> to use a common set of exceptions that IDEs and build tools can
> support in a consistent manner across all testing scenarios -- for
> example, for consistent handling of failed expectations and failed
> assumptions as well as visualization of test execution in IDEs and
> reports.
>
> We have already begun with a small set of errors and exceptions that
> we consider to be common for all testing and assertion frameworks. In
> fact, we are already using these exceptions in the JUnit Lambda
> Prototype [1].
>
> Please take a look at our current draft in the open-test-alliance [2]
> project and let us know what you think.
>
> Furthermore, in order to foster open discussions, we have created a
> GitHub issue [3] where you are welcome to comment and collaborate.
>
> We look forward to your feedback and encourage you to join us in this
> initiative to make testing easier for everyone on the JVM.
>
> Best regards,
>
> Johannes, in the name of the JUnit Lambda Team
>
>
> [1] https://github.com/junit-team/junit-lambda/wiki/Prototype
> [2]
> https://github.com/junit-team/junit-lambda/tree/master/open-test-alliance
> [3] https://github.com/junit-team/junit-lambda/issues/12
>


Re: [ANN] Apache Maven Version 3.3.9 Released

2015-11-18 Thread Karl Heinz Marbaise

Hi,

On 11/18/15 10:12 AM, Maxim Solodovnik wrote:

it seems not all mirrors are ready for the update :(
this one
http://apache-mirror.rbc.ru/pub/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
gaves 404


I'm the culprit...I was not patient enough to wait for the sync...
Sorry...

Kind regards
Karl Heinz Marbaise


On Wed, Nov 18, 2015 at 1:26 PM, Tony Chemit  wrote:


On Wed, 18 Nov 2015 07:11:17 + (UTC)
khmarba...@apache.org (Karl Heinz Marbaise) wrote:


The Apache Maven team is pleased to announce the release of
Apache Maven 3.3.9.

http://maven.apache.org/

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

http://maven.apache.org/download.cgi


Hi,

Good job for this new version, many thanks for it.

The download page points to the 3.3.3 version!

--


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



Re: Java 9 - Java Modules aka Jigsaw

2015-11-18 Thread Robert Scholte

Hi Tibor,

"Whatever critical or non-critical, the JDK dependency appears."

Just wondering how you collected these information. I don't recognize all  
packages as being marked as JDK Internal. The list is described as JEP  
260: Encapsulate Most Internal APIs[1]


thanks,
Robert

[1] http://openjdk.java.net/jeps/260

Op Mon, 16 Nov 2015 17:48:42 +0100 schreef Tibor Digana  
:



Our plugins are dependent on internal Sun JDK packages.
This is the list of plugins:Java classes and JDK classes.
Whatever critical or non-critical, the JDK dependency appears.

maven-jdeps-plugin:Base64Codec sun.misc.BASE64Decoder
maven-changes-plugin:ProjectJavamailMailSender
com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory?
maven-changes-plugin:FeedGenerator com.sun.syndication.*
maven-javadoc-plugin:AbstractJavadocMojo   Javadoc:
com.sun.tools.javadoc.*, com.sun.tools.doclets.*,
com.sun.tools.doclets.ToDoTaglet
maven-javadoc-plugin:JavadocUtil   Javadoc:
com.sun.tools.doclets.Taglet,
maven-ant-plugin:AntBuildWriterUtilorg.w3c.*
maven-site-plugin:WebXmlTest   org.w3c.*
maven-pdm-plugin:CpdReportTest org.w3c.*


On 11/16/15, Tibor Digana  wrote:

@Arno What it means for you to "how it will break maven".
Does it mean J9 deprecates Maven. Too much effort for the Oracle, is not
it?

On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] <
ml-node+s40175n5851980...@n5.nabble.com> wrote:


Hi all,

  This week I was at Devoxx conférence where there were various talks
about
the incoming JDK 9 and the new Java Modules. If this is a subject that
you
are interested in and want to know more (and especially how it will  
break

maven) I recommend you to watch the recording of the following sessions

Keynote by Mark Reinhold
https://www.youtube.com/watch?v=l1s7R85GF1A

Introduction to Modular Development by Mark Reinhold/Alan Bateman
https://www.youtube.com/watch?v=qr4O4SbzihQ

Prepare for JDK 9! by Mark Reinhold/Alan Bateman
https://www.youtube.com/watch?v=KZfbRuvv5qc

Modular Development with JDK 9 by Mark Reinhold/Alan Bateman
https://www.youtube.com/watch?v=V6ycn1-QQV0

Advanced Modular Development by Mark Reinhold/Alan Bateman
https://www.youtube.com/watch?v=SU1WFX8yeKM

Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman
https://www.youtube.com/watch?v=UKC0uC7QUkI

Ask the JDK Architects
https://www.youtube.com/watch?v=7vvx505mu3s

Form now all Devoxx sessions are freely available on Youtube at D+1

https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg

As Jason is in the expert group I imagine that he already started to
think
about how to adapt maven to be able to easily consume/produce classical
jar
files and J9+ Java Modules.

Cheers,

--
-
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier


--
If you reply to this email, your message will be added to the  
discussion

below:

http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980.html
To start a new topic under Maven Developers, email
ml-node+s40175n142166...@n5.nabble.com
To unsubscribe from Maven Developers, click here

.
NAML








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



Re: [ANN] Apache Maven Version 3.3.9 Released

2015-11-18 Thread Maxim Solodovnik
it seems not all mirrors are ready for the update :(
this one
http://apache-mirror.rbc.ru/pub/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
gaves 404

On Wed, Nov 18, 2015 at 1:26 PM, Tony Chemit  wrote:

> On Wed, 18 Nov 2015 07:11:17 + (UTC)
> khmarba...@apache.org (Karl Heinz Marbaise) wrote:
>
> > The Apache Maven team is pleased to announce the release of
> > Apache Maven 3.3.9.
> >
> > http://maven.apache.org/
> >
> > You can download the appropriate sources etc. from the download page
> >
> > http://maven.apache.org/download.cgi
> >
> Hi,
>
> Good job for this new version, many thanks for it.
>
> The download page points to the 3.3.3 version!
>
> --
> Tony Chemit
> 
> tél: +33 (0) 2 40 50 29 28
> http://www.codelutin.com
> email: che...@codelutin.com
> twitter: https://twitter.com/tchemit
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>


-- 
WBR
Maxim aka solomax


Fwd: Open Test Alliance

2015-11-18 Thread Andreas Gudian
Forwarding to dev@

-- Forwarded Message --
From: *Johannes Link* 
Date: 18/11/2015
Subject: Open Test Alliance


Hi you all,

I'm writing to you in your roles as committers to the maven sure-fire
plugin. Since we couldn't figure out the "main contributors" (in case
you have such a thing), I randomly picked a few from:
https://maven.apache.org/surefire/maven-surefire-plugin/team-list.html
Maybe we can communicate through just one or a few people later, if
necessary. If the right person is not in the list, please forward the
email or let me know who I should contact. Let's get to the point:

We, the JUnit Lambda team, are reaching out to you for collaboration
on an initiative we are tentatively calling the Open Test Alliance.

As we all know, there is no standard for testing on the JVM. The only
common building block we have is java.lang.AssertionError. That's
great for signaling that a test has failed, but it doesn't go far
enough. Each testing framework is therefore forced to fill the gap
with custom subclasses of AssertionError or RuntimeException to
provide a richer feature set to end users. The downside is that each
framework has its *own* set of custom errors and exceptions, and this
makes it a challenge for frameworks to interoperate. For example,
JUnit has long supported the notion of a failed assumption via its
AssumptionViolatedException, but assertion frameworks like AssertJ
cannot integrate that feature without a direct dependency on JUnit.
Furthermore, the status quo makes the work of IDE and build tools more
difficult than it should be.

The solution is to create a foundation that we can all build on!

Based on recent discussions with IDE and build tool developers from
Eclipse, Gradle, and IntelliJ, the JUnit Lambda team has developed a
proposal for an open source project to provide a minimal common
foundation for testing libraries on the JVM. The primary goal of the
project is to enable testing frameworks like JUnit, TestNG, Spock,
etc. and third-party assertion libraries like Hamcrest, AssertJ, etc.
to use a common set of exceptions that IDEs and build tools can
support in a consistent manner across all testing scenarios -- for
example, for consistent handling of failed expectations and failed
assumptions as well as visualization of test execution in IDEs and
reports.

We have already begun with a small set of errors and exceptions that
we consider to be common for all testing and assertion frameworks. In
fact, we are already using these exceptions in the JUnit Lambda
Prototype [1].

Please take a look at our current draft in the open-test-alliance [2]
project and let us know what you think.

Furthermore, in order to foster open discussions, we have created a
GitHub issue [3] where you are welcome to comment and collaborate.

We look forward to your feedback and encourage you to join us in this
initiative to make testing easier for everyone on the JVM.

Best regards,

Johannes, in the name of the JUnit Lambda Team


[1] https://github.com/junit-team/junit-lambda/wiki/Prototype
[2]
https://github.com/junit-team/junit-lambda/tree/master/open-test-alliance
[3] https://github.com/junit-team/junit-lambda/issues/12


Re: Java 9 - Java Modules aka Jigsaw

2015-11-18 Thread Robert Scholte

Hi,

I've started patching the plexus-compiler so we can start compiling  
projects with module-info


See https://github.com/codehaus-plexus/plexus-compiler/tree/jigsaw-ea

However, I can't find detailed info about the -modulepath argument.

Usage: javac  
where possible options include:
...
 -classpath   Specify where to find user class files and  
annotation processors

...
 -modulepath  Specify where to find user module class files

However, I can't simply add a range of jar files like I can with  
classpath, or could this be a Windows issue?


error: illegal argument for -modulepath:  
F:\java-workspace\apache-maven-maven\maven\maven-builder-support\target\maven-builder-support-3.3.10-SNAPSHOT.jar


thanks,
Robert

Op Fri, 13 Nov 2015 15:20:19 +0100 schreef Arnaud Héritier  
:



Hi all,

  This week I was at Devoxx conférence where there were various talks  
about
the incoming JDK 9 and the new Java Modules. If this is a subject that  
you

are interested in and want to know more (and especially how it will break
maven) I recommend you to watch the recording of the following sessions

Keynote by Mark Reinhold
https://www.youtube.com/watch?v=l1s7R85GF1A

Introduction to Modular Development by Mark Reinhold/Alan Bateman
https://www.youtube.com/watch?v=qr4O4SbzihQ

Prepare for JDK 9! by Mark Reinhold/Alan Bateman
https://www.youtube.com/watch?v=KZfbRuvv5qc

Modular Development with JDK 9 by Mark Reinhold/Alan Bateman
https://www.youtube.com/watch?v=V6ycn1-QQV0

Advanced Modular Development by Mark Reinhold/Alan Bateman
https://www.youtube.com/watch?v=SU1WFX8yeKM

Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman
https://www.youtube.com/watch?v=UKC0uC7QUkI

Ask the JDK Architects
https://www.youtube.com/watch?v=7vvx505mu3s

Form now all Devoxx sessions are freely available on Youtube at D+1

https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg

As Jason is in the expert group I imagine that he already started to  
think
about how to adapt maven to be able to easily consume/produce classical  
jar

files and J9+ Java Modules.

Cheers,


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



Re: [VOTE] Apache Maven Shared Component: Maven Mapping Version 3.0.0

2015-11-18 Thread Tibor Digana
+1
sha1 checksum ok;
MSHARED-449 LGTM

On Wed, Nov 18, 2015 at 4:43 AM, Hervé BOUTEMY [via Maven] <
ml-node+s40175n5852361...@n5.nabble.com> wrote:

> +1
>
> Regards,
>
> Hervé
>
> Le dimanche 15 novembre 2015 13:10:40 Karl Heinz Marbaise a écrit :
>
> > Hi,
> >
> > Note: This is a Maven 3.0 / JDK 6 release
> >
> > We solved 7 issues:
> >
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317922
> > rsion=12333967
> >
> > There are several issue open:
> >
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MSHARED%20AND%20s
> > tatus%20%3D%20Open%20ORDER%20BY%20priority%20DESC
> >
> > Staging repo:
> > https://repository.apache.org/content/repositories/maven-1235
> >
> https://repository.apache.org/content/repositories/maven-1235/org/apache/mav
> > en/shared/maven-mapping/3.0.0/maven-mapping-3.0.0-source-release.zip
> >
> > Source release checksum(s):
> > maven-mapping-3.0.0-source-release.zip sha1:
> > d4ce00a088b37911287b7c6b6110bbfd6bc5c749
> >
> > Staging site:
> > http://maven.apache.org/shared-archives/maven-mapping-LATEST/
> >
> >
> > Guide to testing staged releases:
> > http://maven.apache.org/guides/development/guide-testing-releases.html
> >
> > Vote is open for 72 hours.
> >
> > [ ] +1
> > [ ] +0
> > [ ] -1
> >
> > Kind regards
> > Karl Heinz Marbaise
> >
> > -
> > To unsubscribe, e-mail: [hidden email]
> 
> > For additional commands, e-mail: [hidden email]
> 
>
>
> -
> To unsubscribe, e-mail: [hidden email]
> 
> For additional commands, e-mail: [hidden email]
> 
>
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://maven.40175.n5.nabble.com/VOTE-Apache-Maven-Shared-Component-Maven-Mapping-Version-3-0-0-tp5852118p5852361.html
> To start a new topic under Maven Developers, email
> ml-node+s40175n142166...@n5.nabble.com
> To unsubscribe from Maven Developers, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://maven.40175.n5.nabble.com/VOTE-Apache-Maven-Shared-Component-Maven-Mapping-Version-3-0-0-tp5852118p5852439.html
Sent from the Maven Developers mailing list archive at Nabble.com.

Re: Java 9 - Java Modules aka Jigsaw

2015-11-18 Thread Paul Benedict
I believe the -modulepath option is for specifying a directory, not a jar.
Do something like this:
javac -modulepath mods YourClass.java


Cheers,
Paul

On Wed, Nov 18, 2015 at 4:03 PM, Robert Scholte 
wrote:

> Hi,
>
> I've started patching the plexus-compiler so we can start compiling
> projects with module-info
>
> See https://github.com/codehaus-plexus/plexus-compiler/tree/jigsaw-ea
>
> However, I can't find detailed info about the -modulepath argument.
>
> Usage: javac  
> where possible options include:
> ...
>  -classpath   Specify where to find user class files and
> annotation processors
> ...
>  -modulepath  Specify where to find user module class files
>
> However, I can't simply add a range of jar files like I can with
> classpath, or could this be a Windows issue?
>
> error: illegal argument for -modulepath:
> F:\java-workspace\apache-maven-maven\maven\maven-builder-support\target\maven-builder-support-3.3.10-SNAPSHOT.jar
>
> thanks,
> Robert
>
> Op Fri, 13 Nov 2015 15:20:19 +0100 schreef Arnaud Héritier <
> aherit...@gmail.com>:
>
>
> Hi all,
>>
>>   This week I was at Devoxx conférence where there were various talks
>> about
>> the incoming JDK 9 and the new Java Modules. If this is a subject that you
>> are interested in and want to know more (and especially how it will break
>> maven) I recommend you to watch the recording of the following sessions
>>
>> Keynote by Mark Reinhold
>> https://www.youtube.com/watch?v=l1s7R85GF1A
>>
>> Introduction to Modular Development by Mark Reinhold/Alan Bateman
>> https://www.youtube.com/watch?v=qr4O4SbzihQ
>>
>> Prepare for JDK 9! by Mark Reinhold/Alan Bateman
>> https://www.youtube.com/watch?v=KZfbRuvv5qc
>>
>> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman
>> https://www.youtube.com/watch?v=V6ycn1-QQV0
>>
>> Advanced Modular Development by Mark Reinhold/Alan Bateman
>> https://www.youtube.com/watch?v=SU1WFX8yeKM
>>
>> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman
>> https://www.youtube.com/watch?v=UKC0uC7QUkI
>>
>> Ask the JDK Architects
>> https://www.youtube.com/watch?v=7vvx505mu3s
>>
>> Form now all Devoxx sessions are freely available on Youtube at D+1
>>
>> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg
>>
>> As Jason is in the expert group I imagine that he already started to think
>> about how to adapt maven to be able to easily consume/produce classical
>> jar
>> files and J9+ Java Modules.
>>
>> Cheers,
>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>


Re: Java 9 - Java Modules aka Jigsaw

2015-11-18 Thread Tibor Digana
Robert, I was watching the video and the message is important.
They want the devs using standard Java API.
It's a little paranoea around to replace Base64. Yes it's used a lot but
easy to replace with standard API.

On Wed, Nov 18, 2015 at 9:12 PM, Robert Scholte 
wrote:

> Hi Tibor,
>
> "Whatever critical or non-critical, the JDK dependency appears."
>
> Just wondering how you collected these information. I don't recognize all
> packages as being marked as JDK Internal. The list is described as JEP 260:
> Encapsulate Most Internal APIs[1]
>
> thanks,
> Robert
>
> [1] http://openjdk.java.net/jeps/260
>
> Op Mon, 16 Nov 2015 17:48:42 +0100 schreef Tibor Digana <
> tibordig...@apache.org>:
>
>
> Our plugins are dependent on internal Sun JDK packages.
>> This is the list of plugins:Java classes and JDK classes.
>> Whatever critical or non-critical, the JDK dependency appears.
>>
>> maven-jdeps-plugin:Base64Codec sun.misc.BASE64Decoder
>> maven-changes-plugin:ProjectJavamailMailSender
>> com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory?
>> maven-changes-plugin:FeedGenerator com.sun.syndication.*
>> maven-javadoc-plugin:AbstractJavadocMojo   Javadoc:
>> com.sun.tools.javadoc.*, com.sun.tools.doclets.*,
>> com.sun.tools.doclets.ToDoTaglet
>> maven-javadoc-plugin:JavadocUtil   Javadoc:
>> com.sun.tools.doclets.Taglet,
>> maven-ant-plugin:AntBuildWriterUtilorg.w3c.*
>> maven-site-plugin:WebXmlTest   org.w3c.*
>> maven-pdm-plugin:CpdReportTest org.w3c.*
>>
>>
>> On 11/16/15, Tibor Digana  wrote:
>>
>>> @Arno What it means for you to "how it will break maven".
>>> Does it mean J9 deprecates Maven. Too much effort for the Oracle, is not
>>> it?
>>>
>>> On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] <
>>> ml-node+s40175n5851980...@n5.nabble.com> wrote:
>>>
>>> Hi all,

   This week I was at Devoxx conférence where there were various talks
 about
 the incoming JDK 9 and the new Java Modules. If this is a subject that
 you
 are interested in and want to know more (and especially how it will
 break
 maven) I recommend you to watch the recording of the following sessions

 Keynote by Mark Reinhold
 https://www.youtube.com/watch?v=l1s7R85GF1A

 Introduction to Modular Development by Mark Reinhold/Alan Bateman
 https://www.youtube.com/watch?v=qr4O4SbzihQ

 Prepare for JDK 9! by Mark Reinhold/Alan Bateman
 https://www.youtube.com/watch?v=KZfbRuvv5qc

 Modular Development with JDK 9 by Mark Reinhold/Alan Bateman
 https://www.youtube.com/watch?v=V6ycn1-QQV0

 Advanced Modular Development by Mark Reinhold/Alan Bateman
 https://www.youtube.com/watch?v=SU1WFX8yeKM

 Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman
 https://www.youtube.com/watch?v=UKC0uC7QUkI

 Ask the JDK Architects
 https://www.youtube.com/watch?v=7vvx505mu3s

 Form now all Devoxx sessions are freely available on Youtube at D+1

 https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg

 As Jason is in the expert group I imagine that he already started to
 think
 about how to adapt maven to be able to easily consume/produce classical
 jar
 files and J9+ Java Modules.

 Cheers,

 --
 -
 Arnaud Héritier
 http://aheritier.net
 Mail/GTalk: aheritier AT gmail DOT com
 Twitter/Skype : aheritier


 --
 If you reply to this email, your message will be added to the discussion
 below:


 http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980.html
 To start a new topic under Maven Developers, email
 ml-node+s40175n142166...@n5.nabble.com
 To unsubscribe from Maven Developers, click here
 <
 http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=142166=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg==
 >
 .
 NAML
 <
 http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
 >


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


-- 
Cheers
Tibor


Re: [ANN] Apache Maven Version 3.3.9 Released

2015-11-18 Thread Maxim Solodovnik
Everything works as expected now :)

On Wed, Nov 18, 2015 at 11:16 PM, Karl Heinz Marbaise 
wrote:

> Hi,
>
> On 11/18/15 10:12 AM, Maxim Solodovnik wrote:
>
>> it seems not all mirrors are ready for the update :(
>> this one
>>
>> http://apache-mirror.rbc.ru/pub/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
>> gaves 404
>>
>
> I'm the culprit...I was not patient enough to wait for the sync...
> Sorry...
>
> Kind regards
> Karl Heinz Marbaise
>
>>
>> On Wed, Nov 18, 2015 at 1:26 PM, Tony Chemit 
>> wrote:
>>
>> On Wed, 18 Nov 2015 07:11:17 + (UTC)
>>> khmarba...@apache.org (Karl Heinz Marbaise) wrote:
>>>
>>> The Apache Maven team is pleased to announce the release of
 Apache Maven 3.3.9.

 http://maven.apache.org/

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

 http://maven.apache.org/download.cgi

 Hi,
>>>
>>> Good job for this new version, many thanks for it.
>>>
>>> The download page points to the 3.3.3 version!
>>>
>>> --
>>>
>>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>


-- 
WBR
Maxim aka solomax


Re: Java 9 - Java Modules aka Jigsaw

2015-11-18 Thread Robert Scholte
Hi Paul, I know about the directory based example,but I really hope there are 
more options. Directory would mean copying jars per module. IO is slow and 
we're back to those days where you have dozens of copies of jars all over your 
system.

Thanks, Robert


Verzonden vanaf Samsung Mobile.

 Oorspronkelijk bericht Van: Paul Benedict 
 Datum:18-11-2015  23:34  (GMT+01:00) 
Aan: Maven Developers List  Cc: 
"Rory O'Donnell Oracle, Dublin Ireland" , Dalibor 
Topic  Onderwerp: Re: Java 9 - Java 
Modules aka Jigsaw 
Robert, also see the "Greetings World" example here. The page has good
examples of how to use the command line options:
http://openjdk.java.net/projects/jigsaw/quick-start

And again from this presentation:
http://openjdk.java.net/projects/jigsaw/j1/intro-modular-dev-j1-2015.pdf



Cheers,
Paul

On Wed, Nov 18, 2015 at 4:23 PM, Paul Benedict  wrote:

> I believe the -modulepath option is for specifying a directory, not a jar.
> Do something like this:
> javac -modulepath mods YourClass.java
>
>
> Cheers,
> Paul
>
> On Wed, Nov 18, 2015 at 4:03 PM, Robert Scholte 
> wrote:
>
>> Hi,
>>
>> I've started patching the plexus-compiler so we can start compiling
>> projects with module-info
>>
>> See https://github.com/codehaus-plexus/plexus-compiler/tree/jigsaw-ea
>>
>> However, I can't find detailed info about the -modulepath argument.
>>
>> Usage: javac  
>> where possible options include:
>> ...
>>  -classpath   Specify where to find user class files and
>> annotation processors
>> ...
>>  -modulepath  Specify where to find user module class files
>>
>> However, I can't simply add a range of jar files like I can with
>> classpath, or could this be a Windows issue?
>>
>> error: illegal argument for -modulepath:
>> F:\java-workspace\apache-maven-maven\maven\maven-builder-support\target\maven-builder-support-3.3.10-SNAPSHOT.jar
>>
>> thanks,
>> Robert
>>
>> Op Fri, 13 Nov 2015 15:20:19 +0100 schreef Arnaud Héritier <
>> aherit...@gmail.com>:
>>
>>
>> Hi all,
>>>
>>>   This week I was at Devoxx conférence where there were various talks
>>> about
>>> the incoming JDK 9 and the new Java Modules. If this is a subject that
>>> you
>>> are interested in and want to know more (and especially how it will break
>>> maven) I recommend you to watch the recording of the following sessions
>>>
>>> Keynote by Mark Reinhold
>>> https://www.youtube.com/watch?v=l1s7R85GF1A
>>>
>>> Introduction to Modular Development by Mark Reinhold/Alan Bateman
>>> https://www.youtube.com/watch?v=qr4O4SbzihQ
>>>
>>> Prepare for JDK 9! by Mark Reinhold/Alan Bateman
>>> https://www.youtube.com/watch?v=KZfbRuvv5qc
>>>
>>> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman
>>> https://www.youtube.com/watch?v=V6ycn1-QQV0
>>>
>>> Advanced Modular Development by Mark Reinhold/Alan Bateman
>>> https://www.youtube.com/watch?v=SU1WFX8yeKM
>>>
>>> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman
>>> https://www.youtube.com/watch?v=UKC0uC7QUkI
>>>
>>> Ask the JDK Architects
>>> https://www.youtube.com/watch?v=7vvx505mu3s
>>>
>>> Form now all Devoxx sessions are freely available on Youtube at D+1
>>>
>>> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg
>>>
>>> As Jason is in the expert group I imagine that he already started to
>>> think
>>> about how to adapt maven to be able to easily consume/produce classical
>>> jar
>>> files and J9+ Java Modules.
>>>
>>> Cheers,
>>>
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>> For additional commands, e-mail: dev-h...@maven.apache.org
>>
>>
>


Re: Java 9 - Java Modules aka Jigsaw

2015-11-18 Thread Robert Scholte
Hi Tibor,that's exactly the reason why I added tests for it to verify that the 
plugin handles there cases as expected. The class is NOT used in the runtime 
code.

Thanks, Robert


Verzonden vanaf Samsung Mobile.

 Oorspronkelijk bericht Van: Tibor Digana 
 Datum:19-11-2015  00:21  (GMT+01:00) 
Aan: Maven Developers List  
Onderwerp: Re: Java 9 - Java Modules aka Jigsaw 
Robert, I was watching the video and the message is important.
They want the devs using standard Java API.
It's a little paranoea around to replace Base64. Yes it's used a lot but
easy to replace with standard API.

On Wed, Nov 18, 2015 at 9:12 PM, Robert Scholte 
wrote:

> Hi Tibor,
>
> "Whatever critical or non-critical, the JDK dependency appears."
>
> Just wondering how you collected these information. I don't recognize all
> packages as being marked as JDK Internal. The list is described as JEP 260:
> Encapsulate Most Internal APIs[1]
>
> thanks,
> Robert
>
> [1] http://openjdk.java.net/jeps/260
>
> Op Mon, 16 Nov 2015 17:48:42 +0100 schreef Tibor Digana <
> tibordig...@apache.org>:
>
>
> Our plugins are dependent on internal Sun JDK packages.
>> This is the list of plugins:Java classes and JDK classes.
>> Whatever critical or non-critical, the JDK dependency appears.
>>
>> maven-jdeps-plugin:Base64Codec sun.misc.BASE64Decoder
>> maven-changes-plugin:ProjectJavamailMailSender
>> com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory?
>> maven-changes-plugin:FeedGenerator com.sun.syndication.*
>> maven-javadoc-plugin:AbstractJavadocMojo   Javadoc:
>> com.sun.tools.javadoc.*, com.sun.tools.doclets.*,
>> com.sun.tools.doclets.ToDoTaglet
>> maven-javadoc-plugin:JavadocUtil   Javadoc:
>> com.sun.tools.doclets.Taglet,
>> maven-ant-plugin:AntBuildWriterUtilorg.w3c.*
>> maven-site-plugin:WebXmlTest   org.w3c.*
>> maven-pdm-plugin:CpdReportTest org.w3c.*
>>
>>
>> On 11/16/15, Tibor Digana  wrote:
>>
>>> @Arno What it means for you to "how it will break maven".
>>> Does it mean J9 deprecates Maven. Too much effort for the Oracle, is not
>>> it?
>>>
>>> On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] <
>>> ml-node+s40175n5851980...@n5.nabble.com> wrote:
>>>
>>> Hi all,

   This week I was at Devoxx conférence where there were various talks
 about
 the incoming JDK 9 and the new Java Modules. If this is a subject that
 you
 are interested in and want to know more (and especially how it will
 break
 maven) I recommend you to watch the recording of the following sessions

 Keynote by Mark Reinhold
 https://www.youtube.com/watch?v=l1s7R85GF1A

 Introduction to Modular Development by Mark Reinhold/Alan Bateman
 https://www.youtube.com/watch?v=qr4O4SbzihQ

 Prepare for JDK 9! by Mark Reinhold/Alan Bateman
 https://www.youtube.com/watch?v=KZfbRuvv5qc

 Modular Development with JDK 9 by Mark Reinhold/Alan Bateman
 https://www.youtube.com/watch?v=V6ycn1-QQV0

 Advanced Modular Development by Mark Reinhold/Alan Bateman
 https://www.youtube.com/watch?v=SU1WFX8yeKM

 Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman
 https://www.youtube.com/watch?v=UKC0uC7QUkI

 Ask the JDK Architects
 https://www.youtube.com/watch?v=7vvx505mu3s

 Form now all Devoxx sessions are freely available on Youtube at D+1

 https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg

 As Jason is in the expert group I imagine that he already started to
 think
 about how to adapt maven to be able to easily consume/produce classical
 jar
 files and J9+ Java Modules.

 Cheers,

 --
 -
 Arnaud Héritier
 http://aheritier.net
 Mail/GTalk: aheritier AT gmail DOT com
 Twitter/Skype : aheritier


 --
 If you reply to this email, your message will be added to the discussion
 below:


 http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980.html
 To start a new topic under Maven Developers, email
 ml-node+s40175n142166...@n5.nabble.com
 To unsubscribe from Maven Developers, click here
 <
 http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=142166=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg==
 >
 .
 NAML
 <
 http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
 >


>>>
>>
> 

Re: [ANN] Apache Maven Version 3.3.9 Released

2015-11-18 Thread Tony Chemit
On Thu, 19 Nov 2015 09:25:20 +0600
Maxim Solodovnik  wrote:

> Everything works as expected now :)

\o/ Nice work Karl.

> 
> On Wed, Nov 18, 2015 at 11:16 PM, Karl Heinz Marbaise
>  wrote:
> 
> > Hi,
> >
> > On 11/18/15 10:12 AM, Maxim Solodovnik wrote:
> >
> >> it seems not all mirrors are ready for the update :(
> >> this one
> >>
> >> http://apache-mirror.rbc.ru/pub/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
> >> gaves 404
> >>
> >
> > I'm the culprit...I was not patient enough to wait for the sync...
> > Sorry...
> >
> > Kind regards
> > Karl Heinz Marbaise
> >
> >>
> >> On Wed, Nov 18, 2015 at 1:26 PM, Tony Chemit 
> >> wrote:
> >>
> >> On Wed, 18 Nov 2015 07:11:17 + (UTC)
> >>> khmarba...@apache.org (Karl Heinz Marbaise) wrote:
> >>>
> >>> The Apache Maven team is pleased to announce the release of
>  Apache Maven 3.3.9.
> 
>  http://maven.apache.org/
> 
>  You can download the appropriate sources etc. from the download
>  page
> 
>  http://maven.apache.org/download.cgi
> 
>  Hi,
> >>>
> >>> Good job for this new version, many thanks for it.
> >>>
> >>> The download page points to the 3.3.3 version!
> >>>
> >>> --
> >>>
> >>
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > For additional commands, e-mail: dev-h...@maven.apache.org
> >
> >
> 
> 



-- 
Tony Chemit

tél: +33 (0) 2 40 50 29 28
http://www.codelutin.com
email: che...@codelutin.com
twitter: https://twitter.com/tchemit

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



Re: Java 9 - Java Modules aka Jigsaw

2015-11-18 Thread Paul Benedict
Robert, also see the "Greetings World" example here. The page has good
examples of how to use the command line options:
http://openjdk.java.net/projects/jigsaw/quick-start

And again from this presentation:
http://openjdk.java.net/projects/jigsaw/j1/intro-modular-dev-j1-2015.pdf



Cheers,
Paul

On Wed, Nov 18, 2015 at 4:23 PM, Paul Benedict  wrote:

> I believe the -modulepath option is for specifying a directory, not a jar.
> Do something like this:
> javac -modulepath mods YourClass.java
>
>
> Cheers,
> Paul
>
> On Wed, Nov 18, 2015 at 4:03 PM, Robert Scholte 
> wrote:
>
>> Hi,
>>
>> I've started patching the plexus-compiler so we can start compiling
>> projects with module-info
>>
>> See https://github.com/codehaus-plexus/plexus-compiler/tree/jigsaw-ea
>>
>> However, I can't find detailed info about the -modulepath argument.
>>
>> Usage: javac  
>> where possible options include:
>> ...
>>  -classpath   Specify where to find user class files and
>> annotation processors
>> ...
>>  -modulepath  Specify where to find user module class files
>>
>> However, I can't simply add a range of jar files like I can with
>> classpath, or could this be a Windows issue?
>>
>> error: illegal argument for -modulepath:
>> F:\java-workspace\apache-maven-maven\maven\maven-builder-support\target\maven-builder-support-3.3.10-SNAPSHOT.jar
>>
>> thanks,
>> Robert
>>
>> Op Fri, 13 Nov 2015 15:20:19 +0100 schreef Arnaud Héritier <
>> aherit...@gmail.com>:
>>
>>
>> Hi all,
>>>
>>>   This week I was at Devoxx conférence where there were various talks
>>> about
>>> the incoming JDK 9 and the new Java Modules. If this is a subject that
>>> you
>>> are interested in and want to know more (and especially how it will break
>>> maven) I recommend you to watch the recording of the following sessions
>>>
>>> Keynote by Mark Reinhold
>>> https://www.youtube.com/watch?v=l1s7R85GF1A
>>>
>>> Introduction to Modular Development by Mark Reinhold/Alan Bateman
>>> https://www.youtube.com/watch?v=qr4O4SbzihQ
>>>
>>> Prepare for JDK 9! by Mark Reinhold/Alan Bateman
>>> https://www.youtube.com/watch?v=KZfbRuvv5qc
>>>
>>> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman
>>> https://www.youtube.com/watch?v=V6ycn1-QQV0
>>>
>>> Advanced Modular Development by Mark Reinhold/Alan Bateman
>>> https://www.youtube.com/watch?v=SU1WFX8yeKM
>>>
>>> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman
>>> https://www.youtube.com/watch?v=UKC0uC7QUkI
>>>
>>> Ask the JDK Architects
>>> https://www.youtube.com/watch?v=7vvx505mu3s
>>>
>>> Form now all Devoxx sessions are freely available on Youtube at D+1
>>>
>>> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg
>>>
>>> As Jason is in the expert group I imagine that he already started to
>>> think
>>> about how to adapt maven to be able to easily consume/produce classical
>>> jar
>>> files and J9+ Java Modules.
>>>
>>> Cheers,
>>>
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>> For additional commands, e-mail: dev-h...@maven.apache.org
>>
>>
>


Re: Java 9 - Java Modules aka Jigsaw

2015-11-18 Thread Tibor Digana
Java 8 is not needed if you want to remove com.sun.* packages from your
code.
Long time I am using JAXB 1.0 from Java 5:

import javax.xml.bind.DatatypeConverter;
DatatypeConverter.printBase64Binary()



On Mon, Nov 16, 2015 at 6:37 PM, Gary Gregory 
wrote:

> Java 8 has a java.util.Base64 class so that one is easy.
>
> Gary
>
> On Mon, Nov 16, 2015 at 8:48 AM, Tibor Digana 
> wrote:
>
> > Our plugins are dependent on internal Sun JDK packages.
> > This is the list of plugins:Java classes and JDK classes.
> > Whatever critical or non-critical, the JDK dependency appears.
> >
> > maven-jdeps-plugin:Base64Codec sun.misc.BASE64Decoder
> > maven-changes-plugin:ProjectJavamailMailSender
> > com.sun.net.ssl.internal.ssl.Provider, ?mail.smtp.socketFactory?
> > maven-changes-plugin:FeedGenerator com.sun.syndication.*
> > maven-javadoc-plugin:AbstractJavadocMojo   Javadoc:
> > com.sun.tools.javadoc.*, com.sun.tools.doclets.*,
> > com.sun.tools.doclets.ToDoTaglet
> > maven-javadoc-plugin:JavadocUtil   Javadoc:
> > com.sun.tools.doclets.Taglet,
> > maven-ant-plugin:AntBuildWriterUtilorg.w3c.*
> > maven-site-plugin:WebXmlTest   org.w3c.*
> > maven-pdm-plugin:CpdReportTest org.w3c.*
> >
> >
> > On 11/16/15, Tibor Digana  wrote:
> > > @Arno What it means for you to "how it will break maven".
> > > Does it mean J9 deprecates Maven. Too much effort for the Oracle, is
> not
> > > it?
> > >
> > > On Fri, Nov 13, 2015 at 3:20 PM, Arnaud Héritier [via Maven] <
> > > ml-node+s40175n5851980...@n5.nabble.com> wrote:
> > >
> > >> Hi all,
> > >>
> > >>   This week I was at Devoxx conférence where there were various talks
> > >> about
> > >> the incoming JDK 9 and the new Java Modules. If this is a subject that
> > >> you
> > >> are interested in and want to know more (and especially how it will
> > break
> > >> maven) I recommend you to watch the recording of the following
> sessions
> > >>
> > >> Keynote by Mark Reinhold
> > >> https://www.youtube.com/watch?v=l1s7R85GF1A
> > >>
> > >> Introduction to Modular Development by Mark Reinhold/Alan Bateman
> > >> https://www.youtube.com/watch?v=qr4O4SbzihQ
> > >>
> > >> Prepare for JDK 9! by Mark Reinhold/Alan Bateman
> > >> https://www.youtube.com/watch?v=KZfbRuvv5qc
> > >>
> > >> Modular Development with JDK 9 by Mark Reinhold/Alan Bateman
> > >> https://www.youtube.com/watch?v=V6ycn1-QQV0
> > >>
> > >> Advanced Modular Development by Mark Reinhold/Alan Bateman
> > >> https://www.youtube.com/watch?v=SU1WFX8yeKM
> > >>
> > >> Project Jigsaw: Under the Hood by Mark Reinhold/Alan Bateman
> > >> https://www.youtube.com/watch?v=UKC0uC7QUkI
> > >>
> > >> Ask the JDK Architects
> > >> https://www.youtube.com/watch?v=7vvx505mu3s
> > >>
> > >> Form now all Devoxx sessions are freely available on Youtube at D+1
> > >>
> > >> https://www.youtube.com/channel/UCCBVCTuk6uJrN3iFV_3vurg
> > >>
> > >> As Jason is in the expert group I imagine that he already started to
> > >> think
> > >> about how to adapt maven to be able to easily consume/produce
> classical
> > >> jar
> > >> files and J9+ Java Modules.
> > >>
> > >> Cheers,
> > >>
> > >> --
> > >> -
> > >> Arnaud Héritier
> > >> http://aheritier.net
> > >> Mail/GTalk: aheritier AT gmail DOT com
> > >> Twitter/Skype : aheritier
> > >>
> > >>
> > >> --
> > >> If you reply to this email, your message will be added to the
> discussion
> > >> below:
> > >>
> > >>
> >
> http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980.html
> > >> To start a new topic under Maven Developers, email
> > >> ml-node+s40175n142166...@n5.nabble.com
> > >> To unsubscribe from Maven Developers, click here
> > >> <
> >
> http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=142166=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg==
> > >
> > >> .
> > >> NAML
> > >> <
> >
> http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> > >
> > >>
> > >
> >
> >
> > --
> > Cheers
> > Tibor
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://maven.40175.n5.nabble.com/Java-9-Java-Modules-aka-Jigsaw-tp5851980p5852234.html
> > Sent from the Maven Developers mailing list archive at Nabble.com.
>
>
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> Java Persistence with Hibernate, Second Edition
> 
> JUnit in Action, Second Edition 
> Spring Batch in Action 
> Blog: http://garygregory.wordpress.com
>