Rename spring-boot-layertools

Rename `spring-boot-layertools` to `spring-boot-jarmode-layertools`.

Closes gh-19853
pull/19864/head
Phillip Webb 5 years ago
parent 13f7db2d8c
commit 71ce212f7f

@ -45,7 +45,7 @@ include "spring-boot-project:spring-boot-tools:spring-boot-buildpack-platform"
include "spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata" include "spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata"
include "spring-boot-project:spring-boot-tools:spring-boot-configuration-processor" include "spring-boot-project:spring-boot-tools:spring-boot-configuration-processor"
include "spring-boot-project:spring-boot-tools:spring-boot-gradle-plugin" include "spring-boot-project:spring-boot-tools:spring-boot-gradle-plugin"
include "spring-boot-project:spring-boot-tools:spring-boot-layertools" include "spring-boot-project:spring-boot-tools:spring-boot-jarmode-layertools"
include "spring-boot-project:spring-boot-tools:spring-boot-loader" include "spring-boot-project:spring-boot-tools:spring-boot-loader"
include "spring-boot-project:spring-boot-tools:spring-boot-loader-tools" include "spring-boot-project:spring-boot-tools:spring-boot-loader-tools"
include "spring-boot-project:spring-boot-tools:spring-boot-maven-plugin" include "spring-boot-project:spring-boot-tools:spring-boot-maven-plugin"

@ -1425,7 +1425,7 @@ bom {
"spring-boot-configuration-metadata", "spring-boot-configuration-metadata",
"spring-boot-configuration-processor", "spring-boot-configuration-processor",
"spring-boot-devtools", "spring-boot-devtools",
"spring-boot-layertools", "spring-boot-jarmode-layertools",
"spring-boot-loader", "spring-boot-loader",
"spring-boot-loader-tools", "spring-boot-loader-tools",
"spring-boot-properties-migrator", "spring-boot-properties-migrator",

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.io.File; import java.io.File;
import java.nio.file.Paths; import java.nio.file.Paths;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.io.PrintStream; import java.io.PrintStream;
import java.util.List; import java.util.List;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.IOException; import java.io.IOException;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.util.ArrayDeque; import java.util.ArrayDeque;
import java.util.ArrayList; import java.util.ArrayList;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.util.Iterator; import java.util.Iterator;
import java.util.zip.ZipEntry; import java.util.zip.ZipEntry;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.io.PrintStream; import java.io.PrintStream;
import java.util.List; import java.util.List;

@ -17,4 +17,4 @@
/** /**
* JarMode support for layertools. * JarMode support for layertools.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;

@ -0,0 +1,2 @@
org.springframework.boot.loader.jarmode.JarMode=\
org.springframework.boot.jarmode.layertools.LayerToolsJarMode

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.util.ArrayDeque; import java.util.ArrayDeque;
import java.util.Arrays; import java.util.Arrays;
@ -24,9 +24,9 @@ import java.util.Map;
import org.assertj.core.api.InstanceOfAssertFactories; import org.assertj.core.api.InstanceOfAssertFactories;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.layertools.Command.Option; import org.springframework.boot.jarmode.layertools.Command.Option;
import org.springframework.boot.layertools.Command.Options; import org.springframework.boot.jarmode.layertools.Command.Options;
import org.springframework.boot.layertools.Command.Parameters; import org.springframework.boot.jarmode.layertools.Command.Parameters;
import static org.assertj.core.api.Assertions.as; import static org.assertj.core.api.Assertions.as;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.io.File; import java.io.File;
import java.io.FileOutputStream; import java.io.FileOutputStream;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.io.File; import java.io.File;
import java.util.Arrays; import java.util.Arrays;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.util.zip.ZipEntry; import java.util.zip.ZipEntry;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.util.zip.ZipEntry; import java.util.zip.ZipEntry;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.io.File; import java.io.File;
import java.io.PrintStream; import java.io.PrintStream;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.boot.layertools; package org.springframework.boot.jarmode.layertools;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
@ -27,7 +27,7 @@ import org.assertj.core.api.AbstractAssert;
import org.assertj.core.api.AssertProvider; import org.assertj.core.api.AssertProvider;
import org.assertj.core.api.Assertions; import org.assertj.core.api.Assertions;
import org.springframework.boot.layertools.TestPrintStream.PrintStreamAssert; import org.springframework.boot.jarmode.layertools.TestPrintStream.PrintStreamAssert;
import org.springframework.util.FileCopyUtils; import org.springframework.util.FileCopyUtils;
/** /**

@ -1,2 +0,0 @@
org.springframework.boot.loader.jarmode.JarMode=\
org.springframework.boot.layertools.LayerToolsJarMode
Loading…
Cancel
Save