RE: Tests Not Running After Executing SQL Script

2009-09-03 Thread Jonathan Woods
Sounds like Ant is running the script then System.exit(0)-ing! Can't see why. But you could try the Maven SQL plugin instead. Jon > -Original Message- > From: Neil Chaudhuri [mailto:nchaudh...@potomacfusion.com] > Sent: 02 September 2009 20:12 > To: users@maven.apache.org > Subject: Te

RE: speedier builds possible?

2009-08-12 Thread Jonathan Woods
Couple of simple ideas: not 'clean'ing unless you need to; and skipping tests when it's safe to do so: mvn Dmaven.test.skip=true (or -DskipTests=true) > -Original Message- > From: Roger Pack [mailto:rogerdpa...@gmail.com] > Sent: 12 August 2009 18:17 > To: users@maven.apache.org > Subjec

RE: FATAL ERROR: Unable to read settings.xml

2009-08-11 Thread Jonathan Woods
Slightly lame suggestion, but... have you tried a different JVM, not forgetting to set JAVA_HOME? From your stack trace it's a JVM error, and nothing to do with settings.xml files. > -Original Message- > From: RFatton [mailto:conorg...@hotmail.com] > Sent: 11 August 2009 14:00 > To: user

RE: Profile Activation Help?

2009-08-10 Thread Jonathan Woods
${project.artifactId} might help. Jon > -Original Message- > From: David C. Hicks [mailto:dhi...@i-hicks.org] > Sent: 10 August 2009 18:12 > To: Maven Users > Subject: Profile Activation Help? > > I'm trying to get a profile to activate for my parent project > but not for the children

RE: Maven Source Plugin config to include generated-sources?

2009-08-08 Thread Jonathan Woods
Maybe it doesn't work because the sources plugin is bound to some phase earlier than generate-sources - I haven't checked. Jon > -Original Message- > From: David Hoffer [mailto:dhoff...@gmail.com] > Sent: 07 August 2009 06:07 > To: Maven Users List > Subject: Re: Maven Source Plugin con

RE: Primary and secondary dependencies

2009-07-24 Thread Jonathan Woods
I find the phrase "they are not transitive" a bit confusing here. Anyway, the way it should work is shown in the table at http://maven.apache.org/guides/introduction/introduction-to-dependency-mecha nism.html#Dependency_Scope, which shows that the scope of dependencies contributed by your 'provide

RE: copy\move plugin

2009-07-23 Thread Jonathan Woods
Then it might be more naturally 'Maven' to have 3 projects, 2 of them depending on the common third. > -Original Message- > From: Alexander [mailto:the.malk...@gmail.com] > Sent: 23 July 2009 10:37 > To: Maven Users List > Subject: Re: copy\move plugin > > Nope, client looks exactly lik

RE: Define a special JDK for compilation

2009-07-22 Thread Jonathan Woods
Assuming you mean you want to specify a particular javac for Maven to use when compiling code... compilation is carried out (by default) by the Maven compiler plugin, so it's this you need to configure. Details on configuring it to use a specific JDK are given here: http://maven.apache.org/plugin

RE: Excluding Build Resources Within POM File

2009-07-22 Thread Jonathan Woods
This should do the trick: http://www.mailinglistarchive.com/users@maven.apache.org/msg21096.html In other words, you need to supply the Maven compiler plugin with the appropriate configuration. The build/resources node you configured corresponds to resources per se, i.e. not to Java sources. J

RE: the nexus repositories only show .index and .meta

2009-07-22 Thread Jonathan Woods
positories only show .index and .meta > > > > Jonathan Woods wrote: > > > > Have you tried 'by hand' to make HTTP requests from your > Ubuntu box? E.g. > > > > wget > > > http://repo1.maven.org/maven2/org/apache/commons/commons-em

RE: the nexus repositories only show .index and .meta

2009-07-21 Thread Jonathan Woods
Have you tried 'by hand' to make HTTP requests from your Ubuntu box? E.g. wget http://repo1.maven.org/maven2/org/apache/commons/commons-email/1.1/commons-e mail-1.1.pom Jon > -Original Message- > From: ykyuen [mailto:yingkity...@gmail.com] > Sent: 21 July 2009 15:36 > To: users

RE: Migrate existing java project to maven2

2009-07-20 Thread Jonathan Woods
You can sometimes locate artifacts in repositories other than Maven Central, and then you can not only have Maven download them for you but you can depend on them in your POMs: 1. Try Googling "maven activation-1.1.1.jar" and so on to find a suitably large/public repo holding the artifact you nee