Skip to content

Commit 924a04e

Browse files
committed
Minor javadoc improvements
1 parent c15ed3c commit 924a04e

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ default Stream<Phase> allPhases() {
106106

107107
/**
108108
* A phase in the lifecycle.
109-
*
109+
* <p>
110110
* A phase is identified by its name. It also contains a list of plugins bound to that phase,
111111
* a list of {@link Link links}, and a list of sub-phases. This forms a tree of phases.
112112
*/

impl/maven-impl/src/main/java/org/apache/maven/impl/DefaultArtifact.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
import org.apache.maven.api.annotations.Nonnull;
2727

2828
/**
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.
3031
*/
3132
public class DefaultArtifact implements Artifact {
3233
/**

impl/maven-impl/src/main/java/org/apache/maven/impl/DefaultRemoteRepository.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,22 @@
2323
import org.apache.maven.api.RemoteRepository;
2424
import org.apache.maven.api.annotations.Nonnull;
2525

26+
/**
27+
* Default implementation of the RemoteRepository interface.
28+
* Wraps an Aether remote repository and provides access to its properties.
29+
*/
2630
public class DefaultRemoteRepository implements RemoteRepository {
31+
/**
32+
* The wrapped Aether remote repository.
33+
*/
2734
@Nonnull
2835
private final org.eclipse.aether.repository.RemoteRepository repository;
2936

37+
/**
38+
* Creates a new wrapper for the given remote repository.
39+
*
40+
* @param repository the Aether remote repository to wrap
41+
*/
3042
public DefaultRemoteRepository(@Nonnull org.eclipse.aether.repository.RemoteRepository repository) {
3143
this.repository = Objects.requireNonNull(repository, "repository cannot be null");
3244
}

0 commit comments

Comments
 (0)