fixed log runtime

This commit is contained in:
Fabio Sinibaldi 2020-10-20 14:45:53 +02:00
parent fc6f974454
commit 3cdaf15215
2 changed files with 36 additions and 5 deletions

39
pom.xml
View File

@ -1,4 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
@ -11,8 +12,10 @@
<version>2.4.4-SNAPSHOT</version> <version>2.4.4-SNAPSHOT</version>
<name>gis-interface</name> <name>gis-interface</name>
<properties> <properties>
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl> <gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
<slf4j.version>1.5.11</slf4j.version>
</properties> </properties>
@ -30,6 +33,25 @@
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
<dependency>
<groupId>org.gcube.distribution</groupId>
<artifactId>gcube-smartgears-bom</artifactId>
<version>2.0.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- SLF4j -->
<!-- <dependency> -->
<!-- <groupId>org.slf4j</groupId> -->
<!-- <artifactId>slf4j-api</artifactId> -->
<!-- <version>${slf4j.version}</version> -->
<!-- </dependency> -->
<!-- <dependency> -->
<!-- <groupId>org.slf4j</groupId> -->
<!-- <artifactId>jcl-over-slf4j</artifactId> -->
<!-- <version>${slf4j.version}</version> -->
<!-- </dependency> -->
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
@ -61,6 +83,9 @@
</dependency> </dependency>
<!-- EXTERNAL --> <!-- EXTERNAL -->
@ -97,7 +122,12 @@
</exclusions> </exclusions>
</dependency> </dependency>
<!-- needed by http client (geosolution logic) -->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.2</version>
</dependency>
<!-- TEST --> <!-- TEST -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
@ -120,6 +150,7 @@
</dependency> </dependency>
</dependencies> </dependencies>
<repositories> <repositories>
<repository> <repository>
<id>GeoSolutions</id> <id>GeoSolutions</id>
@ -140,6 +171,6 @@
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/unidata/</url> <url>http://maven.research-infrastructures.eu/nexus/content/repositories/unidata/</url>
</repository> </repository>
</repositories> </repositories>
<description>Java library used to communicate with GeoServer and GeoNetwork</description> <description>Java library used to communicate with GeoServer and GeoNetwork</description>
</project> </project>

View File

@ -10,7 +10,7 @@ import it.geosolutions.geoserver.rest.encoder.datastore.GSPostGISDatastoreEncode
public class PublishStore { public class PublishStore {
public static void main (String[] args) throws Exception{ public static void main (String[] args) throws Exception{
TokenSetter.set("/gcube/devsec"); TokenSetter.set("/gcube/devNext/NextNext");
String workspace="My another workspace"; String workspace="My another workspace";