Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread Brett Porter
2008/9/6 jwcarman <[EMAIL PROTECTED]> > > Brett, > > I apologize, but I don't understand what you mean. When do I do the > filtering? Do I need to put the pom.xml file somewhere else in my project > structure? Do I just turn on filtering for the place where my pom.xml lies > now? Yes, this i

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread jwcarman
Brett, I apologize, but I don't understand what you mean. When do I do the filtering? Do I need to put the pom.xml file somewhere else in my project structure? Do I just turn on filtering for the place where my pom.xml lies now? Brett Porter wrote: > > You are best to filter this in when cr

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread Brett Porter
You are best to filter this in when creating the original artifact using the conventional resource filtering. - Brett 2008/9/5 jwcarman <[EMAIL PROTECTED]> > > Brett, > > Yes, I want it to be the same as the version of the archetype (I tried > ${archetypeVersion}, but that stays as it is too). T

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread jwcarman
Brett, Yes, I want it to be the same as the version of the archetype (I tried ${archetypeVersion}, but that stays as it is too). The archeytpe has a "sibiling" which is my "core library." Brett Porter wrote: > > Sorry, I misunderstood that it was actually inside the archetype. Do you > want

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread Brett Porter
Sorry, I misunderstood that it was actually inside the archetype. Do you want it to be replaced with the version of the archetype (that should probably be filtered in at build time), or to be the one that is prompted for when generating the archetype project (${version} instead)? Cheers, Brett 200

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread jwcarman
Brett, That actually doesn't get translated for me (that was the first thing I tried). It shows up in the resulting pom when I generate a project from the archetype exactly as you typed it. Brett Porter wrote: > > ${project.version} > -- View this message in context: http://www.nabble.

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread Brett Porter
${project.version} 2008/9/3 jwcarman <[EMAIL PROTECTED]> > > I have a project that contains a core library and a couple of archetypes > that > I want to use it. How do I put a dependency in my archetypes that says > "use > the core library from the same version as me"? Does that make sense? > -

Refer to the enclosing project's version in the generated archetype

2008-09-03 Thread jwcarman
I have a project that contains a core library and a couple of archetypes that I want to use it. How do I put a dependency in my archetypes that says "use the core library from the same version as me"? Does that make sense? -- View this message in context: http://www.nabble.com/Refer-to-the-enc