You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/intTest/java/org/springframework/boot/maven/JarIntegrationTests.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractDependencyFilterMojo.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,8 @@ public abstract class AbstractDependencyFilterMojo extends AbstractMojo {
82
82
/**
83
83
* Collection of artifact definitions to exclude. The {@link Exclude} element defines
84
84
* mandatory {@code groupId} and {@code artifactId} properties and an optional
85
-
* {@code classifier} property.
85
+
* {@code classifier} property. If passing in excludes as a property the syntax is
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Exclude.java
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@
16
16
17
17
packageorg.springframework.boot.maven;
18
18
19
+
importorg.springframework.util.Assert;
20
+
19
21
/**
20
22
* A model for a dependency to exclude.
21
23
*
@@ -24,4 +26,17 @@
24
26
*/
25
27
publicclassExcludeextendsFilterableDependency {
26
28
29
+
// Maven looks for this public method if giving excludes as property
30
+
// e.g. -Dspring-boot.excludes=myGroupId:myArtifactId:my-optional-classifier,foo:baz
0 commit comments