Re: Passing State Between Plugin Executions

2013-01-30 Thread Aaron Dixon
Excellent, thanks all for the quick help! On Wed, Jan 30, 2013 at 3:09 PM, Robert Scholte wrote: > I would use http://maven.apache.org/ref/3.**0.4/maven-plugin-api/apidocs/* > *org/apache/maven/plugin/**AbstractMojo.html#**getPluginContext()

Re: Passing State Between Plugin Executions

2013-01-30 Thread Robert Scholte
I would use http://maven.apache.org/ref/3.0.4/maven-plugin-api/apidocs/org/apache/maven/plugin/AbstractMojo.html#getPluginContext() Robert Op Wed, 30 Jan 2013 20:36:47 +0100 schreef Stephen Connolly : You can stash it in the MavenSession IIRC On Wednesday, 30 January 2013, Brian Fox wrot

Re: Passing State Between Plugin Executions

2013-01-30 Thread Stephen Connolly
You can stash it in the MavenSession IIRC On Wednesday, 30 January 2013, Brian Fox wrote: > The enforcer plugin uses a static array to hold data between executions. > > > On Wed, Jan 30, 2013 at 2:15 PM, Aaron Dixon > > wrote: > > > I am developing a plugin with "start" and "stop" goals to be exe

Re: Passing State Between Plugin Executions

2013-01-30 Thread Brian Fox
The enforcer plugin uses a static array to hold data between executions. On Wed, Jan 30, 2013 at 2:15 PM, Aaron Dixon wrote: > I am developing a plugin with "start" and "stop" goals to be executed > typically in pre-integration-test and post-integration-test phases, > respectively. > > For exam

Passing State Between Plugin Executions

2013-01-30 Thread Aaron Dixon
I am developing a plugin with "start" and "stop" goals to be executed typically in pre-integration-test and post-integration-test phases, respectively. For example, the "start" execution will discover a port that I'd like the "stop" execution to know. Of course, I could use a file or possibly sta