Junit 4 surefire woes

2008-01-04 Thread Denis McCarthy
Hi, When I run mvn test, only junit 3 tests seem to run. All test classes are found, but for all junit 4 style test classes, I get reports like this: Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec When I extend TestCase, junit 3 style, the tests work. When I run with -X,

Quick availability of maven module to dependent modules in same project

2006-08-31 Thread Denis McCarthy
Hi, I've recently moved from ant to maven2, and all in all I'm really happy with the move. However, one of the main reasons I decided to move was maven's superior dependency handling. My project consists of two web apps with a corresponding business/dataaccess module that both webapps rely

multi-module project report enhancement

2006-08-24 Thread Denis McCarthy
Hi, I understand from reading the archives that it is not yet possible to roll up reports for many modules into a single project-wide report. However, is there some way to at least get correct links to the various reports generated for the individual modules? The default URL for modules index

Re: running unit tests for pom packaged project

2006-08-18 Thread Denis McCarthy
Thanks for the help all who replied. I've just finished putting the modules in question under a single folder with a parent pom and I can see that it will work much better than my previous structure. I've got three seperate eclipse projects, one for each module. I don't have the parent folder

Re: running unit tests for pom packaged project

2006-08-17 Thread Denis McCarthy
Thanks for that information guys - I understand how things should be set up now. Unfortunately, I have a slight problem regarding a clash between mavens modules and eclipse (I realise eclipse's inner workings are slightly off topic, but I'm sure many on this list know more about it than I do).

Attempting to set up a company repository

2006-08-16 Thread Denis McCarthy
Hi, I'm attempting to set up a company wide repository to hold our proprietary plugins and jars. I've got a plugin deploying to a folder on a machine running apache over ssh - this is working, even though it keeps asking me to type in the password (even though the password is defined in the

Re: Attempting to set up a company repository

2006-08-16 Thread Denis McCarthy
Just got that working - I needed to define a pluginRepository in my settings.xml. Nothing like sending an email to concentrate the mind. Denis McCarthy wrote: Hi, I'm attempting to set up a company wide repository to hold our proprietary plugins and jars. I've got a plugin deploying

running unit tests for pom packaged project

2006-08-16 Thread Denis McCarthy
Hi, One of my projects depends on a second project. As a result, I've defined the first project as being packaged as a pom, with an associated dependency in the second package. However, when I run 'mvn test' on the pom packaged project no tests are run (which I think is normal for

Re: running unit tests for pom packaged project

2006-08-16 Thread Denis McCarthy
you include axis as a dependency? Stefan Denis McCarthy [EMAIL PROTECTED] skrev 16.08.2006 16:52:59: Hi, One of my projects depends on a second project. As a result, I've defined the first project as being packaged as a pom, with an associated dependency in the second package. However

Eclipse tomcat maven upgrade

2006-08-02 Thread Denis McCarthy
Hi, I'm looking at moving an ant based tomcat project to maven. I'm using eclipse as the IDE. Currently I use the eclipse tomcat plugin to get the project running in tomcat (I have a web/ dir in the project that holds WEB-INF/ and all jsp's etc). I'd like to know how to handle this common

Re: Eclipse tomcat maven upgrade

2006-08-02 Thread Denis McCarthy
to the server configuration. The libs will be deployed automaticallly. Remember adding wtp support to your pom (config setting in the maven-eclipse-plugin) - see earlier post on this matter from today. You don't need a particular tomcat plugin. HTH Denis McCarthy [EMAIL PROTECTED] skrev

per-user db settings in maven

2006-07-26 Thread Denis McCarthy
Hi, I'm moving from an ant build process to maven. I'm currently trying to replace an ant target that rebuilt our database. In the ant target each developer had an individual local.properties file that defined their own username/password/tnsname for the database. I'm writing a simple plugin

Re: per-user db settings in maven

2006-07-26 Thread Denis McCarthy
That worked - thanks. Vincent Siveton wrote: Use the settings.xml For sql statements, check: http://mojo.codehaus.org/sql-maven-plugin/ Cheers, Vincent 2006/7/26, Denis McCarthy [EMAIL PROTECTED]: Hi, I'm moving from an ant build process to maven. I'm currently trying to replace an ant

Newbie: need to package a jar

2006-07-21 Thread Denis McCarthy
Hi, I'm sure this question has been asked a thousand times before but I can't see a clear answer on the maven site or through google (Unfortunately the mailing list archives aren't searchable either). I'm converting a project to use maven as the build tool and I've set up most of my

Re: Newbie: need to package a jar

2006-07-21 Thread Denis McCarthy
Yann Le Du wrote: Hi Denis, Is this helpful ? http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html - Yann 2006/7/21, Denis McCarthy [EMAIL PROTECTED]: Hi, I'm sure this question has been asked

Re: AW: Newbie: need to package a jar

2006-07-21 Thread Denis McCarthy
Denis McCarthy Gesendet: Freitag, 21. Juli 2006 11:33 An: users@maven.apache.org Betreff: Newbie: need to package a jar Hi, I'm sure this question has been asked a thousand times before but I can't see a clear answer on the maven site or through google (Unfortunately the mailing list archives

jar versioning problem

2006-07-21 Thread Denis McCarthy
Hi, I'm in the process of trying to get a project going with maven. The project in question uses spring 2.0 and acegi security 1.0 (The latest major versions of both projects). I was getting NoSuchMethodErrors when running my tests. I noticed that in my eclipse classpath (which I generated

Re: jar versioning problem

2006-07-21 Thread Denis McCarthy
Matt Raible wrote: Acegi 1.0 was compiled against Spring 2.0, so there are some known issues with the release. I'd suggest using Acegi 1.0.1 instead. Matt On 7/21/06, Denis McCarthy [EMAIL PROTECTED] wrote: Hi, I'm in the process of trying to get a project going with maven. The project

Re: jar versioning problem

2006-07-21 Thread Denis McCarthy
/exclusion This is obviously not a proper dependency node, but you'll figure it out from here I think. Wayne On 7/21/06, Denis McCarthy [EMAIL PROTECTED] wrote: Matt Raible wrote: Acegi 1.0 was compiled against Spring 2.0, so there are some known issues with the release. I'd suggest using