Re: [m2] jars not being built and deployed during release:perform

2007-10-03 Thread James Abley
James Abley wrote: Hi, I have done three previous release:prepare and release:perform cycles on this project, but something seems to have changed and I need a hand pin-pointing it. I have used the maven-release-plugin to prepare a release of my multi-module project and that went fine

[m2] jars not being built and deployed during release:perform

2007-09-13 Thread James Abley
Hi, I have done three previous release:prepare and release:perform cycles on this project, but something seems to have changed and I need a hand pin-pointing it. I have used the maven-release-plugin to prepare a release of my multi-module project and that went fine. When I try to perform the

[m2] mvn launch script under cygwin and release-plugin / svn

2007-08-07 Thread James Abley
Hi, I'm using the release plugin to release a module. $ mvn -B release:prepare -f release-1.3.0/the_module/pom.xml -DtagBase=svn://path.to.my.repository/the_module/tags -Dtag=MMP-REL-1.3.0_20070807_101709 -Dusername=myusername This fails with the below message: [INFO] Checking in modified

Re: [m2] How to make Cobertura coverage ignore private Constructors?

2007-08-06 Thread James Abley
On 02/08/07, Mick Knutson [EMAIL PROTECTED] wrote: I keep getting line not tested for private constructors. How do I ignore this? Try asking on a Cobertura mailing list? -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com

Re: Julia Vilke/Moscow/Canon/FI is out of the office.

2007-08-03 Thread James Abley
On 03/08/07, Gisbert Amm [EMAIL PROTECTED] wrote: Dear list administrators, is it possible to filter out any messages with subject lines containing out of the office or out of office? That would cover English speakers. How about just forcibly unsubscribing that address? -Gisbert [EMAIL

Re: deploying war automatically to tomcat

2007-07-31 Thread James Abley
On 31/07/07, maven2 [EMAIL PROTECTED] wrote: hi i want to deploy war file to webapps folder under tomcat automatically after running mvn install like in ant .can u please help Sure. What have you tried already? Google gave me lots of suggestions [1]. Maybe one of them would work for you?

[m2] release process - maven-release-plugin usage

2007-07-30 Thread James Abley
Hi, We currently have the following process for our releases: Walk the DAG of our modules in a breadth-first traversal [1] and for each module being released: 1) Create a branch in Subversion. 2) Check out the branch 3) Update the POMs so that no SNAPSHOT dependencies are stil in the POMs and

Re: [m2] release process - maven-release-plugin usage

2007-07-30 Thread James Abley
/ remove snapshot / increment to development versions and merge aspects? Cheers, James [1] http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html On 7/30/07, James Abley [EMAIL PROTECTED] wrote: Hi, We currently have the following process for our releases: Walk the DAG

Re: Maven2 release process in Continuum

2007-07-19 Thread James Abley
On 18/07/07, Mykel Alvis [EMAIL PROTECTED] wrote: 1) There is potential for me to check in the release version, start preparing the release and then someone else checks out the release version and starts doing stuff to it, when they should really be waiting until the next SNAPSHOT version

Re: Maven2 release process in Continuum

2007-07-19 Thread James Abley
On 19/07/07, Jesse McConnell [EMAIL PROTECTED] wrote: are you making good use of dependencyManagement? This should let you centralize the majority of actual version information and make it easy to release. I hope so, but I have 2 months Maven experience, so there are doubtless areas for

Re: Maven2 release process in Continuum

2007-07-18 Thread James Abley
releasing. its really pretty straight forward once you get into the swing of it. Thanks for your response, James jesse On 7/17/07, James Abley [EMAIL PROTECTED] wrote: Hi, We have a Continuum instance and would like to cut a release of a product which uses a Maven2 as the build system

Re: Maven2 release process in Continuum

2007-07-18 Thread James Abley
process will take care of resolving all internal snapshot version to the (soon to be released) version. does that help? On 7/18/07, James Abley [EMAIL PROTECTED] wrote: On 18/07/07, Jesse McConnell [EMAIL PROTECTED] wrote: at the moment I think you need to make sure the underlying project

Re: [m2] cobertura cannot open file - build fails

2007-06-18 Thread James Abley
On 18/06/07, Jens Hohl [EMAIL PROTECTED] wrote: Hello, no that's no the problem as the build already runs for a couple of days and the temp dir is full of files created by this user. Strange, as the build now is fixed... there a some files from another user which seems to be older. Maybe

Re: How to create custom lifecycle through custom plugin

2007-06-07 Thread James Abley
On 07/06/07, maarten roosendaal [EMAIL PROTECTED] wrote: Hi, For all our projects we want to count the lines of code, this is done with a small application through a plugin. We want to incorporate this in the maven lifecycle only on our buildserver and projects themselves are unaware of this

Re: [newbie] When unpacking a tar.gz how do I make it keep permissions

2007-06-07 Thread James Abley
On 07/06/07, sharrissf [EMAIL PROTECTED] wrote: When I'm using the unpack part of the dependency plugin it is reseting all the permissions of my tar.gz. I haven't been able to find how to fix that without explicity reseting the permissions to what I want them to be. Is that the best I can do

Re: [m2] Assembly plugin - break up into phases

2007-06-05 Thread James Abley
, at 5:53 AM, James Abley wrote: On 04/06/07, James Abley [EMAIL PROTECTED] wrote: Hi, I am trying to create an assembly that I can deploy to our internal repository. The envisaged steps in this process are: 1) Get all of the dependencies. 2) Do some final packaging; e.g. consolidate all

[m2] Assembly plugin - break up into phases

2007-06-04 Thread James Abley
Hi, I am trying to create an assembly that I can deploy to our internal repository. The envisaged steps in this process are: 1) Get all of the dependencies. 2) Do some final packaging; e.g. consolidate all SQL creation scripts into a single script. 3) Create a zip file ready for deployment.

Re: [m2] Assembly plugin - break up into phases

2007-06-04 Thread James Abley
On 04/06/07, James Abley [EMAIL PROTECTED] wrote: Hi, I am trying to create an assembly that I can deploy to our internal repository. The envisaged steps in this process are: 1) Get all of the dependencies. 2) Do some final packaging; e.g. consolidate all SQL creation scripts into a single

Re: Maven surefire question

2007-06-02 Thread James Abley
and isolated. Cheers, James [1] http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html [2] http://jira.codehaus.org/browse/SUREFIRE James Abley-2 wrote: On 31/05/07, SiSi'mon [EMAIL PROTECTED] wrote: As I understand it, typically when a JUnit test fails, you want it to stop right

[M2] Assembly plugin won't expand RAR files

2007-06-01 Thread James Abley
I have this in my assembly configuration: dependencySet includes includejackrabbit*rar/include /includes outputFileNameMappingjcr-repository.rar/outputFileNameMapping outputDirectory/applications/outputDirectory

Re: [M2] Assembly plugin won't expand RAR files

2007-06-01 Thread James Abley
://jira.codehaus.org/browse/MASSEMBLY-215 As a workaround, I can use the maven-antrun-plugin, but it's more complex than I think it should be. Thanks, James -D On 6/1/07, James Abley [EMAIL PROTECTED] wrote: I have this in my assembly configuration: dependencySet includes

Re: Maven surefire question

2007-05-31 Thread James Abley
On 31/05/07, SiSi'mon [EMAIL PROTECTED] wrote: As I understand it, typically when a JUnit test fails, you want it to stop right there and report the error (and not continue running tests). However in some code I recently inherited using the Maven surefire plugin, a test fails and it keeps

Re: Access to the full classpath when running under Surefire (WAS: [Maven 2])

2007-05-31 Thread James Abley
On 23/05/07, Lasse Koskela [EMAIL PROTECTED] wrote: Oops. Sorry about the ambiguous title in my previous post... I changed it to something more communicative. Lasse On 5/23/07, Lasse Koskela [EMAIL PROTECTED] wrote: Hi, I'm trying to convert the open source JUnit extension called JspTest

Re: Deploying with Maven (Engineering a design)

2007-05-29 Thread James Abley
On 27/05/07, Stephane Nicoll [EMAIL PROTECTED] wrote: Hi, On 5/25/07, vcordaro [EMAIL PROTECTED] wrote: Hi, I have picked up an interesting project at work. My end goal is to deploy our latest code in SVN to our servers nightly. Now we have a custom installer built in izpack. So

Re: How configure to Multiproject Site references

2007-05-21 Thread James Abley
On 20/05/07, Mac Systems [EMAIL PROTECTED] wrote: Hello, actually i wonder how to generate an Site for an Multiproject ? The (Master) Project Site will be generated for all my Modules but i do not know how to link to each module's site ? Project: pom.xml | | Module A pom.xml -

Re: Massive delay at end of large maven build

2007-05-16 Thread James Abley
On 16/05/07, Napoleon Esmundo Ramirez [EMAIL PROTECTED] wrote: It's probably java freeing up all the memory maven used in the heap. :) On 5/15/07, J. Matthew Pryor [EMAIL PROTECTED] wrote: At the very end of my build (maven 2.0.5 on Mac OSX) I get a several minute delay after the final

Re: an oveview of all the installed plugins and goals

2007-05-16 Thread James Abley
On 16/05/07, Gert-Jan Braas [EMAIL PROTECTED] wrote: OK. So that is a way of obtaining plugin info. Now I'm using the axis2-aar maven plugin. As far as I can tell, it is installed. == [EMAIL PROTECTED]:~/.m2/repository$ find . | grep aar

Re: NoClassDefFoundError when running test

2007-05-14 Thread James Abley
Does that class or something it depends on have the possibility of failing in a static initializer? A NoClassDefFoundError frequently masks the underlying cause, due to the way the JVM loads classes. Something might be throwing a NullPointerException with a more obvious error message, but the

Re: Deactivating profiles

2007-05-10 Thread James Abley
On 10/05/07, David Corbin [EMAIL PROTECTED] wrote: On Thursday 10 May 2007 08:52:04 Stephen Coy wrote: Hi, There's a trick to this I discovered about six months ago. It is possible to define a profile that is active when an env variable is *not* defined: profile activation

Re: Deactivating profiles

2007-05-09 Thread James Abley
I have a situation like this as well. My use case is the maven release plugin and cargo. For day to day builds, I want to use cargo to deploy the latest version of a war file to my web container. During the release, the build falls over during the cargo undeploy step due to the incremented

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread James Abley
1.3 has been end-of-lifed. Any reason not to make 1.4 the minimum base version? James On 04/05/07, Ian Springer [EMAIL PROTECTED] wrote: Nope, that doesn't sound crazy at all. Both of your points make perfect sense. I retract my earlier +1 :-) One minor quip - the docs should be updated to

[m2] application documentation - Simple DocBook?

2007-05-02 Thread James Abley
Hi, I'd like the documentation that I'm producing for my application to be available in various formats (currently HTML and PDF; the list may grow). The options that we're kicking about are Docbook, or writing it with Word / OpenOffice and saving to different formats. I have a suspicion that

Re: Releasing from multiple modules

2007-05-01 Thread James Abley
://jira.codehaus.org/browse/MNG-1683 Otherwise, I have a locally built zip file which I have to manually deploy into our internal repository, which would seem to be the wrong way to do it. Cheers, James On 30/04/07, James Abley [EMAIL PROTECTED] wrote: Excellent. That's getting the WAR files into the Zip

Re: Releasing from multiple modules

2007-05-01 Thread James Abley
-plugin/howto.html If it's an assembly, you can use the attached goal from the assembly plugin. Emmanuel James Abley a écrit : Sorry, another follow-up. Is there a clean way to deploy the resulting zip file into a repository? http://maven.apache.org/pom.html#maven_coordinates The specified

Re: What is the official maven 2 repository location?

2007-05-01 Thread James Abley
Will it be as simple as issuing HTTP 301 status codes and maven as a good HTTP client will notice and update it's configuration? Or do we as users need to do something at our end? Cheers, James On 01/05/07, Jason van Zyl [EMAIL PROTECTED] wrote: On 1 May 07, at 5:08 AM 1 May 07, Xavier Hanin

Re: Releasing from multiple modules

2007-04-30 Thread James Abley
(and in my local repository), but no request is made to retrieve them. What am I missing? Cheers, James On 25/04/07, James Abley [EMAIL PROTECTED] wrote: Thanks for that link, that does seem very useful to know. Any comments on my suggested approach of releasing content? I'm trying to understand what

Re: Releasing from multiple modules

2007-04-30 Thread James Abley
Excellent. That's getting the WAR files into the Zip. I could then do a little tweak to rename my war files to something more consistent with the installation documentation I'm about to write! dependencySets dependencySet includes includewebapp-A-*war/include

Re: What is the Best practice for generating variations of an artifacts?

2007-04-26 Thread James Abley
Coming from a strong ANT background, that approach seems very familiar! On 26/04/07, Wayne Fay [EMAIL PROTECTED] wrote: I think several of us would be interested in this approach. Some sample code etc would be great. Wayne On 4/26/07, jp4 [EMAIL PROTECTED] wrote: I have found a solution

Releasing from multiple modules

2007-04-25 Thread James Abley
Hi, I'm fairly new to Maven2 and haven't used it much in situations more complex than those described in the documentation. But now I have hit an issue that I haven't been able to find much documentation on this subject[1], so I wanted to confirm what the suggested best practice is in this area

Re: Releasing from multiple modules

2007-04-25 Thread James Abley
Thanks for that link, that does seem very useful to know. Any comments on my suggested approach of releasing content? I'm trying to understand what Maven buys me by using the mvn release:prepare approach. Cheers, James On 25/04/07, Damien Lecan [EMAIL PROTECTED] wrote: I'm fairly new to