Strange log traffic from the assembly plugin

2014-02-03 Thread Benson Margulies
Does anyone recognize the following? It correlates with a mystery. [DEBUG] Cannot find ArtifactResolver with hint: project-cache-aware org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role:

Re: Strange log traffic from the assembly plugin

2014-02-03 Thread Stuart McCulloch
On 3 Feb 2014, at 14:34, Benson Margulies bimargul...@gmail.com wrote: Does anyone recognize the following? It correlates with a mystery. Looks like http://jira.codehaus.org/browse/MASSEMBLY-671 … basically it happens when there’s a problem with the assembly descriptor which then triggers a

Re: Strange log traffic from the assembly plugin

2014-02-03 Thread Benson Margulies
The 'offending item' looked a bit like: fileSets fileSet directory{project.build.directory}/rbl-je-${rbl.rbl.version}/directory outputDirectoryrbl-je-${rbl.rbl.version}/outputDirectory /fileSet /fileSets Note the missing $ in the On Mon, Feb 3,

Re: Strange log traffic from the assembly plugin

2014-02-03 Thread Stuart McCulloch
On 3 Feb 2014, at 14:44, Stuart McCulloch mccu...@gmail.com wrote: On 3 Feb 2014, at 14:34, Benson Margulies bimargul...@gmail.com wrote: Does anyone recognize the following? It correlates with a mystery. Looks like http://jira.codehaus.org/browse/MASSEMBLY-671 … basically it happens when

maven-release-plugin updates modules with wrong versioning

2014-02-03 Thread Simone Tripodi
Hi all mates, in Apache Oltu we have a commons modules set[1] which I am trying to cut a release, but I am experiencing for the first time a strange issue: when installing all modules from /trunk, versions respect what it is specified in project.version field in the POM, but when releasing them,

Re: maven-release-plugin updates modules with wrong versioning

2014-02-03 Thread Stephen Connolly
are you using git 1.8.5.x? On 3 February 2014 15:56, Simone Tripodi simonetrip...@apache.org wrote: Hi all mates, in Apache Oltu we have a commons modules set[1] which I am trying to cut a release, but I am experiencing for the first time a strange issue: when installing all modules from

Re: maven-release-plugin updates modules with wrong versioning

2014-02-03 Thread Stephen Connolly
nevermind... wrong question that this is the answer for On 3 February 2014 15:57, Stephen Connolly stephen.alan.conno...@gmail.comwrote: are you using git 1.8.5.x? On 3 February 2014 15:56, Simone Tripodi simonetrip...@apache.org wrote: Hi all mates, in Apache Oltu we have a commons

Re: dependency management across projects

2014-02-03 Thread Curtis Rueden
Hi everyone, The very point I am trying to make here is how do you manage that manual BOM on a daily basis. There is no automatic solution for this that I know of. Maybe not exactly what you are looking for, but sort of similar: My group uses a script [1] to automatically bump the version

Deep dependency analysis

2014-02-03 Thread Benoît Berthonneau
Hi All, Do you know any maven plugin that could say which classes (from dependencies) are used by the maven project (class by class) ? I looked at the maven dependency plugin but doesn’t seem to provide this kind of deep analysis… The idea behind my question is to know if a dependency is

Re: Deep dependency analysis

2014-02-03 Thread Baptiste Mathus
I'd look at the code behind dependency: analyze I guess the improvement by logging the class level usage might be doable. My 2 cents Le 3 févr. 2014 20:48, Benoît Berthonneau ben...@berthonneau.com a écrit : Hi All, Do you know any maven plugin that could say which classes (from

RE: Deep dependency analysis

2014-02-03 Thread Benoît Berthonneau
I'll try... Thx -Message d'origine- De : bmat...@gmail.com [mailto:bmat...@gmail.com] De la part de Baptiste Mathus Envoyé : lundi 3 février 2014 21:13 À : Maven Users List Objet : Re: Deep dependency analysis I'd look at the code behind dependency: analyze I guess the improvement by

RE: Work-around to the Maven restriction on AND condition profile activation?

2014-02-03 Thread laredotornado-3
Thanks for that ingenious solution. It worked perfectly. -- View this message in context: http://maven.40175.n5.nabble.com/Work-around-to-the-Maven-restriction-on-AND-condition-profile-activation-tp5782919p5783107.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Deep dependency analysis

2014-02-03 Thread Alexander Kriegisch
You could use Maven Shade plugin with the option minimizeJar and check the resulting Uber-JAR. Maybe even better is ProGuard (the shrinker part without the obfuscator). It will even detect some uses of class.forName if they are not using dynamic strings. By trial and error you can exclude some

maven-dependency-plugin:copy-dependencies snapshots

2014-02-03 Thread Alejandro . Endo
It seems there is no way in the copy-dependencies goal to exclude snapshot dependencies. Can anyone think of a way to accomplish this using some kind of workaround? I want to copy all the released dependencies only. I'm using OSGi+pde and I want to create my target platform with released

Maven antrun: pass maven properties to ant

2014-02-03 Thread Yamil Medina
I have a doubt about these 2 plugins, specifically with outputDirectory/(maven-war-plugin) and copy file=origin todir=destination/ (maven-antrun-plugin) I want to generate the war for the project and then copy that file to a hot deploy directory. Strictly in this sequence, So the question is:

[ANN] Apache Maven SCM Publish Plugin 1.0 Released

2014-02-03 Thread Hervé Boutemy
The Apache Maven team is pleased to announce the release of the Apache Maven SCM Publish Plugin, version 1.0 The maven-scm-publish-plugin is a utility plugin to allow publishing Maven website to any supported SCM. The primary goal was to have an utility plugin to allow Apache projects to