mirror of https://github.com/apache/maven.git
o Removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@949832 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9be1144e4e
commit
1a59d57746
|
@ -24,7 +24,6 @@ import java.util.Properties;
|
|||
|
||||
import org.apache.maven.artifact.repository.ArtifactRepository;
|
||||
import org.apache.maven.model.building.ModelBuildingRequest;
|
||||
import org.apache.maven.model.building.ModelEventListener;
|
||||
|
||||
@Deprecated
|
||||
public class DefaultProjectBuilderConfiguration
|
||||
|
@ -56,12 +55,6 @@ public class DefaultProjectBuilderConfiguration
|
|||
return this;
|
||||
}
|
||||
|
||||
public ProjectBuilderConfiguration setModelEventListeners( List<ModelEventListener> listeners )
|
||||
{
|
||||
super.setModelEventListeners( listeners );
|
||||
return this;
|
||||
}
|
||||
|
||||
public ProjectBuilderConfiguration setProcessPlugins( boolean processPlugins )
|
||||
{
|
||||
super.setProcessPlugins( processPlugins );
|
||||
|
|
|
@ -28,7 +28,6 @@ import org.apache.maven.artifact.repository.ArtifactRepository;
|
|||
import org.apache.maven.artifact.repository.RepositoryCache;
|
||||
import org.apache.maven.model.Profile;
|
||||
import org.apache.maven.model.building.ModelBuildingRequest;
|
||||
import org.apache.maven.model.building.ModelEventListener;
|
||||
import org.apache.maven.repository.ArtifactTransferListener;
|
||||
import org.apache.maven.settings.Mirror;
|
||||
import org.apache.maven.settings.Proxy;
|
||||
|
@ -56,8 +55,6 @@ public class DefaultProjectBuildingRequest
|
|||
|
||||
private List<Proxy> proxies;
|
||||
|
||||
private List<ModelEventListener> listeners;
|
||||
|
||||
private MavenProject project;
|
||||
|
||||
private int validationLevel = ModelBuildingRequest.VALIDATION_LEVEL_STRICT;
|
||||
|
@ -287,17 +284,6 @@ public class DefaultProjectBuildingRequest
|
|||
return this;
|
||||
}
|
||||
|
||||
public List<ModelEventListener> getModelEventListeners()
|
||||
{
|
||||
return listeners;
|
||||
}
|
||||
|
||||
public ProjectBuildingRequest setModelEventListeners( List<ModelEventListener> listeners )
|
||||
{
|
||||
this.listeners = listeners;
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean isProcessPlugins()
|
||||
{
|
||||
return processPlugins;
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
package org.apache.maven.model.building;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.maven.model.Model;
|
||||
|
||||
|
||||
public interface ModelEventListener
|
||||
{
|
||||
|
||||
void fire( Model model );
|
||||
|
||||
}
|
1
pom.xml
1
pom.xml
|
@ -43,7 +43,6 @@
|
|||
<junitVersion>3.8.2</junitVersion>
|
||||
<plexusVersion>1.5.4</plexusVersion>
|
||||
<plexusInterpolationVersion>1.11</plexusInterpolationVersion>
|
||||
<plexusPluginManagerVersion>1.0-alpha-1</plexusPluginManagerVersion>
|
||||
<plexusUtilsVersion>2.0.4</plexusUtilsVersion>
|
||||
<wagonVersion>1.0-beta-6</wagonVersion>
|
||||
<securityDispatcherVersion>1.3</securityDispatcherVersion>
|
||||
|
|
Loading…
Reference in New Issue