mirror of https://github.com/apache/maven.git
[MNG-7022] Remove o.a.m.lifecycle.mapping.Lifecycle optional mojos backward compat code
This closes #396
This commit is contained in:
parent
d2adab7bf3
commit
72a125ef04
|
@ -21,7 +21,6 @@ package org.apache.maven.lifecycle.mapping;
|
|||
|
||||
import java.util.Collections;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
|
@ -40,13 +39,6 @@ public class Lifecycle
|
|||
*/
|
||||
private Map<String, LifecyclePhase> lifecyclePhases;
|
||||
|
||||
/*
|
||||
* NOTE: This exists merely for backward-compat with legacy-style lifecycle definitions and allows configuration
|
||||
* injection to work instead of failing.
|
||||
*/
|
||||
@SuppressWarnings( "unused" )
|
||||
private List<String> optionalMojos;
|
||||
|
||||
/**
|
||||
* Method getId
|
||||
*/
|
||||
|
|
|
@ -76,9 +76,6 @@
|
|||
<install>org.apache.maven.plugins:maven-install-plugin:install</install>
|
||||
<deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
|
||||
</phases>
|
||||
<optional-mojos>
|
||||
<optional-mojo>org.apache.maven.plugins:maven-site-plugin:attach-descriptor</optional-mojo>
|
||||
</optional-mojos>
|
||||
<!-- END SNIPPET: pom-lifecycle -->
|
||||
</lifecycle>
|
||||
</lifecycles>
|
||||
|
@ -101,9 +98,6 @@
|
|||
<install>org.apache.maven.plugins:maven-install-plugin:install</install>
|
||||
<deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
|
||||
</phases>
|
||||
<optional-mojos>
|
||||
<optional-mojo>org.apache.maven.plugins:maven-site-plugin:attach-descriptor</optional-mojo>
|
||||
</optional-mojos>
|
||||
<!-- END SNIPPET: pom-lifecycle -->
|
||||
</lifecycle>
|
||||
</lifecycles>
|
||||
|
|
Loading…
Reference in New Issue