Site plugin to document properties in the pom?

2013-01-14 Thread Graham Leggett
Hi all, I am looking for a plugin that will take the properties defined in the POM, and include these properties in the generated site. Does such a plugin exist? The problem I am trying to solve is that I have properties defined in a parent POM, and would like to expose these properties in

Re: Site plugin to document properties in the pom?

2013-01-14 Thread Olivier Lamy
maybe http://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html#Filtering 2013/1/14 Graham Leggett minf...@sharp.fm: Hi all, I am looking for a plugin that will take the properties defined in the POM, and include these properties in the generated site. Does such a

Best Practices for Managing Maven with Branches

2013-01-14 Thread John Kramer
Hi guys, Please forgive me if this seems like a newbie question. I am reasonably seasoned with Maven, but have never really handle branching myself, and now I am put in the position where I am going to have to. I.e. What I am asking here is when I branch in git (or svn or whatever) how do I

Re: Site plugin to document properties in the pom?

2013-01-14 Thread Graham Leggett
On 14 Jan 2013, at 6:36 PM, Olivier Lamy ol...@apache.org wrote: maybe http://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html#Filtering Doesn't seem to fit, alas, as you have to come up with your own template and manually add the new properties to the template. In

Re: Best Practices for Managing Maven with Branches

2013-01-14 Thread Manfred Moser
A very common and well working approach is to have a branch qualifier in the version and change the version of your project with the versions plugin. So e.g. you would have 1.1.2-brancha-SNASPHOT 1.1.2-branchb-SNASPHOT and to update them after you cut the branch in your scm you could use mvn

Re: Best Practices for Managing Maven with Branches

2013-01-14 Thread John Kramer
Are there any automated tools for that or should I write my own see/perl/something? John Kramer email: jkra...@mojiva.com mobile: 314.435.2370 skype: kramer.mojiva twitter: @KramerKnowsTech https://twitter.com/KramerKnowsTech 0xCAFEBABE0032 On 1/14/13 11:43 AM, Manfred Moser

Re: Best Practices for Managing Maven with Branches

2013-01-14 Thread Manfred Moser
The mvn versions plugin can do the update of the pom... but the branching and stuff can be done with the scm plugin. If you want it completely automated you have to roll those together on your own somehow. On Mon, January 14, 2013 9:06 am, John Kramer wrote: Are there any automated tools for

assembly plugin, permissions, and include**/*/include

2013-01-14 Thread Steve Cohen
I have noticed the following behavior that seems strange to me. I am using the assembly plugin to create a tar.gz archive. I have several filesets that I use, and they all specify file and directory permissions. Some filesets create a single target directory from a single source directory

Re: Best Practices for Managing Maven with Branches

2013-01-14 Thread Nick Stolwijk
Or take a look at the Maven Release Plugin - branch goal [1] and it's documentation page [2]. [1] http://maven.apache.org/maven-release/maven-release-plugin/branch-mojo.html [2] http://maven.apache.org/maven-release/maven-release-plugin/examples/branch.html Hth, Nick Stolwijk ~~~ Try to leave

Re: Some questions about Webby

2013-01-14 Thread Miguel Almeida
Hey Thorsten, Did you manage to figure out this? I've just asked the exact same thing in m2e's mailing list! Cheers, Miguel Almeida On Tue, May 8, 2012 at 2:47 PM, Thorsten Heit thorsten.h...@vkb.de wrote: Hi, today I decided to give Webby a try. Apart from Webby Core I also installed

Re: Best Practices for Managing Maven with Branches

2013-01-14 Thread Manfred Moser
True... provided your scm system supports all that ;-) In most cases it should work. On Mon, January 14, 2013 9:38 am, Nick Stolwijk wrote: Or take a look at the Maven Release Plugin - branch goal [1] and it's documentation page [2]. [1]

RE: Some questions about Webby

2013-01-14 Thread Martin Gainty
Another great tool to have in your toolbelt IMHO: most IDEs (not only eclipse) will allow debugging HTTP 1.0/HTTP 1.1 Connections i havent seen any tool except openssl and curl for debugging SSL connections ..picture the following 2 scenarios Client has wrong key for cert or

Re: Site plugin to document properties in the pom?

2013-01-14 Thread Mirko Friedenhagen
Hello Graham, I once was successful with referencing injected properties in velocity by using the get method. Maybe something like: ${project.properties.get(tomcat.port.http.confluence43.live)} will work? Regards Mirko On Mon, Jan 14, 2013 at 5:40 PM, Graham Leggett minf...@sharp.fm wrote: On

Re: Site plugin to document properties in the pom?

2013-01-14 Thread Graham Leggett
On 14 Jan 2013, at 10:02 PM, Mirko Friedenhagen mfriedenha...@gmail.com wrote: I once was successful with referencing injected properties in velocity by using the get method. Maybe something like: ${project.properties.get(tomcat.port.http.confluence43.live)} will work? Alas, no. The idea is

Escape '*' in property command line

2013-01-14 Thread Billy Newman
Using maven 2. I am trying to pass a cron expression as a property in a maven build. mvn clean install -Dcron-expression=0 0 23 * * * However it looks like the maven script is doing something funky with the '*' characters before actually passing them off to java. I actually get a directory

Re: Escape '*' in property command line

2013-01-14 Thread Curtis Rueden
Hi Billy, I actually get a directory listing of the current directory in which the pom is executing. That sounds more like your shell is interpreting the asterisks as globs. Did you try it with single quotes instead of double quotes? -Curtis On Mon, Jan 14, 2013 at 2:57 PM, Billy Newman

Re: Escape '*' in property command line

2013-01-14 Thread Billy Newman
I did try single quotes, unfortunately that did not work either. I modified the maven script to print out is quoted args variable, looks like it did some sort of filename expansion with the '*' character. When I perform: echo 0 0 23 * * * I get: 0 0 23 * * *, as one would expect. Seems like a

Re: Best Practices for Managing Maven with Branches

2013-01-14 Thread Ed Hillmann
I've had very good experience with the goals on the release plugin. It pretty much does what is required for my branching needs. Thanks, Ed On Tue, Jan 15, 2013 at 3:38 AM, Nick Stolwijk nick.stolw...@gmail.comwrote: Or take a look at the Maven Release Plugin - branch goal [1] and it's