Skip to content

Commit

Permalink
[MNG-8522] Deprecate maven-builder-support artifact and its classes (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet authored Jan 15, 2025
1 parent aeec37f commit 8a9c244
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 1 deletion.
7 changes: 6 additions & 1 deletion compat/maven-builder-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,15 @@ under the License.

<artifactId>maven-builder-support</artifactId>

<name>Maven Builder Support</name>
<name>Maven Builder Support (deprecated)</name>
<description>Support for descriptor builders (model, setting, toolchains)</description>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-api-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
* thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
* that exhibits the problem.
*
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
*/
@Deprecated(since = "4.0.0")
class DefaultProblem implements Problem {

private final String source;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
/**
* Collects problems that are encountered during settings building.
*
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
*/
@Deprecated(since = "4.0.0")
class DefaultProblemCollector implements ProblemCollector {

private final List<Problem> problems;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
/**
* Wraps an ordinary {@link File} as a source.
*
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
*/
@Deprecated(since = "4.0.0")
public class FileSource implements Source {
private final Path path;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
* thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
* that exhibits the problem.
*
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
*/
@Deprecated(since = "4.0.0")
public interface Problem {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
/**
* Collects problems that are encountered during settings building.
*
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
*/
@Deprecated(since = "4.0.0")
public interface ProblemCollector {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
/**
*
* @since 3.3.0
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
*/
@Deprecated(since = "4.0.0")
public class ProblemCollectorFactory {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
/**
* Provides access to the contents of a source independently of the backing store (e.g. file system, database, memory).
*
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
*/
@Deprecated(since = "4.0.0")
public interface Source {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
/**
* Wraps an ordinary {@link CharSequence} as a source.
*
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
*/
@Deprecated(since = "4.0.0")
public class StringSource implements Source {
private final String content;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
/**
* Wraps an ordinary {@link URL} as a source.
*
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
*/
@Deprecated(since = "4.0.0")
public class UrlSource implements Source {

private final URL url;
Expand Down

0 comments on commit 8a9c244

Please sign in to comment.