Skip to content

Commit 3383221

Browse files
committed
Merge branch 'refs/heads/master' into MNG-8524
# Conflicts: # impl/maven-impl/src/main/java/org/apache/maven/impl/DefaultSettingsBuilder.java # impl/maven-impl/src/main/java/org/apache/maven/impl/DefaultToolchainsBuilder.java # impl/maven-impl/src/main/java/org/apache/maven/impl/model/profile/ConditionProfileActivator.java
2 parents 906881f + 8134aa2 commit 3383221

File tree

256 files changed

+559
-448
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

256 files changed

+559
-448
lines changed

apache-maven/src/assembly/maven/conf/settings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ under the License.
173173
<repositories>
174174
<repository>
175175
<id>central</id>
176-
<name>Central Repository</name>
176+
<name>Maven Central Repository</name>
177177
<url>${maven.repo.central}</url>
178178
<snapshots>
179179
<enabled>false</enabled>
@@ -187,7 +187,7 @@ under the License.
187187
<pluginRepositories>
188188
<pluginRepository>
189189
<id>central</id>
190-
<name>Central Repository</name>
190+
<name>Maven Central Repository</name>
191191
<url>${maven.repo.central}</url>
192192
<snapshots>
193193
<enabled>false</enabled>

api/maven-api-settings/src/main/mdo/settings.mdo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,9 @@
546546
<type>String</type>
547547
<description>
548548
<![CDATA[
549-
A repository id or (since Maven 2.0.9) an expression matching one or many repository ids to mirror, e.g.,
549+
A repository id or an expression matching one or many repository ids to mirror, e.g.,
550550
<code>central</code> or <code>*,!repo1</code>.
551-
<code>*</code> (since Maven 2.0.5), <code>external:*</code> (since Maven 2.0.9) and <code>external:http:*</code> (since Maven 3.8.0) have
551+
<code>*</code>, <code>external:*</code> and <code>external:http:*</code> (since Maven 3.8.0) have
552552
a special meaning: see <a href="/guides/mini/guide-mirror-settings.html">Mirror Settings</a> guide.
553553
]]>
554554
</description>
@@ -896,7 +896,7 @@
896896
<version>1.0.0+</version>
897897
<description>
898898
What to do when verification of an artifact checksum fails. Valid values are "fail" (default for Maven 4 and
899-
above), "warn" (default for Maven 2 and 3) or "ignore".
899+
above), "warn" (default for Maven 3) or "ignore".
900900
</description>
901901
<type>String</type>
902902
</field>

api/maven-api-toolchain/src/main/mdo/toolchains.mdo

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
<field>
137137
<name>provides</name>
138138
<version>1.0.0/1.0.99</version> <!-- fake upperbound, it's inclusive -->
139-
<type>DOM</type> <!-- DOM for Maven 2.0.9/2.3.3 -->
139+
<type>DOM</type>
140140
<description>
141141
Toolchain identification information, which will be matched against project requirements.
142142
&lt;p>Actual content structure is completely open: each toolchain type will define its own format and
@@ -148,18 +148,14 @@
148148
<field>
149149
<name>provides</name>
150150
<version>1.1.0+</version>
151-
<type>Properties</type> <!-- Properties for Maven 2.3.4+ -->
151+
<type>Properties</type>
152152
<association xml.mapStyle="inline">
153153
<type>String</type>
154154
<multiplicity>*</multiplicity>
155155
</association>
156156
<!-- <identifier>true</identifier> -->
157157
<description>
158158
Toolchain identification information, which will be matched against project requirements.
159-
&lt;p>For Maven 2.0.9 to 3.2.3, the actual content structure was completely open: each toolchain type would
160-
define its own format and semantics. This was generally a properties format.
161-
&lt;p>Since Maven 3.2.4, the type for this field has been changed to Properties to match the de-facto
162-
format.
163159
&lt;p>Each toolchain defines its own properties names and semantics.
164160
</description>
165161
</field>

compat/maven-builder-support/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,15 @@ under the License.
3030

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

33-
<name>Maven Builder Support</name>
33+
<name>Maven Builder Support (deprecated)</name>
3434
<description>Support for descriptor builders (model, setting, toolchains)</description>
3535

3636
<dependencies>
37+
<dependency>
38+
<groupId>org.apache.maven</groupId>
39+
<artifactId>maven-api-core</artifactId>
40+
<scope>provided</scope>
41+
</dependency>
3742
<dependency>
3843
<groupId>org.junit.jupiter</groupId>
3944
<artifactId>junit-jupiter-api</artifactId>

compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
* thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
2424
* that exhibits the problem.
2525
*
26+
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
2627
*/
28+
@Deprecated(since = "4.0.0")
2729
class DefaultProblem implements Problem {
2830

2931
private final String source;

compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
/**
2525
* Collects problems that are encountered during settings building.
2626
*
27+
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
2728
*/
29+
@Deprecated(since = "4.0.0")
2830
class DefaultProblemCollector implements ProblemCollector {
2931

3032
private final List<Problem> problems;

compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
/**
2929
* Wraps an ordinary {@link File} as a source.
3030
*
31+
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
3132
*/
33+
@Deprecated(since = "4.0.0")
3234
public class FileSource implements Source {
3335
private final Path path;
3436

compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
* thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
2424
* that exhibits the problem.
2525
*
26+
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
2627
*/
28+
@Deprecated(since = "4.0.0")
2729
public interface Problem {
2830

2931
/**

compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
/**
2424
* Collects problems that are encountered during settings building.
2525
*
26+
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
2627
*/
28+
@Deprecated(since = "4.0.0")
2729
public interface ProblemCollector {
2830

2931
/**

compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollectorFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
/**
2424
*
2525
* @since 3.3.0
26+
* @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead
2627
*/
28+
@Deprecated(since = "4.0.0")
2729
public class ProblemCollectorFactory {
2830

2931
/**

0 commit comments

Comments
 (0)