You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marcell Manfrin Barbacena <ba...@gmail.com> on 2006/05/12 09:33:29 UTC

[m2] Filtering with settings properties - Bug?

Hi,

I'm following the started guide and when I try to replace ${pom.name}
for ${settings.localRepository} when filtering a resource I got the
string ${settings.localRepository} back. My settings.xml is placed in
~/.m2/settings.xml and working fine cause I can deploy using
configurations there. Am I doing something wrong?

One other question: is it possible to define properties in the
settings.xml as we can do in the pom?

[]s

ps: my settings.xml

<settings>
  <offline>false</offline>
  <servers>
    <server>
      <id>lsd</id>
      <username>marcell</username>
      <passphrase/>
    </server>
  </servers>
</settings>

pss: I thought 1st it was because the localRepository is not
specified, but then i changed for ${settings.offline} and got nothing
again :-(

-- 
"Nobody knows who i really am
 I never felt this empty before
 And if I never need someone to come along
 Who's gonna comfort me and keep me strong?"
--
Marcell Manfrin Barbacena
barbacena@gmail.com
MSN Messenger: marcell84bruk@hotmail.com
ICQ UIN: 63671762
Skype: callto://marcell84bruk
+55 (83) 8808-8555 (Oi)

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