parent
27715dee20
commit
7979a51f65
|
@ -187,7 +187,6 @@ class JarIntegrationTests extends AbstractArchiveIntegrationTests {
|
|||
assertThat(jar(repackaged)).hasEntryWithNameStartingWith("BOOT-INF/classes/")
|
||||
.hasEntryWithNameStartingWith("BOOT-INF/lib/spring-context")
|
||||
.hasEntryWithNameStartingWith("BOOT-INF/lib/spring-core")
|
||||
.hasEntryWithNameStartingWith("BOOT-INF/lib/spring-jcl")
|
||||
.doesNotHaveEntryWithNameStartingWith("BOOT-INF/lib/log4j-api-");
|
||||
});
|
||||
}
|
||||
|
@ -199,7 +198,6 @@ class JarIntegrationTests extends AbstractArchiveIntegrationTests {
|
|||
assertThat(jar(repackaged)).hasEntryWithNameStartingWith("BOOT-INF/classes/")
|
||||
.hasEntryWithNameStartingWith("BOOT-INF/lib/spring-context")
|
||||
.hasEntryWithNameStartingWith("BOOT-INF/lib/spring-core")
|
||||
.hasEntryWithNameStartingWith("BOOT-INF/lib/spring-jcl")
|
||||
.hasEntryWithNameStartingWith("BOOT-INF/lib/log4j-api-");
|
||||
});
|
||||
}
|
||||
|
@ -211,7 +209,6 @@ class JarIntegrationTests extends AbstractArchiveIntegrationTests {
|
|||
assertThat(jar(repackaged)).hasEntryWithNameStartingWith("BOOT-INF/classes/")
|
||||
.hasEntryWithNameStartingWith("BOOT-INF/lib/spring-context")
|
||||
.hasEntryWithNameStartingWith("BOOT-INF/lib/spring-core")
|
||||
.hasEntryWithNameStartingWith("BOOT-INF/lib/spring-jcl")
|
||||
.doesNotHaveEntryWithNameStartingWith("BOOT-INF/lib/log4j-api-");
|
||||
});
|
||||
}
|
||||
|
|
|
@ -117,15 +117,15 @@ public abstract class AbstractPackagerMojo extends AbstractDependencyFilterMojo
|
|||
* Include optional dependencies.
|
||||
* @since 3.5.7
|
||||
*/
|
||||
@Parameter(defaultValue = "true")
|
||||
public boolean includeOptional = true;
|
||||
@Parameter(defaultValue = "false")
|
||||
public boolean includeOptional;
|
||||
|
||||
/**
|
||||
* Include JAR tools.
|
||||
* @since 3.3.0
|
||||
*/
|
||||
@Parameter(defaultValue = "false")
|
||||
public boolean includeTools;
|
||||
@Parameter(defaultValue = "true")
|
||||
public boolean includeTools = true;
|
||||
|
||||
/**
|
||||
* Layer configuration with options to disable layer creation, exclude layer tools
|
||||
|
|
Loading…
Reference in New Issue