Skip to content

Commit

Permalink
Use a prefix for maven artifacts build in the project.
Browse files Browse the repository at this point in the history
  • Loading branch information
josegar74 committed Apr 20, 2020
1 parent e06076a commit 973c3e1
Show file tree
Hide file tree
Showing 39 changed files with 133 additions and 133 deletions.
2 changes: 1 addition & 1 deletion add-schema.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ line=$(grep -n "schema-${schema}" web/pom.xml | cut -d: -f1)

if [ ! $line ]
then
line=$(grep -n 'schema-iso19139</artifactId>' web/pom.xml | cut -d: -f1)
line=$(grep -n 'gn-schema-iso19139</artifactId>' web/pom.xml | cut -d: -f1)
insertLine=$(($line + 2))

projectGroupId='${project.groupId}'
Expand Down
4 changes: 2 additions & 2 deletions cachingxslt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<!-- Module Description -->
<!-- =========================================================== -->
<groupId>org.geonetwork-opensource</groupId>
<artifactId>cachingxslt</artifactId>
<artifactId>gn-cachingxslt</artifactId>
<packaging>jar</packaging>
<name>Caching xslt module</name>
<description>
Expand All @@ -65,7 +65,7 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common</artifactId>
<artifactId>gn-common</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
<!-- =========================================================== -->
<!-- Module Description -->
<!-- =========================================================== -->
<artifactId>common</artifactId>
<artifactId>gn-common</artifactId>
<packaging>jar</packaging>
<name>common utils</name>
<name>GeoNetwork common utils</name>
<description>
Utility classes used by many or all geonetwork modules.
</description>
Expand Down
20 changes: 10 additions & 10 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>core</artifactId>
<artifactId>gn-core</artifactId>
<name>GeoNetwork core</name>

<dependencies>
Expand Down Expand Up @@ -303,14 +303,14 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>domain</artifactId>
<artifactId>gn-domain</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>events</artifactId>
<artifactId>gn-events</artifactId>
<version>${project.version}</version>
</dependency>

Expand Down Expand Up @@ -380,27 +380,27 @@
<!-- Generated dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>oaipmh</artifactId>
<artifactId>gn-oaipmh</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>domain</artifactId>
<artifactId>gn-domain</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cachingxslt</artifactId>
<artifactId>gn-cachingxslt</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>schema-iso19139</artifactId>
<artifactId>gn-schema-iso19139</artifactId>
<version>${gn.schemas.version}</version>
</dependency>
<dependency> <!-- dummy API for ARC SDE stuff -->
<groupId>${project.groupId}</groupId>
<artifactId>dummy-api</artifactId>
<artifactId>gn-dummy-api</artifactId>
<version>${project.version}</version>
</dependency>

Expand Down Expand Up @@ -475,8 +475,8 @@
<artifactId>jackson-datatype-hibernate4</artifactId>
</dependency>
<dependency>
<groupId>org.geonetwork-opensource</groupId>
<artifactId>index</artifactId>
<groupId>${project.groupId}</groupId>
<artifactId>gn-index</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
8 changes: 4 additions & 4 deletions csw-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,26 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>csw-server</artifactId>
<artifactId>gn-csw-server</artifactId>
<name>GeoNetwork CSW server</name>


<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>core</artifactId>
<artifactId>gn-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>domain</artifactId>
<artifactId>gn-domain</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>core</artifactId>
<artifactId>gn-core</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
Expand Down
2 changes: 1 addition & 1 deletion docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<version>3.11.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>docs</artifactId>
<artifactId>gn-docs</artifactId>
<name>Documentation module</name>
<packaging>pom</packaging>
<licenses>
Expand Down
6 changes: 3 additions & 3 deletions doi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>doi</artifactId>
<artifactId>gn-doi</artifactId>
<name>GeoNetwork Digital Object Identifier (DOI) client</name>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>core</artifactId>
<artifactId>gn-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common</artifactId>
<artifactId>gn-common</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions domain/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>domain</artifactId>
<artifactId>gn-domain</artifactId>
<name>GeoNetwork domain</name>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common</artifactId>
<artifactId>gn-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions es/es-dashboards/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
-->
<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">
<modelVersion>4.0.0</modelVersion>
<artifactId>es-dashboards</artifactId>
<artifactId>gn-es-dashboards</artifactId>
<name>GeoNetwork dashboard app based on Kibana</name>

<parent>
<artifactId>es</artifactId>
<artifactId>gn-es</artifactId>
<groupId>org.geonetwork-opensource</groupId>
<version>3.11.0-SNAPSHOT</version>
</parent>
Expand Down
2 changes: 1 addition & 1 deletion es/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<version>3.11.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>es</artifactId>
<artifactId>gn-es</artifactId>
<name>GeoNetwork index using Elasticsearch</name>
<packaging>pom</packaging>

Expand Down
4 changes: 2 additions & 2 deletions estest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>es-test</artifactId>
<artifactId>gn-es-test</artifactId>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>core</artifactId>
<artifactId>gn-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions events/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<name>GeoNetwork Events</name>
<packaging>jar</packaging>
<artifactId>events</artifactId>
<artifactId>gn-events</artifactId>
<description>Contains all types of events geoNetwork specific you can listen to.</description>
<url>http://geonetwork-opensource.org</url>
<dependencies>
Expand All @@ -43,7 +43,7 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>domain</artifactId>
<artifactId>gn-domain</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down
14 changes: 7 additions & 7 deletions harvesters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>harvesters</artifactId>
<artifactId>gn-harvesters</artifactId>
<name>GeoNetwork harvesters</name>

<dependencies>
<dependency>
<groupId>org.geonetwork-opensource</groupId>
<artifactId>core</artifactId>
<groupId>${project.groupId}</groupId>
<artifactId>gn-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.geonetwork-opensource</groupId>
<artifactId>csw-server</artifactId>
<groupId>${project.groupId}</groupId>
<artifactId>gn-csw-server</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand All @@ -64,14 +64,14 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>domain</artifactId>
<artifactId>gn-domain</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>core</artifactId>
<artifactId>gn-core</artifactId>
<version>${project.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
Expand Down
10 changes: 5 additions & 5 deletions healthmonitor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>health-monitor</artifactId>
<artifactId>gn-health-monitor</artifactId>
<name>GeoNetwork health monitor</name>

<dependencies>

<dependency>
<groupId>org.geonetwork-opensource</groupId>
<artifactId>core</artifactId>
<groupId>${project.groupId}</groupId>
<artifactId>gn-core</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>csw-server</artifactId>
<artifactId>gn-csw-server</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>harvesters</artifactId>
<artifactId>gn-harvesters</artifactId>
<version>${project.version}</version>
</dependency>

Expand Down
4 changes: 2 additions & 2 deletions index/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<version>3.11.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>index</artifactId>
<artifactId>gn-index</artifactId>
<name>Index module</name>
<dependencies>
<dependency>
Expand All @@ -21,7 +21,7 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common</artifactId>
<artifactId>gn-common</artifactId>
<version>${project.version}</version>
</dependency>
<!--<dependency>
Expand Down
8 changes: 4 additions & 4 deletions inspire-atom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,25 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>inspire-atom</artifactId>
<artifactId>gn-inspire-atom</artifactId>
<name>GeoNetwork INSPIRE Atom</name>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>core</artifactId>
<artifactId>gn-core</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>common</artifactId>
<artifactId>gn-common</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>services</artifactId>
<artifactId>gn-services</artifactId>
<version>${project.version}</version>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion integration-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>geonetwork-integration-test</groupId>
<artifactId>geonetwork-integration-test</artifactId>
<artifactId>gn-integration-test</artifactId>
<version>3..0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>geonetwork-integration-test</name>
Expand Down
4 changes: 2 additions & 2 deletions jmeter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<!-- =========================================================== -->
<!-- Module Description -->
<!-- =========================================================== -->
<artifactId>performance</artifactId>
<artifactId>gn-performance</artifactId>
<packaging>pom</packaging>
<name>Performance testing module</name>
<description>
Expand Down Expand Up @@ -150,7 +150,7 @@
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>geonetwork-main</artifactId>
<artifactId>gn-geonetwork-main</artifactId>
<version>${project.version}</version>
<type>war</type>
</artifactItem>
Expand Down
Loading

0 comments on commit 973c3e1

Please sign in to comment.