Re: configure Maven to dynamically select profiles

2011-07-14 Thread Ketil Aasarød
If it is runtime properties I would consider externalizing them and put them on the file system or JNDI on your application server. -ketil - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands,

Re: configure Maven to dynamically select profiles

2011-07-14 Thread Ketil Aasarød
You would have to put them on your local development machine and on your CI server to be able to run the tests ofc. -ketil 2011/7/14 Ketil Aasarød ketil.aasa...@gmail.com: If it is runtime properties I would consider externalizing them and put them on the file system or JNDI on your

Re: Maven 3.0 @ JavaZone

2009-09-07 Thread Ketil Aasarød
I'll be there, and I'll be sure to make room for it on my agenda. Looking forward to it :) -ketil 2009/9/4 Jason van Zyl jvan...@sonatype.com: Norway has always been a big supporter of Maven (I'm sorry about Maven 1.x) and so it's the first place that I'm going to give a talk on Maven 3.0. If

Re: dependency / version problem

2009-09-04 Thread Ketil Aasarød
2009/9/4 javadevd...@googlemail.com javadevd...@googlemail.com: sorry, that i'm so annoying ;-) because this implies that at least one of the fix versions must have been changed. Thats not right (I think). Example: My dependency: DEP_A:1.0 Dependency of DEP_A = DEP_B:2.3 Dependency of

Re: dependency / version problem

2009-09-04 Thread Ketil Aasarød
) That will at least help somewhat. Then you use dependency:tree to find any extra transitives, and add those into your dependencyMgnt section... -Stephen 2009/9/4 Ketil Aasarød ketil.aasa...@gmail.com 2009/9/4 javadevd...@googlemail.com javadevd...@googlemail.com: sorry, that i'm so annoying

Re: How to omit generated jar version number?

2009-08-11 Thread Ketil Aasarød
In your pom.xml, add the following in the build-section: finalName${artifactId}/finalName The default value for finalName is ${artifactId}-${version}. -ketil On Tue, Aug 11, 2009 at 10:25 AM, kopemordevelopm...@knollenstein.nl wrote: I am generating a JAR artifact and in my pom.xml I should

Re: Best practices for avoiding duplicate configuration files

2009-04-27 Thread Ketil Aasarød
If A and B are only utility modules (not runnable), and you only use the log configuration files for unit testing, I would have moved them to src/test/resources in A and B. That way they are not made available to C. C will have the log configuration file in src/main/resources, at least if it is a

Re: sql-maven-plugin execution problem with Integration-test

2009-04-23 Thread Ketil Aasarød
You are missing a space in your sql query after the *. -ketil On Thu, Apr 23, 2009 at 10:47 AM, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi there, I have a large multi module project which is working well. Now i'm trying to enhance this with a things which is in relationship with the

Re: sql-maven-plugin execution problem with Integration-test

2009-04-23 Thread Ketil Aasarød
And table is a reserved word in sql, so you should insert your real table name there. -ketil On Thu, Apr 23, 2009 at 10:47 AM, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi there, I have a large multi module project which is working well. Now i'm trying to enhance this with a things which

Re: sql-maven-plugin execution problem with Integration-test

2009-04-23 Thread Ketil Aasarød
Well, the exception raised is caused by an SQLException, and it seems to say that you have an illegal argument in your query if my german is not all wrong. Caused by: java.sql.SQLException: Ungłltige Argumente in Aufruf -ketil On Thu, Apr 23, 2009 at 11:08 AM, Karl Heinz Marbaise