Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit 59f37b2

Browse files
committed
WIP - Issue #14 - not compiling yet.
1 parent 1fe972e commit 59f37b2

File tree

3 files changed

+9
-19
lines changed

3 files changed

+9
-19
lines changed

plexus-component-metadata/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- $Id$ -->
32
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
43
<modelVersion>4.0.0</modelVersion>
54

@@ -16,10 +15,6 @@
1615
<description>A Maven plugin to generate Plexus Components descriptors from source javadoc tags and Java 5 class annotations.</description>
1716

1817
<dependencies>
19-
<dependency>
20-
<groupId>org.codehaus.plexus</groupId>
21-
<artifactId>plexus-container-default</artifactId>
22-
</dependency>
2318
<dependency>
2419
<groupId>org.codehaus.plexus</groupId>
2520
<artifactId>plexus-component-annotations</artifactId>

plexus-component-metadata/src/main/java/org/codehaus/plexus/component/repository/ComponentDescriptor.java

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
package org.codehaus.plexus.component.repository;
22

3+
import java.util.ArrayList;
4+
import java.util.Arrays;
5+
import java.util.Collections;
6+
import java.util.List;
7+
8+
import org.codehaus.classworlds.ClassRealm;
9+
310
/*
411
* Copyright 2001-2006 Codehaus Foundation.
512
*
@@ -17,14 +24,8 @@
1724
*/
1825

1926
import org.codehaus.plexus.PlexusConstants;
20-
import org.codehaus.plexus.classworlds.realm.ClassRealm;
2127
import org.codehaus.plexus.configuration.PlexusConfiguration;
2228

23-
import java.util.ArrayList;
24-
import java.util.List;
25-
import java.util.Arrays;
26-
import java.util.Collections;
27-
2829
/**
2930
* Component instantiation description.
3031
*
@@ -41,7 +42,7 @@ public class ComponentDescriptor<T>
4142

4243
private Class<? extends T> roleClass;
4344

44-
private String roleHint = PlexusConstants.PLEXUS_DEFAULT_HINT;
45+
private String roleHint = "default";
4546

4647
private String implementation;
4748

@@ -244,7 +245,7 @@ public void setRoleHint( String roleHint )
244245
{
245246
if ( ( roleHint == null ) || roleHint.trim().equals( "" ) )
246247
{
247-
this.roleHint = PlexusConstants.PLEXUS_DEFAULT_HINT;
248+
this.roleHint = "default";
248249
}
249250
else
250251
{

pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
<module>plexus-component-annotations</module>
2222
<module>plexus-component-metadata</module>
2323
<module>plexus-component-javadoc</module>
24-
<!--module>plexus-container-default</module--><!-- IoC not maintained any more: use Sisu -->
2524
</modules>
2625

2726
<scm>
@@ -52,11 +51,6 @@
5251

5352
<dependencyManagement>
5453
<dependencies>
55-
<dependency>
56-
<groupId>org.codehaus.plexus</groupId>
57-
<artifactId>plexus-container-default</artifactId>
58-
<version>${project.version}</version>
59-
</dependency>
6054
<dependency>
6155
<groupId>org.codehaus.plexus</groupId>
6256
<artifactId>plexus-component-annotations</artifactId>

0 commit comments

Comments
 (0)