Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency updates #340

Merged
merged 5 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 33 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<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/maven-v4_0_0.xsd">
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>it.geosolutions</groupId>
Expand Down Expand Up @@ -63,8 +64,8 @@
<scm>
<url>https://github.com/geosolutions-it/geostore</url>
<connection>scm:git:git@github.com:geosolutions-it/geostore.git</connection>
<tag>HEAD</tag>
</scm>
<tag>HEAD</tag>
</scm>

<ciManagement>
<system>jenkins</system>
Expand Down Expand Up @@ -95,10 +96,20 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<version>3.10.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>utf8</encoding>
<source>8</source>
<target>8</target>
<debug>true</debug>
<encoding>UTF-8</encoding>
<!--
On the win32 build box the compiler oom's due to the compiler accumulating
too many classes in the permanent generation, similar to GEOT-2462
-->
<fork>true</fork>
<meminitial>128M</meminitial>
<maxmem>1512M</maxmem>
</configuration>
</plugin>

Expand Down Expand Up @@ -166,6 +177,22 @@
</configuration>
</plugin>

<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>9.0.9</version>
<!-- configuration>
<nvdApiKey>******-****-****-****-*********</nvdApiKey>
</configuration -->
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>

<extensions>
Expand All @@ -192,16 +219,9 @@
</links>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
</plugin>
</plugins>
</reporting>


<modules>
<module>src</module>
</modules>
Expand Down
27 changes: 13 additions & 14 deletions src/cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses />.
-->
<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/maven-v4_0_0.xsd">
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>it.geosolutions.geostore</groupId>
<artifactId>geostore-root</artifactId>
<version>2.1-SNAPSHOT</version>
<version>2.2-SNAPSHOT</version>
</parent>

<artifactId>geostore-cli</artifactId>
Expand All @@ -37,10 +38,9 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.3.175</version>
</dependency>

<!-- Apache Commons -->
<!-- Apache Commons -->
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
Expand All @@ -50,11 +50,10 @@
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
</dependency>

<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>4.6.1</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
Expand Down Expand Up @@ -93,26 +92,26 @@
<version>2.2</version>
<configuration>
<finalName>H2ToPgSQLExport</finalName>
<appendAssemblyId>false</appendAssemblyId>
<appendAssemblyId>false</appendAssemblyId>
<archive>
<manifest>
<mainClass>it.geosolutions.geostore.cli.H2ToPgSQLExportCLI</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id> <!-- this is used for inheritance merges -->
<phase>package</phase> <!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
<id>make-assembly</id> <!-- this is used for inheritance merges -->
<phase>package</phase> <!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugin>
</plugins>
</build>

Expand Down
2 changes: 0 additions & 2 deletions src/core/model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<artifactId>jdom</artifactId>
</dependency>


<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down Expand Up @@ -108,7 +107,6 @@
</execution>
</executions>
</plugin>

</plugins>
</build>

Expand Down
145 changes: 72 additions & 73 deletions src/core/persistence/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses />.
-->
<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/maven-v4_0_0.xsd">
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

Expand All @@ -41,14 +42,14 @@
<groupId>it.geosolutions.geostore</groupId>
<artifactId>geostore-model</artifactId>
</dependency>
<dependency>
<dependency>
<groupId>it.geosolutions.geostore</groupId>
<artifactId>geostore-security</artifactId>
</dependency>


<!-- ================================================================-->
<!-- APACHE COMMONS -->
<!-- APACHE COMMONS -->
<!-- ================================================================-->
<dependency>
<groupId>commons-lang</groupId>
Expand Down Expand Up @@ -102,21 +103,21 @@
</dependency>

<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-ldap</artifactId>
</dependency>

<!-- =========================================================== -->
<!-- SPRING SECURITY -->
<!-- =========================================================== -->
<!-- <dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
</dependency>
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
</dependency>-->
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-ldap</artifactId>
</dependency>

<!-- =========================================================== -->
<!-- SPRING SECURITY -->
<!-- =========================================================== -->
<!-- <dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
</dependency>
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
</dependency>-->

<!-- https://mvnrepository.com/artifact/org.hibernate.javax.persistence/hibernate-jpa-2.1-api -->
<dependency>
Expand All @@ -125,33 +126,32 @@
</dependency>


<!-- HIBERNATE-GENERIC-DAO -->
<!-- HIBERNATE-GENERIC-DAO -->
<dependency>
<groupId>com.googlecode.genericdao</groupId>
<artifactId>dao-hibernate</artifactId>
<!-- <groupId>com.trg</groupId>
<artifactId>trg-dao</artifactId>-->
<!-- <groupId>com.trg</groupId>
<artifactId>trg-dao</artifactId>-->
</dependency>
<dependency>
<groupId>com.googlecode.genericdao</groupId>
<artifactId>search-jpa-hibernate</artifactId>
<!-- <groupId>com.trg</groupId>
<artifactId>trg-search-jpa-hibernate</artifactId>-->
<!-- <groupId>com.trg</groupId>
<artifactId>trg-search-jpa-hibernate</artifactId>-->
</dependency>

<!-- H2 -->
<!-- H2 -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.3.175</version>
</dependency>

<!-- HIBERNATE -->

<!-- <dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>-->
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>

<!-- HIBERNATE -->

<!-- <dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>-->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
Expand All @@ -175,7 +175,7 @@
<artifactId>hibernate-ehcache</artifactId>
</dependency>

<!-- CGLIB -->
<!-- CGLIB -->
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
Expand All @@ -185,11 +185,11 @@
<artifactId>cglib-nodep</artifactId>
</dependency>

<!-- HTTP UTILS -->
<!-- <dependency>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
</dependency> -->
<!-- HTTP UTILS -->
<!-- <dependency>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
</dependency> -->
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
Expand All @@ -199,13 +199,13 @@
<artifactId>aspectjweaver</artifactId>
</dependency>

<!-- <dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>-->
<!-- <dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>-->

<!-- JUnit -->
<!-- JUnit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -215,32 +215,31 @@
</dependencies>

<!-- if you want to create a new profile for support another DB create a profile including -->
<!-- JDBC dependency and right esclusion/inclusion rule for load the right override file -->
<!-- Profile for supporting Postgres -->
<profiles>
<profile>
<id>postgres</id>
<dependencies>
<!-- POSTGRESQL database driver -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
</dependencies>
</profile>

<profile>
<id>oracle</id>
<dependencies>
<!-- ORACLE database driver -->
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0</version>
</dependency>
</dependencies>
</profile>
</profiles>
<!-- JDBC dependency and right esclusion/inclusion rule for load the right override file -->
<!-- Profile for supporting Postgres -->
<profiles>
<profile>
<id>postgres</id>
<dependencies>
<!-- POSTGRESQL database driver -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
</dependencies>
</profile>

<profile>
<id>oracle</id>
<dependencies>
<!-- ORACLE database driver -->
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>

<build>

Expand Down
Loading
Loading