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:
Jason van Zyl 2008-11-28 22:09:38 +00:00
parent 3ce3ccdf59
commit 58c23ba20f
2 changed files with 2 additions and 4 deletions

View File

@ -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
{ {

View File

@ -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