File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Seeing properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Seeing properties" Watch "Seeing properties" New topic
Author

Seeing properties

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
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

Joined: May 14, 2008
Posts: 5779
    
    7

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


JBoss In Action
Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
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

Joined: May 14, 2008
Posts: 5779
    
    7

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Seeing properties
 
Similar Threads
Passing runtime parameters to EJB
Properties
Question on standard actions
WA #1.....word association
log4j.properties in wsad