Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Seeing properties

 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok so in the ANT world we could easily the value of properties by echo'ing whenever we want. How do we see them in maven?
Thanks.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whenever I need to do something in Maven, I type this into Google: Maven xxx plugin
where xxx is the thing I need.

Thus, "maven properties plugin" yielded: http://mojo.codehaus.org/properties-maven-plugin/plugin-info.html
 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter Johnson wrote:Whenever I need to do something in Maven, I type this into Google: Maven xxx plugin
where xxx is the thing I need.

Thus, "maven properties plugin" yielded: http://mojo.codehaus.org/properties-maven-plugin/plugin-info.html


That's for reading properties file. Not what I was looking for. The antrun http://maven.apache.org/plugins/maven-antrun-plugin/ pluging does it but only for ant tasks.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's for reading properties file.

Then I must really be misreading the description for the properties:write-project-properties goal! But then English isn't my native language.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic