Logging level in Mavens console
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
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
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
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