mirror of https://github.com/apache/maven.git
o use annos for DefaultRuntimeInformation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721574 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3ce3ccdf59
commit
58c23ba20f
|
@ -25,6 +25,7 @@ import java.util.Properties;
|
||||||
|
|
||||||
import org.apache.maven.artifact.versioning.ArtifactVersion;
|
import org.apache.maven.artifact.versioning.ArtifactVersion;
|
||||||
import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
|
import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
|
||||||
|
import org.codehaus.plexus.component.annotations.Component;
|
||||||
import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable;
|
import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable;
|
||||||
import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException;
|
import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException;
|
||||||
import org.codehaus.plexus.util.IOUtil;
|
import org.codehaus.plexus.util.IOUtil;
|
||||||
|
@ -36,6 +37,7 @@ import org.codehaus.plexus.util.IOUtil;
|
||||||
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
|
@Component(role = RuntimeInformation.class)
|
||||||
public class DefaultRuntimeInformation
|
public class DefaultRuntimeInformation
|
||||||
implements RuntimeInformation, Initializable
|
implements RuntimeInformation, Initializable
|
||||||
{
|
{
|
||||||
|
|
|
@ -292,10 +292,6 @@ under the License.
|
||||||
</requirements>
|
</requirements>
|
||||||
</component>
|
</component>
|
||||||
|
|
||||||
<component>
|
|
||||||
<role>org.apache.maven.execution.RuntimeInformation</role>
|
|
||||||
<implementation>org.apache.maven.execution.DefaultRuntimeInformation</implementation>
|
|
||||||
</component>
|
|
||||||
<!--
|
<!--
|
||||||
|
|
|
|
||||||
|MojoExecutionExceptionDiagnoser
|
|MojoExecutionExceptionDiagnoser
|
||||||
|
|
Loading…
Reference in New Issue