How best to determine snapshot dependencies programmatically in a multi-module project

2008-06-05 Thread CDickson
I am looking for a little help with the Maven API. If I have the file path to a pom.xml file that is the top level pom in a multi-module project, how do I (using the Maven API) load that top level pom and also recurse down to the sub-module poms and come up with a list of all of the SNAPSHOT

How to better manage cascading releases

2008-05-29 Thread CDickson
We have migrated all of our internal code to Maven now. We have many separate top-level projects and many of these projects are multi-module projects. We have done a good job of moving common code elements out to their own project so they can easily be reused. Generally speaking from a basic

Forcing site plugin version

2008-05-28 Thread CDickson
I am using Maven 2.0.9 and am running into the bug detailed here: http://jira.codehaus.org/browse/MSITE-211 Currently by default it seems to be using 2.0-beta-6 of the site plugin. According to the bug report the bug is fixed in 2.0-beta-7. How do I force Maven to use 2.0-beta-7 of this plugin?

Craig Dickson is out of the office.

2008-05-03 Thread CDickson
I will be out of the office starting 05/03/2008 and will not return until 05/12/2008. I will respond to your message when I return.

Craig Dickson is out of the office.

2007-12-08 Thread CDickson
I will be out of the office starting 11/26/2007 and will not return until 02/18/2008. I will respond to your message when I return.

Craig Dickson is out of the office.

2007-12-08 Thread CDickson
I will be out of the office starting 11/26/2007 and will not return until 02/18/2008. I will respond to your message when I return.

Bug within filter mechanism?

2007-07-27 Thread CDickson
Hi, Not sure if I have tripped over a bug or I am just not using the resource filter features correctly. I have been trying to get the resource plugin to execute twice within the same project build. I have been looking around on the mail archives and have seen some different tag combinations

Filtering issue

2007-07-26 Thread CDickson
Hi, This is a follow up to my previous question regarding resource copying. Below is my resources plugin configuration which will hopefully give people a better idea of what I am trying to achieve. When I run my build I can see the 2 different executions of the plugin run and files do get

resources question

2007-07-25 Thread CDickson
Hi, I have a single POM file of package type pom. I use it to generate 4 different assemblies, that's it. I have a single resource file in src/main/resources directory. It has some property name placeholders embedded in it for filtering purposes. What I need to do is copy that single resource

How to get findbugs plugin to fail a build

2007-06-28 Thread CDickson
Hi, I want to incorporate the FindBugs tool into my builds and get it to fail my builds if it finds issues. I am using the plugin from http://mojo.codehaus.org/findbugs-maven-plugin/ Does anyone know how to configure it to fail builds, I do not see any settings for it. Right now it is

Web Interface for making Maven based releases

2007-06-19 Thread CDickson
Hi, We are using Maven across almost all of our projects now. However, when it comes to making releases we have a bottleneck in that only 1 person really has access to the correct systems and also the knowledge how to make releases with Maven that are in line with our corporate standards. We

Craig Dickson is out of the office.

2007-05-11 Thread CDickson
I will be out of the office starting 05/07/2007 and will not return until 05/14/2007. I will respond to your message when I return.

Craig Dickson is out of the office.

2007-05-11 Thread CDickson
I will be out of the office starting 05/07/2007 and will not return until 05/14/2007. I will respond to your message when I return.

Passing args to release:prepare

2007-03-24 Thread CDickson
Hi, When running release:prepare, Maven stops and asks for user input to define the release number for each module, the SCM tag to be used and then the new release number for each module. Is there a way to run release:prepare and pass all of that information on the command line or through a

Craig Dickson is out of the office.

2007-03-15 Thread CDickson
I will be out of the office starting 03/15/2007 and will not return until 03/19/2007. I will respond to your message when I return.

Craig Dickson is out of the office.

2007-03-15 Thread CDickson
I will be out of the office starting 03/15/2007 and will not return until 03/19/2007. I will respond to your message when I return.

RE: Excluding packages from javadoc plugin

2006-12-12 Thread CDickson
Thanks for the response Jorg. However, the multi-pattern option is not going to work for us as it implies we know the names of the packages enough only use 1 wildcard per package. This is not the case. I do not know what the names of the packages are at the time of writing the POM - this

Excluding packages from javadoc plugin

2006-12-11 Thread CDickson
Hi, I want to exclude classes in any package that matches this pattern: *.impl.* In other words, any class in a subpackage (of any depth) of a package called impl should not have JavaDocs generated. The docs seem to indicate that only 1 wildcard can be used per package, with the

M2: SCM properties being replaced during release:perform

2006-06-05 Thread CDickson
Hi, The scm section of a pom in CVS for a pom archetype project looks like this prior to executing release:prepare : scm connection${base.cvs.url}:commons-maven/uber-pom/connection developerConnection${base.cvs.url}:commons-maven/uber-pom/developerConnection

M2: SCM properties being replaced during release

2006-06-02 Thread CDickson
Hi, The scm section of a pom in CVS for a pom archetype project looks like this prior to executing release:prepare : scm connection${base.cvs.url}:commons-maven/uber-pom/connection developerConnection${base.cvs.url}:commons-maven/uber-pom/developerConnection

Error parsing SCM url for site-deploy target

2006-06-02 Thread CDickson
Hi, The developerConnection tag in my POM looks like this: developerConnection scm:cvs:pserver:behrcvs.masco-coatings.com:/usr/cvsroot:commons-maven/uber-pom /developerConnection There is no connection tag as we have no anonymous access. I have no problems executing the deploy target. However

Problem with http URL when adding new project

2006-05-08 Thread CDickson
Hi, I am using the following URL to try to add a new M2 project: http://behrcvs.masco_coatings.com/cgi-bin/viewcvs.cgi/*checkout*/commons/pom.xml But I am getting the following error in red bold text [ You must provide a valid url (http, https, ftp and file protocols are allowed) ] Any ideas?

Eclipse plugin adds resource directories to build path

2006-04-26 Thread CDickson
Hi, I have started using the Eclipse plugin with m2. I used the Update source folders menu option and it did find the Java source folders. But it also added the src/main/resource folder and the src/test/resource folder to my Eclipse build path. I also notice that when I go and look more