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: Sent: Wednesday, June 28, 2006 3:11 PM Subject: Re: Getting the classpath r

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: Sent: Wednesday, June 28, 2006 2:59 PM Subject: Re: Getting the classpath right in a java plugin I'm guilty of not having searched thorough

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 it

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 Lis

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: Sent: Wednesday, June 28, 2006 10:55 AM Subject: Re: Proximity forum DNS not resolving

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
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/spring/context as source. A2) Not sur

Re: jarring non class files

2006-06-22 Thread Kieran Brady
ven Users List" 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: ... src/spring/context ... HTH :) Thanx.My build section in my pom reads : src (i.e I d

Re: jarring non class files

2006-06-22 Thread Kieran Brady
Specify them as resources: ... src/spring/context ... HTH :) - Original Message - From: "Jeff Mutonho" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Thursday, June 22, 2006 3:34 PM Subject: jarring non class files Under my src directory I have 2 other folders .One

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 artif

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" Sent: Wednesday, June 14,

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" Sent: Friday, June 09, 2006 12:41 PM Subject: Test reports Ba

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" ; "Maven Users List" Sent: Thursday, June 08, 2006 3:09 PM Subject: RE: Using 3rd party jar with surefire

Re: Errors in adding cruisecontrol plugin

2006-06-08 Thread Kieran Brady
Hi, Thanks for the help. I have a similar situation with the jcoverage plugin also. I am trying to use org.apache.maven.plugins maven-jcoverage-plugin which leads to an exception. Can you kindly tell me whether this plugin has been discontinued for maven 2? Many Thanks Shinjan On 6/8/06, Ki

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: ... - Original Message - From: "shinjan sen" <[EMAIL PROTECTED]> To: Sent: Thursday, June 08, 2006 1:53 PM Subject: Errors in adding crui

Re: Best practices for multi-flavour build?

2006-06-08 Thread Kieran Brady
Sure! The below is from one of our webapps. src/main/resources true src/main/resources/filtered src/main/profiles/${delivery.name}/resources ../${delivery.finalName} true src/main/webapp-filtered

Re: Best practices for multi-flavour build?

2006-06-06 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: http:

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-user&m=114917325827653&w=2 - Original Message - From: "Lyndon Washington" <[EMAIL PROTECTED]> To: Sent: Monday, June 05, 2006 8:24 PM Subje

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-user&m=114774821906161&w=2 - Original Message - From: "Veyret Stephane" <[EMAIL PROTECTED]> To: Sent: Monday, June 05, 2006 12:25 PM Subject: [m2] Single

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-user&m=114834785006237&w=2 I have used it such that if a certain property is not passed in, __or is false__ (note the ! on the v

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" Sent: Friday, June 02, 2006 11:53 PM Subject: RE: One more simple question That would be a misuse of final name: finalNam

Re: One more simple question

2006-06-02 Thread Kieran Brady
You'll need something like this in your POM: lib/${artifactId}-${version} and maybe you'll also need to create the lib directory. - Original Message - From: "EJ Ciramella" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Friday, June 02, 2006 11:30 PM Subject: One more simple que

Re: mvn install:install

2006-06-02 Thread Kieran Brady
ven Users List" 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 -Dg

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: Sent: Friday, June 02, 2006 12:52 PM Sub

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: Sent: Thursday, June 01, 2006 3:38 PM Subject: Referencing .propert

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" Sent: Thursday, June 01, 2006 3:11 PM Subject: RE: [m2] buildnumber-plugin org.codehaus.mojo:maven-buildnumber-plugin I cou

Re: date in manifest

2006-05-31 Thread Kieran Brady
${buildNumber} 3. mvn buildnumber:create package 4. Check out the Implementation-Build 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 plug

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 :-/ [...] mave

Re: [M2] Packaging without sources *.java

2006-05-25 Thread Kieran Brady
This is what's putting your sources on the classpath: src Resources are elements that are to be placed on the classpath. HTH! - Original Message - From: "Leo L" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Thursday, May 25, 2006 3:11 PM Subject: [M

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 Con

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: [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: "'M

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: org.codehaus.mojo surefire-report-maven-plugin surefire-report-maven-plugin != maven-surefire-plugin Hope this helps, Kieran - Original Message - From: "Venkatagopalaraju" <[EMAIL PROTECTED]> To: "Maven U

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: maven-antrun-plugin mysql mysql-connector-java

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 profi

[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 PROTECTED]:surefire-reports]$