On Tue, Jul 19, 2011 at 5:23 PM, Julien Martin <[email protected]> wrote: > Hello Barrie, > > Thanks for your reply! > > I removed the white spaces from the directory name. > > Yes there is a classes in the test-classes directory.
I'm running out of thoughts. The file name ends in Test should it should be automatically included by surefire. I can see you are using junit 4 and that should work out of the box. You have the annotations needed. Is this project accessible on the net? > The point you make about my mvn trying to install the artefact into the > jboss repository is very relevant but do I really need a repository manager > even though I am the only developer on this project? Don't you think there > might be something wrong with my settings.xml instead? > settings.xml [del] No, your settings.xml is fine. However, I would remove activeProfiles and manually enable the profile with -Pjulien when you need it. Its a deficiency with Maven that it contacts all defined repositories for any SNAPSHOT artifacts even though those repositories will never contain those artifacts. (i.e. there is currently no way to inform Maven what groupIds are expected to be located at that repository). By using a repository manager you get that functionality. A lot of people install repository managers on their laptops. It helps them transition between work and home without mucking around with settings.xml and proxy settings. You may not need one. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
