fixed problem with dhp-schemas
This commit is contained in:
parent
fab6eae732
commit
6354adb7a2
|
@ -3,6 +3,7 @@ package eu.dnetlib.data.mdstore.manager;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
||||||
import org.springframework.cache.annotation.EnableCaching;
|
import org.springframework.cache.annotation.EnableCaching;
|
||||||
|
|
||||||
import eu.dnetlib.common.app.AbstractDnetApp;
|
import eu.dnetlib.common.app.AbstractDnetApp;
|
||||||
|
@ -15,6 +16,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
@EnableSwagger2
|
@EnableSwagger2
|
||||||
@EnableCaching
|
@EnableCaching
|
||||||
|
@EntityScan("eu.dnetlib.dhp.schema.mdstore")
|
||||||
public class MainApplication extends AbstractDnetApp {
|
public class MainApplication extends AbstractDnetApp {
|
||||||
|
|
||||||
@Value("${dhp.swagger.api.host}")
|
@Value("${dhp.swagger.api.host}")
|
||||||
|
|
6
pom.xml
6
pom.xml
|
@ -141,6 +141,12 @@
|
||||||
<groupId>eu.dnetlib.dhp</groupId>
|
<groupId>eu.dnetlib.dhp</groupId>
|
||||||
<artifactId>dhp-schemas</artifactId>
|
<artifactId>dhp-schemas</artifactId>
|
||||||
<version>${dhp-schemas-version}</version>
|
<version>${dhp-schemas-version}</version>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>com.google.guava</groupId>
|
||||||
|
<artifactId>guava</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
Loading…
Reference in New Issue