The build-helper-maven-plugin has the goal reserve-network-port which writes
port numbers to maven properties that can be used within the project. Maybe
that's something to look at?

/Anders

On Thu, Apr 14, 2011 at 21:32, laredotornado-3 <[email protected]>wrote:

> Hi,
>
> I'm using Maven 3.0.3.  I want to write a Maven plugin that will ultimately
> output a string (in my case, a version control revision number) that will
> be
> used by another plugin (SCM).  How do I pass the value from one place to
> another?  FYI, I want the value to be used by the scm:checkout task here
> ...
>
>
>        org.apache.maven.plugins
>        maven-scm-plugin
>        1.5
>
>          install
>          username
>          password
>
>          revision
>
>
>
> Could someone point me at an example or let me know how this is done?
> Thanks, - Dave
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Mojo-How-do-I-write-a-plugin-to-interact-with-another-tp4303832p4303832.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to