You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Aaron Anodide <aa...@unipress.com> on 2003/11/25 05:25:08 UTC

pom.id question

I am using genapp to create my initial directory structure.

I want to reference my application id in maven.xml.

However ${pom.id} is yielding "id:id".

Is there an easy way to get "id" from this?  Like a jelly command to split
"id:id" into a list and take the first element?

Or, is there an easier way to access this value?

Maybe the genapp plugin should put this value into project.properties by
default?

BTW, I realize this is an open source project, and I don't want to leech -
should I be actually doing these little changes and offering them?  I'm new
to open source.

Thanks,
Aaron


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: pom.id question

Posted by Ben Walding <be...@walding.com>.
You'd be wanting pom.groupId and pom.artifactId

Aaron Anodide wrote:
> I am using genapp to create my initial directory structure.
> 
> I want to reference my application id in maven.xml.
> 
> However ${pom.id} is yielding "id:id".
> 
> Is there an easy way to get "id" from this?  Like a jelly command to split
> "id:id" into a list and take the first element?
> 
> Or, is there an easier way to access this value?
> 
> Maybe the genapp plugin should put this value into project.properties by
> default?
> 
> BTW, I realize this is an open source project, and I don't want to leech -
> should I be actually doing these little changes and offering them?  I'm new
> to open source.
> 
> Thanks,
> Aaron
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org