Unstable builds
---------------
Key: MCHECKSTYLE-106
URL: http://jira.codehaus.org/browse/MCHECKSTYLE-106
Project: Maven 2.x Checkstyle Plugin
Issue Type: Bug
Affects Versions: 2.2
Environment: Maven 2.0.9, Jdk 1.6.0_04, jdk 1.6.0_10, Linux (Centos4
and Kubuntu 8.04)
Reporter: Johan Vogelzang
Set up:
- Multimodule structure (one parent-pom and three submodules, one containing
our checkstyle configuration: smartjava_checks.xml)
- Checkstyle configuration as described in
http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
- Command: mvn clean install site
The strange thing is that when run the exact same sources with the exact same
build goals multiple times, the build fails for about 50% of the times. When
the build fails it shows:
Embedded error: Error rendering Maven report: Unable to find configuration file
at location smartjava_checks.xml.
I have seen earlier issues about classloading problems related to this error,
but not this unstable behaviour.
Workaround: When you run the Maven command without "install" the build runs
successful.
mvn clean site
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira