release:branch in batch mode doesn't seem to accept branch version values

2009-10-14 Thread Allan Ditzel
Hi, I'm trying to make a branch from a tag in batch mode using the release plugin. The pom in the tag has its version set to 0.2.0. I would like for the branch version to be 0.2.1-SNAPSHOT, however when I use the plugin it always sets the branch version to 0.2.0-SNAPSHOT. However, in interactive

Re: custom plugin combining/calling up other plugins

2009-10-14 Thread Allan Ditzel
The MojoExecutor worked very well for me: http://code.google.com/p/mojo-executor/ Just statically import the methods and use as per the example in the page. Hope that helps! Allan On Wed, Oct 14, 2009 at 2:36 PM, aldana ald...@gmx.de wrote: hi, i need plugin functionality which should

Re: release:branch in batch mode doesn't seem to accept branch version values

2009-10-14 Thread Allan Ditzel
, Oct 14, 2009 at 4:23 PM, Benson Margulies bimargul...@gmail.comwrote: personally, I couldn' t get release:branch to work at all, interactively or batch. On Wed, Oct 14, 2009 at 2:23 PM, Allan Ditzel allan.dit...@gmail.com wrote: Hi, I'm trying to make a branch from a tag in batch mode

Re: Invoking a plugin from within another plugin

2009-10-07 Thread Allan Ditzel
Hi Sam, That's beautiful! Thanks! Allan On Tue, Oct 6, 2009 at 5:06 PM, Samuel Le Berrigaud sleberrig...@atlassian.com wrote: Hey Allan, you might want to check out the Mojo Executor: http://code.google.com/p/mojo-executor/ SaM On Wed, Oct 7, 2009 at 8:01 AM, Allan Ditzel allan.dit

Invoking a plugin from within another plugin

2009-10-06 Thread Allan Ditzel
Hi all, What is the best accepted way for one plugin to invoke another? I can obviously do it out of process from the first plugin and do an exec, but I was wondering if there was a way to invoke another plugin in process. Thanks, Allan

Unable to deploy to server using Maven 2.1.0

2009-06-11 Thread Allan Ditzel
Hi all, Recently we are unable to deploy artifacts to our local repository by using mvn deploy. It seems that maven is ignoring the server/server block in the settings.xml in the $HOME/.m2 directory (even though mvn help:effective-settings shows the username/password/repo id specified there).

Retrieving current revision from SCM

2009-05-05 Thread Allan Ditzel
Hi all, I'm trying to do the following: We're using subversion and we need to extract the revision number of the working copy and put that in a properties file. Is there an existing plugin available to do this? I looked at the documentation for the SCM plugin and it doesn't seem to quite fit the

Re: Retrieving current revision from SCM

2009-05-05 Thread Allan Ditzel
, Olivier Lamy ol...@apache.org wrote: Hi, Have a look here : http://mojo.codehaus.org/buildnumber-maven-plugin/ HTH, -- Olivier 2009/5/5 Allan Ditzel allan.dit...@gmail.com: Hi all, I'm trying to do the following: We're using subversion and we need to extract the revision number

Re: Retrieving current revision from SCM

2009-05-05 Thread Allan Ditzel
Developer HireRight Estonia AS -Original Message- From: Allan Ditzel [mailto:allan.dit...@gmail.com] Sent: Tuesday, May 05, 2009 5:12 PM To: users@maven.apache.org Subject: Retrieving current revision from SCM Hi all, I'm trying to do the following: We're using subversion and we

Shade Plugin

2009-04-01 Thread Allan Ditzel
Hi, I'm trying to use the shade plugin to build a jar file that includes swf files from modules that are being built by a pom's parent. However, when I try to build (clean install) I get the following error: [ERROR] BUILD ERROR [INFO]

Getting the path to an individual dependency for use with the antrun plugin

2009-02-28 Thread Allan Ditzel
Hi, We have the need to run some ant tasks within our maven project, but we need to get a fully qualified path to the artifact to pass in to some ant tasks. The only thing I've found so far is the following property name=mvn.dependency.jar