Yes, we're talking about the pom.xml that the archetype produces. I'm aware
that I should never hard code a path but this is something my client is
asking for. Now I was trying to get some information from the project but it
seems like I can only use ${artifactId} ${groupId} ${version} and ${package}
in my archetype and nothing else. Things like ${project.build.finalName} or
${project.packaging} don't get replace in the process.

Regards,

Néstor Boscán

On Mon, Aug 15, 2011 at 1:56 AM, Anders Hammar <[email protected]> wrote:

> I'm thinking ${project.basedir} combined with filtering. Or possibly
> without filtering as you should never include a hard-coded path.
> Are we talking about the pom that the archetype produces?
>
> /Anders
>
> 2011/8/15 Néstor Boscán <[email protected]>:
> > Hi
> >
> > I need in my archetype to get the full path of a the directory where I'm
> > creating the project. Is this possible?
> >
> > Regards,
> >
> > Néstor Boscán
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to