I've seen that mentioned on this list a couple times, and I generally
use this notation myself as well for no particular reason.

Wayne

On 11/27/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
> Some time back I encountered a problem with properties in the pom using
> a dot-notation. I solved that by using camelHump-notation instead. In
> your case that would mean replacing "my.path" with "myPath". Not sure if
> it will work in this case, but it's worth a try.
>
> Mark Reynolds wrote:
> > I was using maven-assembly-plugin 2.2-SNAPSHOT and tried to switch to
> > 2.2-beta-2-SNAPSHOT but encountered a problem.
> >
> > I reference properties from my pom in the assembly descriptor, like this:
> >
> > <project>
> >   ...
> >   <properties>
> >     <my.path>myapp/WEB-INF</my.path>
> >   </properties>
> >   ..
> > </project>
> >
> >
> > <assembly>
> >   ...
> >   <files>
> >     <file>
> >       <source>${basedir}/target/config/somefile.conf</source>
> >       <outputDirectory>${my.path}/etc</outputDirectory>
> >     </file>
> >   </files>
> >   ...
> > </assembly>
> >
> > In 2.2-SNAPSHOT, the value was substituted but in 2.2-beta-2-SNAPSHOT the
> > literal ${my.path} is used. Is this a regression, a removed feature, or has
> > the syntax for doing this changed?
> >
> > -- Mark R
> >
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to