Author: michaelo
Date: Wed Oct 7 09:25:04 2015
New Revision: 1707214
URL: http://svn.apache.org/viewvc?rev=1707214&view=rev
Log:
[MCHECKSTYLE-311] "mvn clean site -Preporting" fails with Could not find
resource 'config/maven_checks.xml'
Applied a proper workaround where the Site plugin receives the shared resources
as dependency. That is passed to the class loaders of the reporting plugins.
This workaround will be obsolete when MSITE-444 is fixed.
Modified:
maven/plugins/trunk/maven-checkstyle-plugin/pom.xml
Modified: maven/plugins/trunk/maven-checkstyle-plugin/pom.xml
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/pom.xml?rev=1707214&r1=1707213&r2=1707214&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/pom.xml Wed Oct 7 09:25:04 2015
@@ -323,6 +323,16 @@ under the License.
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.shared</groupId>
+ <artifactId>maven-shared-resources</artifactId>
+ <version>2</version>
+ </dependency>
+ </dependencies>
+ </plugin>
</plugins>
</build>