Re: FAIL maven build on failing snapshot update?

2013-03-13 Thread Baptiste MATHUS
Hi, A good CI practice is to 1) use a private local tell/cache per job and 2) wipe out the local cache regularly (say once a day, or maybe a week to begin with) Note that wiping out the local repo is also recommended on your workstation on a regular basis for the exact reason you speak about.

Re: Error in using Maven plugin in release perform process

2013-03-13 Thread nikhil naiksatam
I have already tried deleting the repository/org/apache/maven/maven-archiver folder but the issue isnt resolved. Also using version 2.4 of the release plugin gives error ''unable to load the mojo 'perform' in the plugin 'org.apache.maven.plugins:maven-release-plugin:2.4'. A required class is

Re: Problem when running testng testcase

2013-03-13 Thread Baptiste MATHUS
I suppose you're using junit. The information you've provided is not enough to be sure, but maybe you manually forced using junit4 in eclipse but you left it in junit3 in you pom.xml? By the way, if you can provide a gist of your pom and test or even better a test project, I guess this will be

Re: Problem when running testng testcase

2013-03-13 Thread Andreas Gudian
Hi, Please also let us know for comparison how you execute your test in eclipse. Using the TestNG Eclipse plugin? Andreas Am Mittwoch, 13. März 2013 schrieb Baptiste MATHUS : I suppose you're using junit. The information you've provided is not enough to be sure, but maybe you manually forced

RE: Plugin Testing?

2013-03-13 Thread Martin Gainty
Michael if you dont want to implement a isolated CL to be implemented by your project set isolatedRealmfalse/isolatedRealm Here is the doc from sonatype isolatedRealm (deprecated) This is a legacy property which is no longer used by Maven. It is still present in the system to provide

Re: File permissions after deploy using scpexe

2013-03-13 Thread Jeff Lusted
Hi Ron, Thank you for the swift reply. I wasn't certain of where to post. I'm using Nexus, but the use of scpexe in distribution management seemed to me to bypass Nexus. I'll cross post, if that's OK. Regards Jeff -- View this message in context:

RE: maven-antrun-plugin in interactive mode

2013-03-13 Thread Lyons, Roy
There is a kludge you could possibly use. Of course I am feeding bad behaviors... but what the heck, its an official codehaus plugin - it would be wrong not to mention it. http://mojo.codehaus.org/properties-maven-plugin/ have your ant task write to a file instead of exporting the property,

Re: maven-antrun-plugin in interactive mode

2013-03-13 Thread Stephen Connolly
It will suffer the exact same issue he is having with antrun as that uses the same mechanism (i.e. mojo injected properties) On 13 March 2013 13:49, Lyons, Roy roy.ly...@cmegroup.com wrote: There is a kludge you could possibly use. Of course I am feeding bad behaviors... but what the heck,

Re: Plugin Testing?

2013-03-13 Thread Baptiste MATHUS
You can have a look at many plugins inside the mojo project for example. See for example the build-helper-maven-plugin : https://fisheye.codehaus.org/browse/mojo/trunk/mojo/build-helper-maven-plugin There's a src/it directory with maven test projects. HTH. Cheers 2013/3/12 Michael Sena

Finding Maven properties?

2013-03-13 Thread Russell Gold
Hi, How does one get a complete list of available Maven properties? I found a sonatype doc which suggested looking at the Javadoc for the Model class in Maven http://maven.apache.org/ref/3.0.3/maven-model/apidocs/ but I cannot find any mention there of methods which would define

Maven life cycle dependencies

2013-03-13 Thread Wolf Geldmacher
Hail all ye maven gurus! I've (again) hit some issues with the-maven-way(tm) that I'd appreciate your thoughts on: Using Maven 3.0.5/Java 1.7.0_10/Linux on an (abstracted) aggregation project with two POMs: maven/pom.xml: project modelVersion4.0.0/modelVersion

Re: Maven life cycle dependencies

2013-03-13 Thread Stephen Connolly
Before Maven starts executing plugins against projects, Maven first has to construct the build plan. The build plan needs to take into account the inter-project GAV dependencies, so that the projects can be built in the correct sequence. So if A - B - C, Maven needs to ensure that C is built

Re: Finding Maven properties?

2013-03-13 Thread Curtis Rueden
Hi Russ, How does one get a complete list of available Maven properties? As far as I know, there is no complete list of Maven properties. If I understand correctly, creating such a list would be tricky, because they are ultimately resolved dynamically from the Java object model. See How do I

Re: Maven life cycle dependencies

2013-03-13 Thread Wayne Fay
dependencies dependency groupIdmaven.issue/groupId artifactIddependency/artifactId version1.0/version ... modules moduledependency/module /modules This seems like a bad idea right up front. You shouldn't have a dependency as

Re: Plugin Testing?

2013-03-13 Thread Manfred Moser
Check out eg. the source of the Android Maven Plugin on how you can hook this all up. Hi All, Can anyone actually provide a link to a working example of the plugin testing framework? I’m using maven 3.0.5, and have even tried compiling the snapshot 2.2-SNAPSHOT version of

Re: Maven life cycle dependencies

2013-03-13 Thread Stephen Connolly
It's not _so_ bad as he isn't inheriting from the aggregator pom, so in effect the dependency forces the aggregator to be built last... Generally a bad practice, and Maven will blow up if you use the aggregator as a parent for the child, but in this case he can get away with it (until he hits his

Re: Maven life cycle dependencies

2013-03-13 Thread Adrien Rivard
On Wed, Mar 13, 2013 at 4:10 PM, Wolf Geldmacher wolf.geldmac...@abacus.chwrote: Hail all ye maven gurus! I've (again) hit some issues with the-maven-way(tm) that I'd appreciate your thoughts on: Using Maven 3.0.5/Java 1.7.0_10/Linux on an (abstracted) aggregation project with two POMs:

merge-maven-repos problems with maven-metadata.xml

2013-03-13 Thread Jim McCaskey
Hello all, Below you will find a maven-metadata.xml file from my Nexus repository (GAV changed to protect the innocent). What you will notice is that the snapshot timestamp and the snapshotVersions do not match. I don't think that it's a Nexus repo issue. Perhaps a bug in merge-maven-repos.

[ANN] Maven Dependency Analyzer 1.4 Released

2013-03-13 Thread John Casey
The Apache Maven team is pleased to announce the release of the Maven Dependency Analyzer, version 1.4 As the name implies, the Maven dependency analyzer analyzes the dependencies of a project for undeclared or unused artifacts. http://maven.apache.org/shared/maven-dependency-analyzer/

[ANN] Maven Dependency Plugin 2.7 Released

2013-03-13 Thread John Casey
The Apache Maven team is pleased to announce the release of the Maven Dependency Plugin, version 2.7 The dependency plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from local or remote repositories to a specified location.