File tree 3 files changed +15
-2
lines changed
api/maven-api-core/src/main/java/org/apache/maven/api
impl/maven-impl/src/main/java/org/apache/maven/impl 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ default Stream<Phase> allPhases() {
106
106
107
107
/**
108
108
* A phase in the lifecycle.
109
- *
109
+ * <p>
110
110
* A phase is identified by its name. It also contains a list of plugins bound to that phase,
111
111
* a list of {@link Link links}, and a list of sub-phases. This forms a tree of phases.
112
112
*/
Original file line number Diff line number Diff line change 26
26
import org .apache .maven .api .annotations .Nonnull ;
27
27
28
28
/**
29
- * A wrapper class around a maven resolver artifact.
29
+ * Default implementation of the Artifact interface.
30
+ * Wraps an Aether artifact and provides access to its properties.
30
31
*/
31
32
public class DefaultArtifact implements Artifact {
32
33
/**
Original file line number Diff line number Diff line change 23
23
import org .apache .maven .api .RemoteRepository ;
24
24
import org .apache .maven .api .annotations .Nonnull ;
25
25
26
+ /**
27
+ * Default implementation of the RemoteRepository interface.
28
+ * Wraps an Aether remote repository and provides access to its properties.
29
+ */
26
30
public class DefaultRemoteRepository implements RemoteRepository {
31
+ /**
32
+ * The wrapped Aether remote repository.
33
+ */
27
34
@ Nonnull
28
35
private final org .eclipse .aether .repository .RemoteRepository repository ;
29
36
37
+ /**
38
+ * Creates a new wrapper for the given remote repository.
39
+ *
40
+ * @param repository the Aether remote repository to wrap
41
+ */
30
42
public DefaultRemoteRepository (@ Nonnull org .eclipse .aether .repository .RemoteRepository repository ) {
31
43
this .repository = Objects .requireNonNull (repository , "repository cannot be null" );
32
44
}
You can’t perform that action at this time.
0 commit comments