Re: Changing Project Version During Build

2010-12-16 Thread Mike Lenner
pdate-parent && mvn clean package > > Justin > > On Wed, Dec 15, 2010 at 7:03 PM, Mike Lenner wrote: > >> I'd like to write a plugin that allows me to change the version of the >> current project during the build.  Is this considered bad form?  Is it >&

Changing Project Version During Build

2010-12-15 Thread Mike Lenner
I'd like to write a plugin that allows me to change the version of the current project during the build. Is this considered bad form? Is it even possible? My use case is that I'd like to replicate what release:prepare is doing but w/o tagging and w/o checking out new source and running the build

Maven Site Repository

2010-11-30 Thread Mike Lenner
What are common practices in terms of where to deploy maven sites to? I'm specifically asking for projects built internally within a company (i.e. only available to internal users). Initially I thought that our artifact repository itself would be a logical place but that doesn't seem to be a commo

Fork Java From Maven Plugin

2010-11-11 Thread Mike Lenner
I have a use case where I'd like to fork a new jvm to run a java process in during my build. My thinking right now is the best thing to do is to invoke the existing exec plugin (exec goal) from my own plugin (using the parameters I've configured for my users). I have additional logic I need to ac

Re: Invoking a plugin programmatically using maven 3 and scala

2010-10-25 Thread Mike Lenner
You could post a dependency tree of your pluton and I > will double check against my own pluton. > > Andreas > > Sent from my iPhone > > On Oct 26, 2010, at 12:03 AM, Mike Lenner wrote: > >> Andreas - >> >> Thanks - this works for me with one hu

Re: Invoking a plugin programmatically using maven 3 and scala

2010-10-25 Thread Mike Lenner
gt; I am attaching the latest code for my "play" plugin again. It is in scala, > but you should get > the idea of using the API's. > > Best regards > Andreas > > > > Am 10/22/10 6:24 PM, schrieb Mike Lenner: >> >> Thanks very much for this thread.

Re: Invoking a plugin programmatically using maven 3 and scala

2010-10-22 Thread Mike Lenner
Thanks very much for this thread. I'm trying to write a plugin with maven 3.0 (simply in Java) that executes another plugin as well - this has been very helpful. Just to clear up what you've discovered, were you able to use mojoDescriptor.getMojoConfiguration to build the default configuration fo

Re: Shared Assembly With Additional Files

2010-10-21 Thread Mike Lenner
Seems no one's doing this. Guess I'll go the route of dependency:unpack and just reference the target unpack directory in my shared assembly. On Wed, Oct 20, 2010 at 7:45 PM, Mike Lenner wrote: > I'd like my shared assembly to be used to import additional files I'd > l

Shared Assembly With Additional Files

2010-10-20 Thread Mike Lenner
I'd like my shared assembly to be used to import additional files I'd like to include in my final assembly. Something like: shared-assembly/pom.xml shared-assembly/src/main/resources/assemblies/my-assembly.xml shared-assembly/src/main/resources/common/README my-assembly.xml: ... common

Re: Continuous Build always building against the latest SNAPSHOT version

2010-10-05 Thread Mike Lenner
> version in project-2. Or, I guess, you could use version ranges but I'm kind > of allergic to them so I'd suggest stay off that path. > > /Anders > On Tue, Oct 5, 2010 at 22:05, Mike Lenner wrote: > >> Any help would be greatly appreciated - I'm trying

Continuous Build always building against the latest SNAPSHOT version

2010-10-05 Thread Mike Lenner
Any help would be greatly appreciated - I'm trying to figure out how to do this the maven way. I have a shared dependency called shared-util. My team frequently makes changes to our deployable projects along with changes to the shared-util. So, in my continuous build, I'd like each of our projec