Re: Ensuring all dependencies are "nailed down" to a particular version

2008-10-11 Thread Wayne Fay
The enforcer plugin has rules which address this specific use case: http://maven.apache.org/enforcer/enforcer-rules/index.html Wayne On Sat, Oct 11, 2008 at 7:01 PM, Ian Rowlands <[EMAIL PROTECTED]> wrote: > I was wondering what is the best way to ensure (for build > reproduceability) that all pl

Re: About wagon-jackrabit's webdav

2008-10-11 Thread Dan Tran
Oleg, the mercury dav comes with 2.1-M2-SNAPSHOT has not implemented Wagon.getFileList yet [ERROR] FATAL ERROR [INFO] [INFO] The wagon you are using has not implemented getFileList() [INFO] ---

Ensuring all dependencies are "nailed down" to a particular version

2008-10-11 Thread Ian Rowlands
I was wondering what is the best way to ensure (for build reproduceability) that all plugins and the liked being used in the builds have a specific version and not just picking up the latest version? Is there a plugin that could help with this, a tool that could help, or something else apart fr

Re: Generate list of plugins and their versions used in a build

2008-10-11 Thread Wendy Smoak
On Sat, Oct 11, 2008 at 3:06 PM, aman kohli <[EMAIL PROTECTED]> wrote: > So what we need to do is put together a list of all the components that went > into a build (so all the supporting maven plugins) Then I don't quite understand why the output of mvn help:effective-pom isn't what you need. U

Re: About wagon-jackrabit's webdav

2008-10-11 Thread Dan Tran
i will try, However, I would like to my wagon plugin to work with any wagon extenstion. When to plan to release the first wagon-mercury provider? http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/wagon/wagon-mercury is up to date? Thanks -Dan On Sat, Oct 11, 2008 at 11:2

Re: generating multiple executable jars from 1 project

2008-10-11 Thread Britske
hmm, must have been sleeping. What i wanted to do is of course simply done with: java -cp /path/to/jar Class.To.Execute thanks anyway Britske wrote: > > Hi, > > I'm pretty new to Maven2 and I'm trying to do the following: > > I have a project (in Eclipse maven enabled) which among other

generating multiple executable jars from 1 project

2008-10-11 Thread Britske
Hi, I'm pretty new to Maven2 and I'm trying to do the following: I have a project (in Eclipse maven enabled) which among other sourcecode has about 20 programs that can be executed form the command line. It was useful for me to have these all in one place during development. These programs all

[ANN] Maven Antrun Plugin 1.3 Released

2008-10-11 Thread Barrie Treloar
The Maven team is pleased to announce the release of the Maven Antrun Plugin, version 1.3 This plugin provides the ability to run Ant tasks from within Maven 2. http://maven.apache.org/plugins/maven-antrun-plugin/ You should specify the version in your project's plugin configuration: org.apac

Re: Generate list of plugins and their versions used in a build

2008-10-11 Thread aman kohli
So what we need to do is put together a list of all the components that went into a build (so all the supporting maven plugins) this allows a couple of things: * reproducability of the build environment [this is required to help us re-construct a build] * knowing what went into a build so if a la

Re: Generate list of plugins and their versions used in a build

2008-10-11 Thread Wendy Smoak
On Sat, Oct 11, 2008 at 1:41 PM, aman kohli <[EMAIL PROTECTED]> wrote: > Thanks for the responses. Unfortunately 'mvn help:effective-pom' does not > quite do what we need it to. Here's an example, trying to get a list of > all the site plugins and their versions used is a challenge as this is not

Re: Generate list of plugins and their versions used in a build

2008-10-11 Thread aman kohli
Thanks for the responses. Unfortunately 'mvn help:effective-pom' does not quite do what we need it to. Here's an example, trying to get a list of all the site plugins and their versions used is a challenge as this is not covered by effective-pom. Doing mvn -cpu and groking the output would be

Re: About wagon-jackrabit's webdav

2008-10-11 Thread Oleg Gusakov
Dan - there are two packages there - zip, gz; try zip: http://people.apache.org/~ogusakov/repos/staging/org/apache/maven/apache-maven/2.1.0-M2-SNAPSHOT No - you don't have to switch protocol, mercury there is a replacement for the below-mentioned protocols and passed all the ITs. Cheers, Ole

How to escape $ character in POM?

2008-10-11 Thread Jiaqi Guo
I ran into situation where a plugin configuration contains $ character. $$ or \$ didn't seem to work. Any suggestions? Thanks. I'm using maven-2.0.9 Regards -Jiaqi Guo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Phase property?

2008-10-11 Thread Jon Strayer
I have some executions attached to three phases (validate, process-resources & process-classes) that it would like to execute only once per build. What's the best way to achieve that? I tried using the ant-run plugin to set a property but that doesn't seem to be working (I haven't figured out why

Re: how to manually invoke maven-antrun-plugin executions

2008-10-11 Thread Brett Porter
Unfortunately you can't cherrypick executions from the commandline - it will run with the plugin level configuration. You're best bet to achieve this putting the tasks in a separate build file and then having something like: ... some.target

how to manually invoke maven-antrun-plugin executions

2008-10-11 Thread Mark Struberg
Hi! I'd like to know what you think about the following problem: One of my colleagues use the maven-antrun-plugin to execute an ant task which is not available through a native maven plugin (the openjpa-maven-plugin currently only implements the 'enhance' mojo, but no mappingtool support). He

Re: Changing dependency in pom.xml using profiles

2008-10-11 Thread Stephen Connolly
I would think a better way would be to specify the different artifacts as dependencies only in different profiles. You can then just activate the profile for the artifact you want, and everything is self-contained in the pom 2008/10/11 Brett Porter <[EMAIL PROTECTED]>: > mvn help:effective-* will

Re: maven ant tasks and remote repository in pom

2008-10-11 Thread Baptiste MATHUS
*Hi,* Well, I guess that you won't find lots of people doing ant scripts that call maven that calls ant tasks... Are you sure there's not something wrong with it? But trying to answer your question: I guess that maven, even when called from an ant script, will just look for the settings.xml that c