maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch" <stuart.mccull...@jayway.net>
Subject Re: [m2] archetype error with variables
Date Mon, 03 Dec 2007 09:19:01 GMT
On 02/12/2007, Wendy Smoak <wsmoak@gmail.com> wrote:
>
> On Dec 1, 2007 3:49 PM, Mick Knutson <mickknutson@gmail.com> wrote:
> > I have the following resource declaration in my archetype pom.xml:
> >
> >         <resources>
> >             <resource>
> >                 <directory>${basedir}/src/main/resources</directory>
> >                 <filtering>true</filtering>
> >             </resource>
> >         </resources>
> >
> > When the archetype is created, I want to have the same declaration as
> above,
>
> See the comments on http://jira.codehaus.org/browse/ARCHETYPE-39
>
> I'm not sure if the escape tool was ever added, but it seems to be
> possible to escape the expression if you put \ in the right place(s).


you could also use:

#literal()
... whatever you want here ...
#end

to protect entire sections of text

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


-- 
Cheers, Stuart

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message