Re: Proximity forum

2006-06-28 Thread Kieran Brady
Works ok here :) Non-authoritative answer: Name:abstracthorizon.org Address: 207.210.85.147 Aliases: www.abstracthorizon.org - Original Message - From: John Allen [EMAIL PROTECTED] To: users@maven.apache.org Sent: Wednesday, June 28, 2006 10:55 AM Subject: Re: Proximity forum

Re: Sun jars revisited

2006-06-28 Thread Kieran Brady
Specification-Version. Definitely not the VM as a different VM could build the same jar. But for those artifacts that don't have any info in the manifest I tend to make it up/take an educated guess :) - Original Message - From: Jeff Mutonho [EMAIL PROTECTED] To: Maven Users List

Re: Problem with installed jaxrpc.jar

2006-06-28 Thread Kieran Brady
You need to include -DgeneratePom=true when using install:install-file Because you missed it out (easy to do), there is no local repo pom file so mvn goes off to central and finds the pom, which then has the relocation info in it for the jar. If you re-run the install with the extra param

Re: Getting the classpath right in a java plugin

2006-06-28 Thread Kieran Brady
And now you're guilty of not providing a link or other ref for that thread ;-) - Original Message - From: TimHedger [EMAIL PROTECTED] To: users@maven.apache.org Sent: Wednesday, June 28, 2006 2:59 PM Subject: Re: Getting the classpath right in a java plugin I'm guilty of not

Re: Getting the classpath right in a java plugin

2006-06-28 Thread Kieran Brady
Oops, my mistake! Don't you just love Outlook Express :) Viewing the message in text mode doesn't show the link. I wonder what else I've missed :) - Original Message - From: TimHedger [EMAIL PROTECTED] To: users@maven.apache.org Sent: Wednesday, June 28, 2006 3:11 PM Subject: Re:

RE: RE: [m204] Error with compiler plugin with new project...

2006-06-27 Thread Kieran Brady
I removed what you said. I only found 1.5.0_07 and now I get this: ... Caused by: java.io.IOException: CreateProcess: CMD.EXE /X /C javac -d Any problems running this from a Command Prompt? - To unsubscribe, e-mail: [EMAIL

Re: jarring non class files

2006-06-22 Thread Kieran Brady
Specify them as resources: ... build resources resource directorysrc/spring/context/directory /resource ... HTH :) - Original Message - From: Jeff Mutonho [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Thursday, June 22, 2006 3:34 PM Subject: jarring non

Re: jarring non class files

2006-06-22 Thread Kieran Brady
Sent: Thursday, June 22, 2006 4:10 PM Subject: Re: jarring non class files On 6/22/06, Kieran Brady [EMAIL PROTECTED] wrote: Specify them as resources: ... build resources resource directorysrc/spring/context/directory /resource ... HTH :) Thanx.My build section in my pom reads

Re: jarring non class files

2006-06-22 Thread Kieran Brady
List users@maven.apache.org Sent: Thursday, June 22, 2006 4:35 PM Subject: Re: jarring non class files On 6/22/06, Kieran Brady [EMAIL PROTECTED] wrote: A1) Because you are specifying your source directory as 'src'. The standard is src/main/java (inherited from the super pom). This would treat src

Re: external jar dependency

2006-06-20 Thread Kieran Brady
This should be: mvn install:install-file -DgroupId=JTKSortSuite -DartifactId=JTKSortSuite -Dversion=4.0 -Dfile=C:\branches\testApp\lib\JTKSortSuite_400.jar -Dpackaging=jar -DgeneratePom=true but you should probably change your groupId/artifactId to something different (e.g. groupId=JTK

RE: RE: Error with maven-archetype-j2ee-simple

2006-06-16 Thread Kieran Brady
I think this is your problem: http://jira.codehaus.org/browse/ARCHETYPE-36 Seems it was fixed early this week so you may need to build it from source or wait for the next release. Thanks Felipe. Unfortunately, -U does not help. I even wiped out the entire m2 repository and tried from scratch.

Re: integration builds and version numbers

2006-06-14 Thread Kieran Brady
Its 'release:prepare' and 'release:perform' This is the best guide I know of: http://apollo.ucalgary.ca/tlcprojectswiki/index.php/Public/Project_Versioning_-_Best_Practices - Original Message - From: EJ Ciramella [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent:

Re: Best practices for multi-flavour build?

2006-06-13 Thread Kieran Brady
Hi Theo, You're correct, that solution does require duplication but in our case its only a couple of POMs so is manageable for the time being. I believe that a profiles.xml may be the solution for multiple POMs but I haven't yet had chance to test it out. Kieran - Original Message

Re: Test reports

2006-06-09 Thread Kieran Brady
Hi Iulia, Checked it now and in the XML reports yes there is duplication (but not in the text versions), looks like a bug! Kieran - Original Message - From: Iulia Andreescu [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Friday, June 09, 2006 12:41 PM Subject:

Re: Best practices for multi-flavour build?

2006-06-08 Thread Kieran Brady
Sure! The below is from one of our webapps. !-- ... -- build resources resource directorysrc/main/resources/directory /resource resource filteringtrue/filtering directorysrc/main/resources/filtered/directory /resource resource

Re: Errors in adding cruisecontrol plugin

2006-06-08 Thread Kieran Brady
There is no CruiseControl plugin for Maven2 AFAIK, only for maven1. You can just point your CC config.xml at a pom.xml and it will build it: ... schedule maven2 pomFile=path/to/pom.xml goal=clean scm:update|install site time=0200/ /schedule - Original Message - From: shinjan sen

Re: Errors in adding cruisecontrol plugin

2006-06-08 Thread Kieran Brady
/8/06, Kieran Brady [EMAIL PROTECTED] wrote: There is no CruiseControl plugin for Maven2 AFAIK, only for maven1. You can just point your CC config.xml at a pom.xml and it will build it: ... schedule maven2 pomFile=path/to/pom.xml goal=clean scm:update|install site time=0200/ /schedule

Re: Using 3rd party jar with surefire

2006-06-08 Thread Kieran Brady
Something I would try would be adding those as dependencies to the surefire plugin. HTH - Original Message - From: Brown, Charles [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org; Maven Users List users@maven.apache.org Sent: Thursday, June 08, 2006 3:09 PM Subject: RE:

Re: Best practices for multi-flavour build?

2006-06-07 Thread Kieran Brady
Fred, This kind of problem is generally solved using build profiles in Maven. The 'Better Builds with Maven' book covers this topic (free from http://www.mergere.com/ ). A good starting point is here: http://maven.apache.org/guides/introduction/introduction-to-profiles.html and here:

Re: [m2] Profile activation with property non-existance

2006-06-05 Thread Kieran Brady
It is possible - th link below should help and its the ! operator which is important (is this documented anywhere???) : http://marc.theaimsgroup.com/?l=turbine-maven-userm=114834785006237w=2 I have used it such that if a certain property is not passed in, __or is false__ (note the ! on the

Re: [m2] Single Eclipse project for muti-module

2006-06-05 Thread Kieran Brady
Apparently Eclipse 3.2 supports nested projects so it looks like we'll have to wait: http://marc.theaimsgroup.com/?l=turbine-maven-userm=114774821906161w=2 - Original Message - From: Veyret Stephane [EMAIL PROTECTED] To: users@maven.apache.org Sent: Monday, June 05, 2006 12:25 PM

Re: Referencing Files from a Unit Test

2006-06-05 Thread Kieran Brady
I think this is what you're looking for: this.getClass().getClassLoader().getResourceAsStream(... http://marc.theaimsgroup.com/?l=turbine-maven-userm=114917325827653w=2 - Original Message - From: Lyndon Washington [EMAIL PROTECTED] To: users@maven.apache.org Sent: Monday, June 05,

Re: mvn install:install

2006-06-02 Thread Kieran Brady
You need another parameter: mvn install:install-file -DgroupId=somegroup -DartifactId=someartifact -Dversion=1.0 -Dpackaging=jar -Dfile=./package.jar -DgeneratePom=true - Original Message - From: Eugeny N Dzhurinsky [EMAIL PROTECTED] To: users@maven.apache.org Sent: Friday, June

Re: mvn install:install

2006-06-02 Thread Kieran Brady
@maven.apache.org Sent: Friday, June 02, 2006 2:10 PM Subject: Re: mvn install:install On Friday 02 June 2006 7:59 am, Kieran Brady wrote: You need another parameter: mvn install:install-file -DgroupId=somegroup -DartifactId=someartifact -Dversion=1.0 -Dpackaging=jar -Dfile=./package.jar -DgeneratePom

Re: One more simple question

2006-06-02 Thread Kieran Brady
You'll need something like this in your POM: finalNamelib/${artifactId}-${version}/finalName and maybe you'll also need to create the lib directory. - Original Message - From: EJ Ciramella [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Friday, June 02, 2006

Re: One more simple question

2006-06-02 Thread Kieran Brady
Does it work though? ;-) Where Maven is concerned if it works, I'd use it. - Original Message - From: EJ Ciramella [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Friday, June 02, 2006 11:53 PM Subject: RE: One more simple question That would be a misuse of

Re: [m2] buildnumber-plugin

2006-06-01 Thread Kieran Brady
Here you go: http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/ - Original Message - From: Jens Riboe [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Thursday, June 01, 2006 3:11 PM Subject: RE: [m2] buildnumber-plugin

Re: Referencing .properties files in the CLASSPATH in test

2006-06-01 Thread Kieran Brady
I use this.getClass().getClassLoader().getResourceAsStream(... rather than using the system classloader and it works in both Eclipse and Maven. HTH - Original Message - From: Martin Aspeli [EMAIL PROTECTED] To: users@maven.apache.org Sent: Thursday, June 01, 2006 3:38 PM Subject:

Re: date in manifest

2006-05-31 Thread Kieran Brady
I tried te build number plugins without any success as it didn't seem happy to create a timestamp independently of SCM? I'm using CVS and it wasn't happy with it.. Instead I have this horrible hack! Our Maven setup seems to be an ever expanding collection of horrible hacks :-/ [...] plugin

Re: date in manifest

2006-05-31 Thread Kieran Brady
property in META-INF/ MANIFEST.MF inside of test-1.0-SNAPSHOT.jar J On 31-May-06, at 1:17 AM, Kieran Brady wrote: I tried te build number plugins without any success as it didn't seem happy to create a timestamp independently of SCM? I'm using CVS and it wasn't happy with it.. Instead I

Re: [M2] Packaging without sources *.java

2006-05-25 Thread Kieran Brady
This is what's putting your sources on the classpath: resources resource directorysrc/directory /resource /resources Resources are elements that are to be placed on the classpath. HTH! - Original Message - From: Leo L [EMAIL PROTECTED] To: Maven Users List

Re: [m2] Continuum or CruiseControl as a CI server ?

2006-05-04 Thread Kieran Brady
We're using the latest CruiseControl with Maven 2 successfully - no problem configuring it. At the time I neeeded to implement a CI system back in October, Continuum wasn't mature enough and I couldn't realistically put it forward as an option as I couldn't get it to work :) I haven't tried

Re: [2.0.3] Download maven-archetype-quickstart error

2006-03-31 Thread Kieran Brady
That version isn't in Ibiblio; http://www.ibiblio.org/maven2/org/apache/maven/archetypes/maven-archetype-quickstart/ 1.0-alpha-3 looks to be the latest one in there, try that instead. Hope this helps. Kieran - Original Message - From: Vitaly Berdinskikh [EMAIL PROTECTED] To: 'Maven

RE: Re: deploy works, but release:perform fails to deploy

2006-03-31 Thread Kieran Brady
You might want to take a gander at this page, which walks you through the release process: http://wiki.ucalgary.ca/page/LearningCommons/Documentation/ Project_Versioning_-_Best_Practices J Great document! Bookmarked :) Cheers, Kieran

Re: how to generate html test reports with maven-surefire-plugin

2006-03-24 Thread Kieran Brady
You don't have this in your pom, as suggested by Boris: plugin groupIdorg.codehaus.mojo/groupId artifactIdsurefire-report-maven-plugin/artifactId /plugin surefire-report-maven-plugin != maven-surefire-plugin Hope this helps, Kieran - Original Message - From:

RE: Re: [m2] Database/SQL plugin? Generating DB from schema?

2006-02-21 Thread Kieran Brady
We use the ant sql task to do this in the build section of the pom, in conjunction with DBUnit tests: build plugins plugin artifactIdmaven-antrun-plugin/artifactId dependencies dependency

RE: Re: Help with getting up and running

2006-02-17 Thread Kieran Brady
Hey everyone, Hi. Anyways, could someone point me in the direction of which plug-in to use to do continuous integration? Thanks, Christian I'm using a version of the following successfully with the latest CruiseControl against multiprojects and also simple projects, build profiles and so

[m2] XMLBeans Plugin and Surefire Reports

2006-01-20 Thread Kieran Brady
Hello list :) We've recently moved from using XMLBeans 1 via the antrun plugin to using the codehaus xmlbeans plugin for m2 and it has introduced a small problem inside our JUnit XML reports in that they have two 'xml' declarations at the top of the file: [EMAIL