From fd93d60388fecb8ec83dc5c0a411bc1cbe3d1d67 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 11 Mar 2017 14:00:42 +0100 Subject: [PATCH] Refined packaging: moved all classes into package de.juplo.simplemapper --- .../java/de/juplo/{jackson => simplemapper}/SimpleMapper.java | 2 +- .../juplo/{jackson => simplemapper}/SimpleMapperService.java | 2 +- .../SimpleMapperServiceAutoConfiguration.java | 3 +-- src/main/resources/META-INF/spring.factories | 2 +- .../SimpleMapperServiceAutoConfigurationTest.java | 3 +-- .../de/juplo/{jackson => simplemapper}/SimpleMapperTest.java | 2 +- 6 files changed, 6 insertions(+), 8 deletions(-) rename src/main/java/de/juplo/{jackson => simplemapper}/SimpleMapper.java (99%) rename src/main/java/de/juplo/{jackson => simplemapper}/SimpleMapperService.java (99%) rename src/main/java/de/juplo/{autoconfigure => simplemapper}/SimpleMapperServiceAutoConfiguration.java (92%) rename src/test/java/de/juplo/{autoconfigure => simplemapper}/SimpleMapperServiceAutoConfigurationTest.java (97%) rename src/test/java/de/juplo/{jackson => simplemapper}/SimpleMapperTest.java (99%) diff --git a/src/main/java/de/juplo/jackson/SimpleMapper.java b/src/main/java/de/juplo/simplemapper/SimpleMapper.java similarity index 99% rename from src/main/java/de/juplo/jackson/SimpleMapper.java rename to src/main/java/de/juplo/simplemapper/SimpleMapper.java index 3dd5509..f9143d0 100644 --- a/src/main/java/de/juplo/jackson/SimpleMapper.java +++ b/src/main/java/de/juplo/simplemapper/SimpleMapper.java @@ -1,4 +1,4 @@ -package de.juplo.jackson; +package de.juplo.simplemapper; import com.fasterxml.jackson.core.JsonLocation; diff --git a/src/main/java/de/juplo/jackson/SimpleMapperService.java b/src/main/java/de/juplo/simplemapper/SimpleMapperService.java similarity index 99% rename from src/main/java/de/juplo/jackson/SimpleMapperService.java rename to src/main/java/de/juplo/simplemapper/SimpleMapperService.java index a7ad81e..a7434e3 100644 --- a/src/main/java/de/juplo/jackson/SimpleMapperService.java +++ b/src/main/java/de/juplo/simplemapper/SimpleMapperService.java @@ -1,4 +1,4 @@ -package de.juplo.jackson; +package de.juplo.simplemapper; import com.fasterxml.jackson.core.JsonFactory; diff --git a/src/main/java/de/juplo/autoconfigure/SimpleMapperServiceAutoConfiguration.java b/src/main/java/de/juplo/simplemapper/SimpleMapperServiceAutoConfiguration.java similarity index 92% rename from src/main/java/de/juplo/autoconfigure/SimpleMapperServiceAutoConfiguration.java rename to src/main/java/de/juplo/simplemapper/SimpleMapperServiceAutoConfiguration.java index 1c9a471..263db9d 100644 --- a/src/main/java/de/juplo/autoconfigure/SimpleMapperServiceAutoConfiguration.java +++ b/src/main/java/de/juplo/simplemapper/SimpleMapperServiceAutoConfiguration.java @@ -1,8 +1,7 @@ -package de.juplo.autoconfigure; +package de.juplo.simplemapper; import com.fasterxml.jackson.core.JsonFactory; -import de.juplo.jackson.SimpleMapperService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; diff --git a/src/main/resources/META-INF/spring.factories b/src/main/resources/META-INF/spring.factories index 0d7c0e1..d46bfd0 100644 --- a/src/main/resources/META-INF/spring.factories +++ b/src/main/resources/META-INF/spring.factories @@ -1 +1 @@ -org.springframework.boot.autoconfigure.EnableAutoConfiguration=de.juplo.autoconfigure.SimpleMapperServiceAutoConfiguration +org.springframework.boot.autoconfigure.EnableAutoConfiguration=de.juplo.simplemapper.SimpleMapperServiceAutoConfiguration diff --git a/src/test/java/de/juplo/autoconfigure/SimpleMapperServiceAutoConfigurationTest.java b/src/test/java/de/juplo/simplemapper/SimpleMapperServiceAutoConfigurationTest.java similarity index 97% rename from src/test/java/de/juplo/autoconfigure/SimpleMapperServiceAutoConfigurationTest.java rename to src/test/java/de/juplo/simplemapper/SimpleMapperServiceAutoConfigurationTest.java index 3f9f5f0..ac7c43a 100644 --- a/src/test/java/de/juplo/autoconfigure/SimpleMapperServiceAutoConfigurationTest.java +++ b/src/test/java/de/juplo/simplemapper/SimpleMapperServiceAutoConfigurationTest.java @@ -1,8 +1,7 @@ -package de.juplo.autoconfigure; +package de.juplo.simplemapper; import com.fasterxml.jackson.core.JsonFactory; -import de.juplo.jackson.SimpleMapperService; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.springframework.context.annotation.Configuration; diff --git a/src/test/java/de/juplo/jackson/SimpleMapperTest.java b/src/test/java/de/juplo/simplemapper/SimpleMapperTest.java similarity index 99% rename from src/test/java/de/juplo/jackson/SimpleMapperTest.java rename to src/test/java/de/juplo/simplemapper/SimpleMapperTest.java index e5769e4..1a90df3 100644 --- a/src/test/java/de/juplo/jackson/SimpleMapperTest.java +++ b/src/test/java/de/juplo/simplemapper/SimpleMapperTest.java @@ -1,4 +1,4 @@ -package de.juplo.jackson; +package de.juplo.simplemapper; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonParser; -- 2.20.1