Right behaviour of versions:update-properties?

2012-07-13 Thread Sandra . Kosmalla
Hi all, I made some tests with the Versions Maven Plugin and the behaviour of the goal versions:update-properties is different from my expectation. I have two artifacts in my repository: 1. pom-projet-a with the version 1.4.0 and 1.5.0-SNAPSHOT 2. jar-project-b with the version 1.11.0 and 1.12.

Re: Right behaviour of versions:update-properties?

2012-07-13 Thread Stephen Connolly
On Friday, 13 July 2012, wrote: > Hi all, > > I made some tests with the Versions Maven Plugin and the behaviour of the > goal versions:update-properties is different from my expectation. > > I have two artifacts in my repository: > > 1. pom-projet-a with the version 1.4.0 and 1.5.0-SNAPSHOT > 2.

Antwort: Re: Right behaviour of versions:update-properties?

2012-07-13 Thread Sandra . Kosmalla
On Friday, 13 July 2012, wrote: > Hi all, > > I made some tests with the Versions Maven Plugin and the behaviour of the > goal versions:update-properties is different from my expectation. > > I have two artifacts in my repository: > > 1. pom-projet-a with the version 1.4.0 and 1.5.0-SNAPSHOT > 2.

Re: Re: Right behaviour of versions:update-properties?

2012-07-13 Thread Stephen Connolly
On 13 July 2012 10:01, wrote: > On Friday, 13 July 2012, wrote: > > > Hi all, > > > > I made some tests with the Versions Maven Plugin and the behaviour of > the > > goal versions:update-properties is different from my expectation. > > > > I have two artifacts in my repository: > > > > 1. pom-pro

Re: Generating javadoc for a set of "unrelated" projects?

2012-07-13 Thread org.apache.maven.user
On Thu, 12 Jul 2012 13:10:08 -0500 Curtis Rueden wrote: > Hi org.apache.maven.user, > > > What's the simplest way to generate (aggregated) javadoc > > for this set of projects? > > Is it enough that your javadocs cross-link with each other at their > respective published locations? > > If so,

pom formatter?

2012-07-13 Thread Nord, James
Hi all, I'm wondering if anyone knows of a command line formatter for pom files? Not just converting tabs/spaces and line lengths but sorting out the ordering of elements (model comes before parent which comes before dependencies etc) (whilst also at the same time maintaining comments!). Does

Re: pom formatter?

2012-07-13 Thread Stephen Connolly
tidy-maven-plugin @ mojo (only a snapshot release) will apply the canonical pom ordering but does not handle indenting (in fact it tries to keep all the indenting the same On 13 July 2012 14:49, Nord, James wrote: > Hi all, > > I'm wondering if anyone knows of a command line formatter for pom fi

How can I debug nexus?

2012-07-13 Thread Marc Girod
Hi, I debugged a problem from the client side of maven, using mvnDebug and jdb -attach 8000. Now, I'd like to do the same from the nexus server side. I cloned the nexus.git repo, and checkedout the nexus-2.0.4 tag. I expect I ought to start nexus under jdb using an alternative port... The issue I

[ANN] Maven Inspector for Eclipse

2012-07-13 Thread Pascal Rapicault
As much as Maven makes it easy to deal with builds, the plethora of XML and the varying life cycles phases can sometimes make it hard to figure out what a build will actually do. To help with this, I'm happy to make available the Eclipse plugin called the "Maven Inspector". This plugin provides

Re: How can I debug nexus?

2012-07-13 Thread Wayne Fay
> ...and get success, then do it again and get: 400, ReasonPhrase:Bad Request. > I clean away the storage, and it works fine again. Once. > My goal would be to build up my own competence by submitting a patch to > enhance this error report. Sounds like a good improvement to Nexus. Nexus is produc

Re: [ANN] Maven Inspector for Eclipse

2012-07-13 Thread Anthony Dahanne
Hello Pascal, Thanks for contributiong this plugin, this is a very good idea, and will save users a lot of time debugging maven builds. One remark though : * do you think it would be possible to contribute this view directly into m2e ? did you contact m2e team ? I mean, that would ease adoption of

Re: [ANN] Maven Inspector for Eclipse

2012-07-13 Thread Pascal Rapicault
Hello Anthony Thanks for your feedback. To answer your question in full disclosure. I'm an m2e committer. However I'm doing this to promote myself and my consulting services, therefore merging it back into m2e at this point would do me a disservice. Pascal On 2012-07-13, at 5:40 PM, Anthony D

ssh pluginRepository not recognized by maven 3.0.4

2012-07-13 Thread Thanos Kyritsis
Hello, I am trying to migrate from maven 2.2.1 to maven 3.0.4. My configuration involves a private ssh/scp server acting both as a repository and a pluginRepository. The problem is that maven 3 cannot recognize the pluginRepository properly, it fails with the following combination of warning

RE: pom formatter?

2012-07-13 Thread Nord, James
Thanks Stephen, It appears to use spaces for the indentation of the moved block start tag - whereas the rest of the block (and the close) are left with tabs. But otherwise just the ticket :-) /James > -Original Message- > From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]

Re: ssh pluginRepository not recognized by maven 3.0.4

2012-07-13 Thread Stephen Connolly
the default wagons in Maven 3.0 were trimmed. you will need to add the appropriate wagon as a build extension On 13 July 2012 17:11, Thanos Kyritsis wrote: > Hello, > > I am trying to migrate from maven 2.2.1 to maven 3.0.4. My configuration > involves a private ssh/scp server acting both as a r

Re: ssh pluginRepository not recognized by maven 3.0.4

2012-07-13 Thread Jason van Zyl
https://github.com/jvanzyl/maven-recipes/tree/master/deploy-with-scp-extension On Jul 13, 2012, at 12:11 PM, Thanos Kyritsis wrote: > Hello, > > I am trying to migrate from maven 2.2.1 to maven 3.0.4. My configuration > involves a private ssh/scp server acting both as a repository and a > plug

Re: [ANN] Maven Inspector for Eclipse

2012-07-13 Thread Aliaksei Lahachou
Hello, just in case someone needs it, you can achieve the same in command line using tk.skuro:plan-maven-plugin: * https://github.com/skuro/plan-maven-plugin * http://search.maven.org/#search|ga|1|g%3A%22tk.skuro%22%20AND%20a%3A%22plan-maven-plugin%22 Regards, htfv (Aliaksei Lahachou) On Fri,

Artifact with external configuration - the Maven way

2012-07-13 Thread Dušan Rychnovský
Hi! I'm using Maven at work to organize my software projects. I will first of all describe you my current build process. - The typical deployment assembly contains at least:

Re: Passing system arguments to the forked maven process for release:prepare and release:perform

2012-07-13 Thread Todd Nine
That sorted it. Here's a link to the complete POM for anyone else who has this issue as well. https://github.com/apigee/beanstalk-spring-integration/blob/02926556b51ec24b916a9ea41182c5bc10059609/pom.xml Thanks again for the help! -- Todd Nine On Thursday, July 12, 2012 at 2:43 PM, Stephen

Re: Artifact with external configuration - the Maven way

2012-07-13 Thread Aliaksei Lahachou
Hello, Maven repository may contain anything, you just have to set appropriate classifier and type/packaging. I never deployed zip archives using Maven plugins, but I often upload zips to our company Nexus using web-front. Regards, htfv (Aliaksei Lahachou) On Fri, Jul 13, 2012 at 7:56 PM, Duša

Re: Generating javadoc for a set of "unrelated" projects?

2012-07-13 Thread Curtis Rueden
Hi org.apache.maven.user, > I avoided this because I assumed that the modules of the aggregator > would have to exist as subdirectories of the project. Is this actually > the case? Yep, you'd have to have a working copy of each module in its own subdirectory. Your original statement was that yo

Issue-wise Crowdfunding platform for Maven

2012-07-13 Thread tony Tony
Hi all, I have set up a website where people can place small money bounties for open issues on Maven JIRA (or Jenkins, or Hibernate, or whatever). So far it's only got two real offers - and one of them I placed myself (JENKINS-9216: Make OpenID work with Goog

snapshot built locally

2012-07-13 Thread Chad.Davis
I understand that a SNAPSHOT dependency will be pulled from my local repository, and once a day maven will make a check for a newer version in remote repositories known to the build. Is this behavior the same if the SNAPSHOT dependency in local was built and installed from a local build?

OT: Re: Issue-wise Crowdfunding platform for Maven

2012-07-13 Thread Brian Topping
Tony, I hate to rain on your parade because it's a very good idea, but isn't this something that the Apache Foundation should also be collecting at least as much as you are collecting (3%) for the service? To keep things honest and since 3% is barely more than Paypal charges to intermediate

Re: snapshot built locally

2012-07-13 Thread Wayne Fay
> I understand that a SNAPSHOT dependency will be pulled from my local > repository, and once a day maven will make a check for a newer version > in remote repositories known to the build. Is this behavior the same if the > SNAPSHOT dependency in local was built and installed from a local build?

Re: OT: Re: Issue-wise Crowdfunding platform for Maven

2012-07-13 Thread Tony Lâmpada
Hi Brian, Actually this is exactly where we are aimed to. Since we do want to see open source projects growing from our initiative it just makes sense to get open-source communities (such as Apache) involved. Right now we're focused on getting the platform up and running so we can put together eno

Re: OT: Re: Issue-wise Crowdfunding platform for Maven

2012-07-13 Thread Ron Wheeler
Crowdfunding is the way of the future and will accelerate the growth of open source and proprietary software. Apache will have to come to grips with it since it is a way for companies to ensure that their priorities get to the top of the pile if they are only interested in providing money. It

Re: Problem with maven and deleting files in a test case

2012-07-13 Thread esyimn...@gmx.de
Am 12.07.2012 23:19, schrieb Wayne Fay: >> With JUnit everthing is perfekt on Linux and Windows. With Maven it > What version of JUnit and how are you calling it? > > >> works perfekt under Linux, but fails sometimes under Windows 7 64. > What is the failure under Windows? Can you add code to trap

jdk version detect error

2012-07-13 Thread larmbr
I am running the netty project. when i run mvn clean install It crashed with an error: Detected JDK Version: 1.6.0-24 is not in the allowed range [1.7.0,) I first want to modify the pom file but It comments that: 1.7.0 jdk is needed,or may lead to problem So I update my jdk to 1.7.0 I have check