Skip to content

Commit

Permalink
fix: spring elasticsearch starter is not published on maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
jloisel committed Jan 8, 2016
1 parent baa1e76 commit 0749f8d
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<artifactId>elasticsearch-crud</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>db-repository-elasticsearch-starter</artifactId>
<artifactId>db-spring-elasticsearch-starter</artifactId>
<name>Spring Boot Elasticsearch DB starter</name>
<description>ElasticSearch Repository Spring Boot autoconfiguration with Jackson serialization.</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
<module>db-conversion-api</module>
<module>db-conversion-jackson</module>
<module>db-repository-elasticsearch</module>
<module>db-repository-elasticsearch-starter</module>
<module>db-spring-elasticsearch-starter</module>
<module>db-integration-test</module>
</modules>
</project>

0 comments on commit 0749f8d

Please sign in to comment.