Logging level in Mavens console

2006-08-21 Thread Peter Karlsson
When running my unit tests in Maven I get a lot of output in the console from 
third parties, like for example Spring's 
AbstractTransactionalSpringContextTests transaction messages. Does anyone now 
how I can set Mavens output logging level?

/Peter


SV: Multiple test executions

2006-06-16 Thread Peter Karlsson
I haven't been able to sort this one out yet. Does anyone know how this works 
under the hood?

/Peter

Peter Karlsson [EMAIL PROTECTED] skrev: Hi, I'm getting multiple executions 
of all tests when adding the surefire report and the cobertura report plugins 
to my pom. Is it possible to have all the plugins collect info from only one 
test run?

I'm running 2.0.4. To reproduce:

1.Try
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app

2. Add these lines to the pom:
   reporting
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-report-plugin/artifactId
 /plugin
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
version2.0/version
/plugin
/plugins
/reporting

3. Run this command:
mvn clean package site

You get that the tests runs three times. One for packaging and one for each 
reporting plugin used.

BR
/Peter



Multiple test executions

2006-06-14 Thread Peter Karlsson
Hi, I'm getting multiple executions of all tests when adding the surefire 
report and the cobertura report plugins to my pom. Is it possible to have all 
the plugins collect info from only one test run?

I'm running 2.0.4. To reproduce:

1.Try
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app

2. Add these lines to the pom:
   reporting
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-report-plugin/artifactId
/plugin
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
version2.0/version
/plugin
/plugins
/reporting

3. Run this command:
mvn clean package site

You get that the tests runs three times. One for packaging and one for each 
reporting plugin used.

BR
/Peter


Modules and paths

2006-04-18 Thread Peter Karlsson
Hi, I have this line which reads my Spring bean declarations from the named 
relative path.

file:WebContent/WEB-INF/applicationContext-hibernate.xml

When running the web module pom, this works correctly, however when running the 
parent pom it cannot find the file. If I prepend MyWebModule to the string it 
works fine again.

Shouldn't the path be relative it's own modules pom and not to the parent pom?

BR
/Peter