Values for instantiationStrategy

2010-12-07 Thread Eric Rotick
I am trying to write a plugin which supports the concept of having multiple stages of a test. The actual test implementation is loaded at execute time into the mojo and then the various stages are implemented as discrete execution's. The problem I face is that I get a new instance of the mojo for

Getting phase in a plugin

2010-11-29 Thread Eric Rotick
I have created a plugin and I would like to do slightly different things based on the phase in which the plugin is executing. How can I determine the phase at execute time? Many thanks.

Re: Getting phase in a plugin

2010-11-29 Thread Eric Rotick
, Stephen Connolly stephen.alan.conno...@gmail.com wrote: You currently cannot - Stephen --- Sent from my Android phone, so random spelling mistakes are a direct result of using swype to type on the screen On 29 Nov 2010 18:39, Eric Rotick pc.gree...@gmail.com wrote: I have created a plugin

maven-dependency-plugin still misbehaving

2010-11-05 Thread Eric Rotick
I am experiencing the same problem as documented in MDEP-257http://jira.codehaus.org/browse/MDEP-257whereby the includedClassifiers is ignored. I am having trouble making the suggested fix work. I have added a dependency so plugin

Re: Multiple profile execution in maven

2010-08-27 Thread Eric Rotick
Have you got any profiles confiured in your settings.xml which we won't have used simply by using your pom? On Fri, Aug 27, 2010 at 12:35 PM, Sridhar Laxmipuram Srinivasan sridh...@yahoo-inc.com wrote: Yes now the fun part :) When I do mvn help:active-profiles -P CommentsBAT,BAT it shows me

Re: Advice on version control

2010-06-17 Thread Eric Rotick
. On Thu, Jun 17, 2010 at 12:50 AM, Ron Wheeler rwhee...@artifact-software.com wrote: On 15/06/2010 9:04 AM, Eric Rotick wrote: All good advice but my feeling is that is all comes down to one basic rule; if it can go wrong, it will. We've all been there; the code's written, the documentation's

Advice on version control

2010-06-15 Thread Eric Rotick
This might be more to do with SCM than Maven but as Maven seems to have the handle on most things I thought I'd ask this list first. It is clear that the version contained in the pom is vitally important and the process by which a version or revision number is incremented is clear. Unfortunately,

Re: Advice on version control

2010-06-15 Thread Eric Rotick
to change, use SNAPSHOT as version in POM -- Best Regards, AdRiAN ShUM -Original Message- From: Eric Rotick [mailto:pc.gree...@gmail.com] Sent: Tuesday, June 15, 2010 7:22 PM To: users@maven.apache.org Subject: Advice on version control This might be more to do with SCM than

Re: Advice on version control

2010-06-15 Thread Eric Rotick
think it is more of a procedure issue instead :) -- Best Regards, AdRiAN ShUM -Original Message- From: Eric Rotick [mailto:pc.gree...@gmail.com] Sent: Tuesday, June 15, 2010 7:53 PM To: Maven Users List Subject: Re: Advice on version control This is exactly what we've been doing

maven-plugin-plugin parser problem

2009-07-26 Thread Eric Rotick
Hi all, I've been writing some plugins and all is OK. I've now been told to integrate these into the system which means comments, documentation etc. Now the plugins no longer work ;-( I've found out why and done some more digging and I can see there are several other problems in a similar area

Re: maven-plugin-plugin parser problem

2009-07-26 Thread Eric Rotick
If you use either /* .. */ or // type comments the plugin runs but the description is still wrong. The workaround is simple but the parser picks up other javadoc style comments in error. This has to be wrong. Eric On Sun, Jul 26, 2009 at 5:17 PM, Heinrich Nirschl heinrich.nirs...@gmail.com

Re: Use of profiles

2009-01-16 Thread Eric Rotick
but outside of the lifecycle. The may provide what we are looking for. Thanks for making me re-read the thread. Eric. On Fri, Jan 16, 2009 at 4:10 PM, Trevor Harmon tre...@vocaro.com wrote: On Jan 15, 2009, at 7:09 AM, Eric Rotick wrote: So, the first question is, is this use of profiles correct? I

Use of profiles

2009-01-15 Thread Eric Rotick
I can't recall where I read the advice but I've been using profiles to set up various test scenarios. This works well as I can then use the dependency logic. These are manually run tests via the command like as in mvn -Ptest1 Within the profile I can then create a database, load it with test

Re: Ignore errors from exec-maven-plugin

2008-11-27 Thread Eric Rotick
It's quite simple really. You create a shell script which always returns an exit status of zero and then call the binary application within that. On Wed, Nov 26, 2008 at 10:49 AM, Eric Rotick [EMAIL PROTECTED] wrote: Hi All, I'm having a problem getting the exec-maven-plugin to support my

Database locked running site

2008-11-27 Thread Eric Rotick
I've cracked this problem but I though I'd let others know to try and avoid them falling into the same trap. I was having a problem running site whereby the database used in the test section was locked by another user. The test involves setting up a fresh database environment for which I use the

Ignore errors from exec-maven-plugin

2008-11-26 Thread Eric Rotick
Hi All, I'm having a problem getting the exec-maven-plugin to support my requirements and I hoped the list might be able to help. I need to run a binary application to tickle some hardware into life before I run a test. This application exits with various status codes to indicate certain aspects

Problems settings up

2008-04-01 Thread Eric Rotick
I'm having some problems getting Archiva to work and just wondered if I'm missing anything. I'm using 1.0.1 standalone. I followed the install guide but I think there is an error when it says to move the conf and data directories. I had to move the conf directory back otherwise it wasn't being

Unpack with strip version is missing

2007-10-30 Thread Eric Rotick
I am attempting to mavenize a project whose purpose is to update a binary data structure from old versions to a current version. Each version provides an update tool from the previous version so it's a combination of these tools. There is always something slightly different with each version so