maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EJ Ciramella" <ejcirame...@upromise.com>
Subject RE: ant based mojo
Date Mon, 11 Sep 2006 21:33:00 GMT
Never mind - the mojo needs to be aware of these values - der!

I'm starting to like maven ;-) 

-----Original Message-----
From: EJ Ciramella [mailto:ejciramella@upromise.com] 
Sent: Monday, September 11, 2006 4:52 PM
To: Maven Users List
Subject: ant based mojo

In relation to my plugin questions below, I've moved along a bit further
-
 
I'm now able to sync via an ant based plugin, but when I package up a
plugin with things like ${p4.username}, how can I pass this stuff on to
the plugin successfully?
 
I've stashed these values inside my settings.xml file
(<p4.username>myusername</p4.username>).
 
I've tried both:
 
    <configuration>
     <p4.username>${p4.username</p4.username>
    </configuration>
 
And:
 
    <configuration>
    <systemProperties>
     <property>
           <name>p4.username</name>
           <value>${p4.username}</value>
     </property>
     </systemProperties>
     </configuration>
 
But neither work and result in:
 
sync:
     [echo] about to sync //depot/up-svcs/lty/proj/LTY-P000039/...
   [p4sync] error: Access for user '${p4.username}' has not been enabled
by 'p4 protect'.
 
Any other suggestions?

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


Mime
View raw message