Re: adding the classpath to jar file

2007-06-26 Thread Jan-Christopher Bals
You have to provide log4j via the classpath on your own. Maven does include log4j in your generated jar automatically. But Maven can generate the classpath for you http://maven.apache.org/plugins/maven-dependency-plugin/usage.html -dependency:build-classpath 2007/6/26, DCVer [EMAIL PROTECTED]:

Re: adding the classpath to jar file

2007-06-26 Thread Jan-Christopher Bals
and pom.xml with pom.properties and manifest.mf. Is it a correctly built jar? And I wonder why Maven2 won't set *somewhere* classpaths to jars on its own if it knows where they are :-/ Jan-Christopher Bals-2 wrote: You have to provide log4j via the classpath on your own. Maven does include

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Jan-Christopher Bals
-- Forwarded message -- From: Jan-Christopher Bals [EMAIL PROTECTED] Date: 01.06.2007 10:03 Subject: Re: Surefire 2.4-SNAPSHOT errors To: Maven Users List users@maven.apache.org Hi! I have got the same problem. Can anyone fix the pom? [WARNING] POM

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Jan-Christopher Bals
Hi! I have got the same problem. Can anyone fix the pom? [WARNING] POM for 'org.apache.maven.surefire:surefire-booter:pom:2.4-SNAPSHOT:runtime' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM Jan 2007/5/31, mhargus [EMAIL PROTECTED]: I'm getting an

[m2] execute different testng suites in different phases

2006-11-03 Thread Jan-Christopher Bals
Hi folks! I'm trying to execute TestNG Suites in different maven2 phases. For that i defined two different testng.xml files a) unit-tests.xml b) integration-tests.xml Now i want surefire to execute the unit-tests in the test phase and the integration-tests in the integration-test phase. So

custom archetype : filtering directory names

2006-10-18 Thread Jan-Christopher Bals
Hi! I am currently building a custom archetype. In addition to the replacement of ${keys} in files i need a way to rename files and directories. Example: archetype |-- pom.xml `-- src `-- main `-- resources |-- META-INF | `-- archetype.xml

Maven2 :: custom archetype :: filtering of resources

2006-09-20 Thread Jan-Christopher Bals
Hi! I just created my own maven2 archetype for building webapps with a set of default files (binary files like jpg, text files like xml). I added these files in the archetype.xml description file. archetype idobs-web-app/id sources ... /sources resources