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
<[email protected]>:
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
<[email protected]<javascript:;>>
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 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 static state to share this
value
> -- but I am wondering if there is a first-class idiom for doing this?
>
> Thanks for any advise!
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]