mirror of https://github.com/apache/maven.git
remove old code related to the previous goal structure
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163469 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2513cb25aa
commit
72a993eea1
|
@ -134,22 +134,6 @@ public class MavenSession
|
|||
return container.lookup( role, roleHint );
|
||||
}
|
||||
|
||||
// TODO: can remove when phases are gone
|
||||
public void release( Object component )
|
||||
{
|
||||
if ( component != null )
|
||||
{
|
||||
try
|
||||
{
|
||||
container.release( component );
|
||||
}
|
||||
catch ( Exception e )
|
||||
{
|
||||
//@todo what to do here?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public EventDispatcher getEventDispatcher()
|
||||
{
|
||||
return eventDispatcher;
|
||||
|
|
|
@ -16,11 +16,6 @@ import java.util.StringTokenizer;
|
|||
*
|
||||
* @description Run tests using surefire
|
||||
*
|
||||
* @prereq compiler:compile
|
||||
* @prereq compiler:testCompile
|
||||
* @prereq resources:resources
|
||||
* @prereq resources:testResources
|
||||
*
|
||||
* @parameter
|
||||
* name="mavenRepoLocal"
|
||||
* type="String"
|
||||
|
@ -181,7 +176,7 @@ public class SurefirePlugin
|
|||
|
||||
if ( !success )
|
||||
{
|
||||
response.setExecutionFailure( true, new SurefireFailureResponse( null ) );
|
||||
response.setExecutionFailure( new SurefireFailureResponse( null ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue