Works swimmingly. Thanks, Wayne!
On 8/13/07, Wayne Fay [EMAIL PROTECTED] wrote:
Something along these lines should do it...
import org.apache.maven.project.MavenProject;
/**
* The maven project.
*
* @parameter expression=${project}
* @required
* @readonly
*/
private MavenProject project;
public void execute() throws MojoExecutionException,
MojoFailureException
{
project.getProperties().put(yourKey, yourValue);
}
Wayne
On 8/13/07, Mykel Alvis [EMAIL PROTECTED] wrote:
What's the mechanism for setting properties from inside a plugin?
I have a plugin that collects some information about the local
environment
and I want to include those values in the manifest during packaging
without
building my own manifest file.
Is this possible?
Thanks,
Myke
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
My friends tell me I have an intimacy problem. But they don't really know
me. -- Garry Shandling
Anyone who has the power to make you believe absurdities has the power to
make you commit injustices. -- Voltaire