From 0749f8dfaa874c117ff99267e5add72140e4681d Mon Sep 17 00:00:00 2001 From: jloisel Date: Fri, 8 Jan 2016 09:41:59 +0100 Subject: [PATCH] fix: spring elasticsearch starter is not published on maven central --- .../.classpath | 0 .../.gitignore | 0 .../.project | 0 .../.settings/org.eclipse.core.resources.prefs | 0 .../.settings/org.eclipse.jdt.core.prefs | 0 .../.settings/org.eclipse.m2e.core.prefs | 0 .../pom.xml | 2 +- .../ElasticSearchRepositoryFactoryAutoConfiguration.java | 8 +++++++- .../starter/JacksonConversionAutoConfiguration.java | 8 +++++++- .../repository/elasticsearch/starter/package-info.java | 0 .../src/test/java/com/jeromeloisel/Application.java | 0 .../repository/elasticsearch/starter/TestConfig.java | 0 .../repository/elasticsearch/starter/WiringTest.java | 0 pom.xml | 2 +- 14 files changed, 16 insertions(+), 4 deletions(-) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/.classpath (100%) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/.gitignore (100%) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/.project (100%) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/.settings/org.eclipse.core.resources.prefs (100%) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/.settings/org.eclipse.jdt.core.prefs (100%) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/.settings/org.eclipse.m2e.core.prefs (100%) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/pom.xml (95%) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/ElasticSearchRepositoryFactoryAutoConfiguration.java (87%) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/JacksonConversionAutoConfiguration.java (88%) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/package-info.java (100%) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/src/test/java/com/jeromeloisel/Application.java (100%) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/src/test/java/com/jeromeloisel/repository/elasticsearch/starter/TestConfig.java (100%) rename {db-repository-elasticsearch-starter => db-spring-elasticsearch-starter}/src/test/java/com/jeromeloisel/repository/elasticsearch/starter/WiringTest.java (100%) diff --git a/db-repository-elasticsearch-starter/.classpath b/db-spring-elasticsearch-starter/.classpath similarity index 100% rename from db-repository-elasticsearch-starter/.classpath rename to db-spring-elasticsearch-starter/.classpath diff --git a/db-repository-elasticsearch-starter/.gitignore b/db-spring-elasticsearch-starter/.gitignore similarity index 100% rename from db-repository-elasticsearch-starter/.gitignore rename to db-spring-elasticsearch-starter/.gitignore diff --git a/db-repository-elasticsearch-starter/.project b/db-spring-elasticsearch-starter/.project similarity index 100% rename from db-repository-elasticsearch-starter/.project rename to db-spring-elasticsearch-starter/.project diff --git a/db-repository-elasticsearch-starter/.settings/org.eclipse.core.resources.prefs b/db-spring-elasticsearch-starter/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from db-repository-elasticsearch-starter/.settings/org.eclipse.core.resources.prefs rename to db-spring-elasticsearch-starter/.settings/org.eclipse.core.resources.prefs diff --git a/db-repository-elasticsearch-starter/.settings/org.eclipse.jdt.core.prefs b/db-spring-elasticsearch-starter/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from db-repository-elasticsearch-starter/.settings/org.eclipse.jdt.core.prefs rename to db-spring-elasticsearch-starter/.settings/org.eclipse.jdt.core.prefs diff --git a/db-repository-elasticsearch-starter/.settings/org.eclipse.m2e.core.prefs b/db-spring-elasticsearch-starter/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from db-repository-elasticsearch-starter/.settings/org.eclipse.m2e.core.prefs rename to db-spring-elasticsearch-starter/.settings/org.eclipse.m2e.core.prefs diff --git a/db-repository-elasticsearch-starter/pom.xml b/db-spring-elasticsearch-starter/pom.xml similarity index 95% rename from db-repository-elasticsearch-starter/pom.xml rename to db-spring-elasticsearch-starter/pom.xml index e6a2c7f..1607ecc 100644 --- a/db-repository-elasticsearch-starter/pom.xml +++ b/db-spring-elasticsearch-starter/pom.xml @@ -6,7 +6,7 @@ elasticsearch-crud 0.0.1-SNAPSHOT - db-repository-elasticsearch-starter + db-spring-elasticsearch-starter Spring Boot Elasticsearch DB starter ElasticSearch Repository Spring Boot autoconfiguration with Jackson serialization. diff --git a/db-repository-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/ElasticSearchRepositoryFactoryAutoConfiguration.java b/db-spring-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/ElasticSearchRepositoryFactoryAutoConfiguration.java similarity index 87% rename from db-repository-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/ElasticSearchRepositoryFactoryAutoConfiguration.java rename to db-spring-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/ElasticSearchRepositoryFactoryAutoConfiguration.java index 0f53661..a23a5f7 100644 --- a/db-repository-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/ElasticSearchRepositoryFactoryAutoConfiguration.java +++ b/db-spring-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/ElasticSearchRepositoryFactoryAutoConfiguration.java @@ -11,8 +11,14 @@ import com.jeromeloisel.db.repository.api.DatabaseRepositoryFactory; import com.jeromeloisel.db.repository.elasticsearch.ElasticSearchRepositoryFactory; +/** + * Elasticsearch Repository autoconfiguration. + * + * @author jerome + * + */ @Configuration -class ElasticSearchRepositoryFactoryAutoConfiguration { +public class ElasticSearchRepositoryFactoryAutoConfiguration { @Bean @Autowired diff --git a/db-repository-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/JacksonConversionAutoConfiguration.java b/db-spring-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/JacksonConversionAutoConfiguration.java similarity index 88% rename from db-repository-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/JacksonConversionAutoConfiguration.java rename to db-spring-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/JacksonConversionAutoConfiguration.java index fc5dc54..881fc1d 100644 --- a/db-repository-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/JacksonConversionAutoConfiguration.java +++ b/db-spring-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/JacksonConversionAutoConfiguration.java @@ -11,9 +11,15 @@ import com.jeromeloisel.db.conversion.api.JsonSerializationFactory; import com.jeromeloisel.db.conversion.jackson.JacksonSerializationFactory; +/** + * Jackson Json Conversion autoconfiguration. + * + * @author jerome + * + */ @Configuration @ConditionalOnClass(ObjectMapper.class) -class JacksonConversionAutoConfiguration { +public class JacksonConversionAutoConfiguration { @Bean @Autowired diff --git a/db-repository-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/package-info.java b/db-spring-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/package-info.java similarity index 100% rename from db-repository-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/package-info.java rename to db-spring-elasticsearch-starter/src/main/java/com/jeromeloisel/repository/elasticsearch/starter/package-info.java diff --git a/db-repository-elasticsearch-starter/src/test/java/com/jeromeloisel/Application.java b/db-spring-elasticsearch-starter/src/test/java/com/jeromeloisel/Application.java similarity index 100% rename from db-repository-elasticsearch-starter/src/test/java/com/jeromeloisel/Application.java rename to db-spring-elasticsearch-starter/src/test/java/com/jeromeloisel/Application.java diff --git a/db-repository-elasticsearch-starter/src/test/java/com/jeromeloisel/repository/elasticsearch/starter/TestConfig.java b/db-spring-elasticsearch-starter/src/test/java/com/jeromeloisel/repository/elasticsearch/starter/TestConfig.java similarity index 100% rename from db-repository-elasticsearch-starter/src/test/java/com/jeromeloisel/repository/elasticsearch/starter/TestConfig.java rename to db-spring-elasticsearch-starter/src/test/java/com/jeromeloisel/repository/elasticsearch/starter/TestConfig.java diff --git a/db-repository-elasticsearch-starter/src/test/java/com/jeromeloisel/repository/elasticsearch/starter/WiringTest.java b/db-spring-elasticsearch-starter/src/test/java/com/jeromeloisel/repository/elasticsearch/starter/WiringTest.java similarity index 100% rename from db-repository-elasticsearch-starter/src/test/java/com/jeromeloisel/repository/elasticsearch/starter/WiringTest.java rename to db-spring-elasticsearch-starter/src/test/java/com/jeromeloisel/repository/elasticsearch/starter/WiringTest.java diff --git a/pom.xml b/pom.xml index 3ba39f5..75491b1 100644 --- a/pom.xml +++ b/pom.xml @@ -264,7 +264,7 @@ db-conversion-api db-conversion-jackson db-repository-elasticsearch - db-repository-elasticsearch-starter + db-spring-elasticsearch-starter db-integration-test