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