Re: Mojo & Command Line Properties

2010-05-21 Thread Sessizlik
uot; > * @required > * @readonly > */ > protected MavenSession session; > > session.getExecutionProperties() > > 2010/5/20 Sessizlik : >> >> Hi, >> >> How can I access command line properties via a Mojo SubClass. >> >> Now I had thi

Re: Mojo & Command Line Properties

2010-05-20 Thread Sessizlik
I thought that I could not be here but It was at here: System.getProperties() Thanks -- View this message in context: http://old.nabble.com/Mojo---Command-Line-Properties-tp28619934p28621731.html Sent from the Maven - Users mailing list archive at Nabble.com.

Mojo & Command Line Properties

2010-05-20 Thread Sessizlik
Hi, How can I access command line properties via a Mojo SubClass. Now I had this: /** @parameter default-value="${project}" */ private MavenProject mavenProject; However when I tried to get properties via mavenProject.getProperties(), I can not access command line properties that I pass

Re: Best Practice & META-INF

2010-01-12 Thread Sessizlik
Ok sorry for mistake, Actually I wanted write build.properties. It is nothing than a normal property file. 1 ) I believe that such files should be in "/META-INF" path. But I want to be sure about this. Is it right path for it? 2 ) If it is right directory, how can I configure my war plugin to

Best Practice & META-INF

2010-01-12 Thread Sessizlik
Hi all, I want to add version information and a few other timestamps such as latest build number and so on... IMHO it should reside in META-INF folder of the my root web application like this: /META-INF /META-INF/build.xml But when I put that file in my resource folder, it is becoming so /