mirror of https://github.com/apache/maven.git
o Fixed sychronization after refactoring
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
70ba397674
commit
34abdbf274
|
@ -61,7 +61,7 @@ public class DefaultBuildPluginManager
|
||||||
* @throws PluginResolutionException The plugin could be found but could not be resolved.
|
* @throws PluginResolutionException The plugin could be found but could not be resolved.
|
||||||
* @throws InvalidPluginDescriptorException
|
* @throws InvalidPluginDescriptorException
|
||||||
*/
|
*/
|
||||||
public synchronized PluginDescriptor loadPlugin( Plugin plugin, RepositoryRequest repositoryRequest )
|
public PluginDescriptor loadPlugin( Plugin plugin, RepositoryRequest repositoryRequest )
|
||||||
throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, InvalidPluginDescriptorException
|
throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, InvalidPluginDescriptorException
|
||||||
{
|
{
|
||||||
return mavenPluginManager.getPluginDescriptor( plugin, repositoryRequest );
|
return mavenPluginManager.getPluginDescriptor( plugin, repositoryRequest );
|
||||||
|
@ -140,7 +140,7 @@ public class DefaultBuildPluginManager
|
||||||
* call, which is not nice.
|
* call, which is not nice.
|
||||||
* @throws ArtifactResolutionException
|
* @throws ArtifactResolutionException
|
||||||
*/
|
*/
|
||||||
public synchronized ClassRealm getPluginRealm( MavenSession session, PluginDescriptor pluginDescriptor )
|
public ClassRealm getPluginRealm( MavenSession session, PluginDescriptor pluginDescriptor )
|
||||||
throws PluginManagerException
|
throws PluginManagerException
|
||||||
{
|
{
|
||||||
ClassRealm pluginRealm = pluginDescriptor.getClassRealm();
|
ClassRealm pluginRealm = pluginDescriptor.getClassRealm();
|
||||||
|
|
|
@ -291,8 +291,8 @@ public class DefaultMavenPluginManager
|
||||||
return mojoDescriptor;
|
return mojoDescriptor;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setupPluginRealm( PluginDescriptor pluginDescriptor, MavenSession session, ClassLoader parent,
|
public synchronized void setupPluginRealm( PluginDescriptor pluginDescriptor, MavenSession session,
|
||||||
List<String> imports )
|
ClassLoader parent, List<String> imports )
|
||||||
throws PluginResolutionException, PluginManagerException
|
throws PluginResolutionException, PluginManagerException
|
||||||
{
|
{
|
||||||
Plugin plugin = pluginDescriptor.getPlugin();
|
Plugin plugin = pluginDescriptor.getPlugin();
|
||||||
|
|
Loading…
Reference in New Issue