This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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