Adding comments to dependencies in POM

2014-08-27 Thread James Green
I have in the past wasted hours of effort trying to weed out dependency issues where something has been added for reasons unknown. Removal leads to breakage. It would be helpful if, inside a POM, it were possible to add a comment element to a dependency. I realise this is possible as an XML

Re: Adding comments to dependencies in POM

2014-08-27 Thread Anders Hammar
A very good idea I think. Please add it as an improvement in JIRA and it could be implemented in a future pom model version. /Anders (mobile) Den 27 aug 2014 09:13 skrev James Green james.mk.gr...@gmail.com: I have in the past wasted hours of effort trying to weed out dependency issues where

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Juven Xu
after enabling debug log I got 1.1G log full of lines of this: [DEBUG] Using mirror tbmirror (http://mvnrepo.taobao.ali.com/mvn/repository) for sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots). [DEBUG] Using mirror tbmirror

No test to run, No code to compile

2014-08-27 Thread tertelos
I have been struggling with this for days and i really want to move on can somebody please help me, i am getting the following console output: T E S T S Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-easyb-plugin:1.4:test (default) @ gameoflife --- [INFO]

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Barrie Treloar
On 27 August 2014 17:05, Juven Xu juvens...@gmail.com wrote: after enabling debug log I got 1.1G log full of lines of this: [DEBUG] Using mirror tbmirror ( http://mvnrepo.taobao.ali.com/mvn/repository) for sonatype-nexus-snapshots ( https://oss.sonatype.org/content/repositories/snapshots).

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Juven Xu
yes I can confirm the mirror is ok. I've built many projects with the same mirror, but only this project crashes. -- View this message in context:

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Kristian Rosenvold
Did you try increasing memory for maven through MAVEN_OPTS, maybe something like -Xmx1024m or more ? Kristian 2014-08-27 10:37 GMT+02:00 Juven Xu juvens...@gmail.com: yes I can confirm the mirror is ok. I've built many projects with the same mirror, but only this project crashes. --

Re: Adding comments to dependencies in POM

2014-08-27 Thread domi
+1 I think this would be a good idea, let us know about the issue, so we can vote on it. Domi On 27.08.2014, at 09:12, James Green james.mk.gr...@gmail.com wrote: I have in the past wasted hours of effort trying to weed out dependency issues where something has been added for reasons unknown.

Re: Adding comments to dependencies in POM

2014-08-27 Thread Robert Scholte
I think it should be solved with a separate namespace, so the model parsing stays pure without metadata irrelevant for Maven. And it should already work right now, no need for the pom xsd to change, since the Maven pom-parser should ignore these kinds of elements/attributes. Robert Op

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Stuart McCulloch
I wonder if this might be related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=418250 ? On 27 Aug 2014, at 04:35, Juven Xu juvens...@gmail.com wrote: maven: 3.1.1 jdk: 1.7.0_25 Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode) the error message is: [INFO] Building

[ANN] Apache Maven EJB Plugin Version 2.4 Released

2014-08-27 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven EJB Plugin, version 2.4 This plugin generates J2EE Enterprise Javabean (EJB) file as well as the associated client jar. http://maven.apache.org/plugins/maven-ejb-plugin plugin groupIdorg.apache.maven.plugins/groupId

Atomic deploy at end to repo manager like Nexus

2014-08-27 Thread Dan Tran
Hi Per last Maven hangout, Jason and Karl had a discussion and code shared on topic. unzip [1] nexus plugin was mentioned Can you share this knowledge? For my case, I have a multiple module multiple platform builds orchestrated by CI ( jenkins) I like to to delay all the deployments, all the

Re: Atomic deploy at end to repo manager like Nexus

2014-08-27 Thread Karl Heinz Marbaise
Hi Dan, are you using deployAtEnd / installAtEnd options of maven-install-plugin, maven-deploy-plugin ? or do you have any issues with that ? On 8/27/14 10:36 PM, Dan Tran wrote: Hi Per last Maven hangout, Jason and Karl had a discussion and code shared on topic. unzip [1] nexus plugin

Re: Atomic deploy at end to repo manager like Nexus

2014-08-27 Thread Dan Tran
Hi Karl, My build spans multiple hosts ( with helps from Jenkis), so deployAtEnd is not good enough. -D On Wed, Aug 27, 2014 at 1:39 PM, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi Dan, are you using deployAtEnd / installAtEnd options of maven-install-plugin, maven-deploy-plugin ? or