Re: Ignoring Build Failures (Multiproject)

2005-03-11 Thread Hari Kodungallur
Never mind. I didn't search for the properties in the right place. Setting the property maven.multiproject.ignoreFailures to true does the trick. Regards, -Hari On Fri, 11 Mar 2005 18:33:26 -0800, Hari Kodungallur <[EMAIL PROTECTED]> wrote: > Hi, > > I am building a large number of components.

Ignoring Build Failures (Multiproject)

2005-03-11 Thread Hari Kodungallur
Hi, I am building a large number of components. Most of the components have a particular goal, say X, implemented. But some of the components have not. So when I execute the multiproject goal on all these components, the build expectedly fails when it encounters a components that does not have the

Re: howto parse a file, substituting variables?

2005-03-11 Thread Caoilte O'Connor
Thanks, With that and a little googling I was able to find my answer I also added, true to my resource in the project.xml file and used filter. Works a treat. c On Friday 11 March 2005 16:36, Kenney Westerhof wrote: > On Fri, 11 Mar 2005, Caoilte O'Connor wrote: > > Hi, > > A possib

Re: Maven systemscope

2005-03-11 Thread baleineca
Another thing, Jelly gets confused with variable name that contains a dot. If you search the mailing list archive, you sould get posts about this problem. Try using 'testVar' or something without dot rather than 'test.var'. On Fri, 11 Mar 2005 10:54:19 -0500, Marc-Andre Blain <[EMAIL PROTECTED

RE: JUnit report - behavior of System.out vs. Log4J

2005-03-11 Thread Mark D. Hansen
I figured this out this myself, and am posting here in case anyone else has the same problem. I'm sure there are other, simpler, ways to do this, but this worked for me, so I'm putting it out there. If you want your log4j logging output to get sent to your JUnit reports (e.g., TEST-package.Tes

Re: howto parse a file, substituting variables?

2005-03-11 Thread Kenney Westerhof
On Fri, 11 Mar 2005, Caoilte O'Connor wrote: Hi, A possible solution is using and in maven.xml, using the following format in hibernate.properties: [EMAIL PROTECTED]@@biz.db.test.database@ Greetings, Kenney > Hi, > I have defined all my maven used database properties by > deriving

RE: Subproject internal artifact dependencies

2005-03-11 Thread Vincent Massol
Hi Kenney, Publishing in your local repository is the only official solution for Maven 1.x (apart from the jar override you mention). I didn't like it initially too but I don't think it's that bad. What's important is that these internal jars are not published to the outside world. Maven 2 will h

Subproject internal artifact dependencies

2005-03-11 Thread Kenney Westerhof
Hi, I know there have been postings like this before, but I've never seen a satisfying answer. My project consists of several subprojects, each producing a jar artifact. Some subprojects are dependent on other subprojects. Until now i've been using the maven.jar.override mechanism to specify th

howto parse a file, substituting variables?

2005-03-11 Thread Caoilte O'Connor
Hi, I have defined all my maven used database properties by deriving them from variables in my project.properties file. Unfortunately I use hibernate and do not know of a way of inheriting the properties set in my project.properties file to my hibernate.properties file. It would make my life s

RE: Maven systemscope

2005-03-11 Thread Marc-Andre Blain
There you go ${systemScope.setProperty("${pom.groupId}.${pom.artifactId}.buildstarted",'false')} ${pom.groupId} ${pom.artifactId} ${pom.groupId}.${pom.artifactId}.buildstarted systemScope["${pom.groupId}.${pom.artifactId}.buildstarted"] =${systemScope["${

RE: Maven systemscope

2005-03-11 Thread Deblauwe, Wim
ok, This works to check on true, but what if I want to check on false? I could use ofcourse and leave the empty, but that is not real pretty is it? thank you for helping out -Original Message- From: Steve Molloy [mailto:[EMAIL PROTECTED] Sent: vrijdag 11 maart 2005 16:45 To: Maven User

RE: Maven systemscope

2005-03-11 Thread Kaloyan . Enimanev
Hi once you put the $ in quotes it is not evaluated so I usually use approach like this context.getVariable('pom.groupId').concat(':propertyname') and then use to check it best regards, Kaloyan - Keep In Touch With Your Life

RE: JDepend and Clover

2005-03-11 Thread Vincent Massol
The JDepend plugin does not appear to support filtering but as JDepend does, you could open a JIRA issue and provide a patch to support this if you need it. Cheers, -Vincent > -Original Message- > From: Deblauwe, Wim [mailto:[EMAIL PROTECTED] > Sent: vendredi 11 mars 2005 16:07 > To: Mave

RE: Maven systemscope

2005-03-11 Thread Steve Molloy
Try this: Should work Test is true... Should not... Test is true... Done... You'll get: [echo] Should work [echo] Test is true... [echo] Should not... [echo] Done... Steve

RE: Maven systemscope

2005-03-11 Thread Deblauwe, Wim
nope, it does not print any of the possibilities in that case. The brackets needs to be around the testcase. If you have this: passvar was true and you type: maven -Dpassvar=true test-test then "passvar was true" is printed out. If you u

RE: Maven systemscope

2005-03-11 Thread Marc-Andre Blain
Maybe you should try the following: ${testing.var} is true '${testing.var}' is not true The brackets should delimit your variable, not the test case regards, Marc-Andre -Original Message- From: Deblauwe, Wim [mailto:[EM

RE: Maven systemscope

2005-03-11 Thread Deblauwe, Wim
thank you for your time, but I still got a last question on checking the variable. Consider this: ${systemScope.setProperty("${pom.groupId}.${pom.artifactId}.buildstart ed",'true')} ${pom.groupId} ${pom.artifactId} ${pom.groupId}.${pom.artifactId}.buildstarted

JDepend and Clover

2005-03-11 Thread Deblauwe, Wim
Hi, when using JDepend and Clover together I got the problem that the generated clover classes are also present in my JDepend report. Is there a way to avoid this? regards, Wim Ing. Wim Deblauwe Software Development Engineer BarcoView - Medical Imaging Systems President Kennedypark

Tomcat-Plugin for Tomcat 5.5

2005-03-11 Thread Gisbert Amm
AFAIK the current version of the Tomcat-Plugin uses the Tomcat 5.0.28 classes. When will a version for Tomcat 5.5 be available? Regards, Gisbert Amm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: Using maven to run a program

2005-03-11 Thread Milos Kleint
try checking the maven-mevenide-plugin, it includes various means of running and debugging an application. http://mevenide.codehaus.org/maven-mevenide-plugin/goals.html Regards Milos Kleint On Thu, 10 Mar 2005 17:47:21 -0800, Tony Johnson <[EMAIL PROTECTED]> wrote: > HI, can anyone point me to

RE: Using maven to run a program

2005-03-11 Thread Vincent Massol
Tony, You can also try using the javaapp plugin (http://maven-plugins.sourceforge.net/). -Vincent > -Original Message- > From: Markos Charatzas [mailto:[EMAIL PROTECTED] > Sent: vendredi 11 mars 2005 11:13 > To: users@maven.apache.org > Subject: Re: Using maven to run a program > > Not

Re: Using maven to run a program

2005-03-11 Thread Markos Charatzas
Not sure if you can do it but you can specify your main class in project.properties like this "maven.jar.mainclass = my.package.MyClass" then simply create a jar file using "maven jar" and use common java syntax to run your program e.g. "java -jar myjar.jar why would you like to to run a java

Re: jar:install-snapshot does not create MD5 checksum?

2005-03-11 Thread Gisbert Amm
Which version is this? I have v. 1.6.1 installed and it doesn't. However, this is the highest version number I can find on http://maven.apache.org/reference/plugins/jar/downloads.html. Is there a newer version somewhere? Or do I have to set some property (I cannot find anything in the docs)? Re