Fixing lib
This commit is contained in:
parent
ebdebc4fb8
commit
e56189e9ad
|
@ -1,5 +1,5 @@
|
||||||
target
|
target
|
||||||
.classpath
|
.classpath
|
||||||
.project
|
.project
|
||||||
/.DS_Store
|
**/.DS_Store
|
||||||
/bin/
|
/bin/
|
||||||
|
|
17
pom.xml
17
pom.xml
|
@ -28,8 +28,8 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.distribution</groupId>
|
<groupId>org.gcube.distribution</groupId>
|
||||||
<artifactId>gcube-smartgears-bom</artifactId>
|
<artifactId>gcube-bom</artifactId>
|
||||||
<version>2.5.0-SNAPSHOT</version>
|
<version>2.4.0</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
@ -81,6 +81,19 @@
|
||||||
<type>war</type>
|
<type>war</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Added to support Java 11 JDK -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>javax.xml.ws</groupId>
|
||||||
|
<artifactId>jaxws-api</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.projectlombok</groupId>
|
||||||
|
<artifactId>lombok</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
<!-- END Added to support Java 11 JDK -->
|
||||||
|
|
||||||
<!-- Test Dependency -->
|
<!-- Test Dependency -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
|
|
|
@ -27,7 +27,7 @@ public class ContextTest {
|
||||||
|
|
||||||
private static final Logger logger = LoggerFactory.getLogger(ContextTest.class);
|
private static final Logger logger = LoggerFactory.getLogger(ContextTest.class);
|
||||||
|
|
||||||
protected static final String CONFIG_INI_FILENAME = "config.properties";
|
protected static final String CONFIG_INI_FILENAME = "config.ini";
|
||||||
|
|
||||||
public static final String ROOT_DEV;
|
public static final String ROOT_DEV;
|
||||||
public static final String ROOT_PREPROD;
|
public static final String ROOT_PREPROD;
|
||||||
|
@ -140,7 +140,7 @@ public class ContextTest {
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClass() throws Exception {
|
public static void beforeClass() throws Exception {
|
||||||
setContextByName(ROOT_DEV);
|
setContextByName(ROOT_PREPROD);
|
||||||
}
|
}
|
||||||
|
|
||||||
@AfterClass
|
@AfterClass
|
||||||
|
|
|
@ -24,16 +24,16 @@ public class DataBaseCreator extends ContextTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void createDatabase() throws Exception {
|
public void createDatabase() throws Exception {
|
||||||
ContextTest.setContextByName(ROOT_DEV);
|
ContextTest.setContextByName(ROOT_PREPROD);
|
||||||
logger.debug("Going to create DB");
|
logger.debug("Going to create DB");
|
||||||
String db = DatabaseEnvironment.DB_URI;
|
String db = DatabaseEnvironment.DB_URI;
|
||||||
logger.debug("{} created", db);
|
logger.debug("{} created", db);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Ignore
|
// @Ignore
|
||||||
@Test
|
@Test
|
||||||
public void createAllContexts() throws Exception {
|
public void createAllContexts() throws Exception {
|
||||||
ContextTest.setContextByName(ROOT_DEV);
|
ContextTest.setContextByName(ROOT_PREPROD);
|
||||||
ContextCreator contextCreator = new ContextCreator();
|
ContextCreator contextCreator = new ContextCreator();
|
||||||
contextCreator.all();
|
contextCreator.all();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue