You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2014/08/18 14:49:59 UTC
svn commit: r1618594 -
/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/resource/LicenseResourceManager.java
Author: hboutemy
Date: Mon Aug 18 12:49:59 2014
New Revision: 1618594
URL: http://svn.apache.org/r1618594
Log:
[MCHECKSTYLE-244] fixed parallel build failures caused by this component being reused instead of created per-lookup
Submitted by: Konstantin Pokrovsky
Modified:
maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/resource/LicenseResourceManager.java
Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/resource/LicenseResourceManager.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/resource/LicenseResourceManager.java?rev=1618594&r1=1618593&r2=1618594&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/resource/LicenseResourceManager.java (original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/resource/LicenseResourceManager.java Mon Aug 18 12:49:59 2014
@@ -35,7 +35,7 @@ import org.codehaus.plexus.resource.load
*
* @since 2.12
*/
-@Component( role = ResourceManager.class, hint = "license" )
+@Component( role = ResourceManager.class, hint = "license", instantiationStrategy = "per-lookup" )
public class LicenseResourceManager
extends DefaultResourceManager
{