Hi,
I'm trying to inject the artifactId and groupId.
Maybe I should just go to bed and wake up fresh, but I'm pretty sure
this is the correct way:
/*
* @parameter expression="${project.artifactId}"
*/
private String artifactId;
/*
* @parameter expression="${project.groupId}"
*/
private String groupId;
public void execute()
throws MojoExecutionException
{
getLog().info(
"============================================================\n");
getLog().info( artifactId );
getLog().info( groupId );
getLog().info(
"============================================================\n");
When I run the mojo, I get nothing logged for hte artifactId and groupId.
Any ideas?
Thanks,
- Ole
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]