Skip to content

Commit

Permalink
Use a prefix for maven artifacts build in the project #3722
Browse files Browse the repository at this point in the history
  • Loading branch information
josegar74 committed Dec 13, 2019
1 parent 97bcf53 commit 86aefcf
Show file tree
Hide file tree
Showing 35 changed files with 114 additions and 114 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,7 +38,7 @@
<!-- =========================================================== -->
<!-- Module Description -->
<!-- =========================================================== -->
<artifactId>common</artifactId>
<artifactId>gn-common</artifactId>
<packaging>jar</packaging>
<name>common utils</name>
<description>
Expand Down Expand Up @@ -147,7 +147,7 @@
<artifactId>xom</artifactId>
</dependency>
</dependencies>

<build>
<resources>
<resource>
Expand Down
18 changes: 9 additions & 9 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 @@ -332,14 +332,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 @@ -409,27 +409,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 @@ -505,7 +505,7 @@
</dependency>
<dependency>
<groupId>org.geonetwork-opensource</groupId>
<artifactId>es-core</artifactId>
<artifactId>gn-es-core</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
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
6 changes: 3 additions & 3 deletions es/es-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
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">
<parent>
<artifactId>es</artifactId>
<artifactId>gn-es</artifactId>
<groupId>org.geonetwork-opensource</groupId>
<version>3.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>es-core</artifactId>
<artifactId>gn-es-core</artifactId>
<name>GeoNetwork index Elasticsearch client</name>

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

Expand Down
2 changes: 1 addition & 1 deletion es/es-dashboards/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<name>GeoNetwork dashboard app based on Kibana</name>

<parent>
<artifactId>es</artifactId>
<artifactId>gn-es</artifactId>
<groupId>org.geonetwork-opensource</groupId>
<version>3.9.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.9.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 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
10 changes: 5 additions & 5 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>
<artifactId>gn-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.geonetwork-opensource</groupId>
<artifactId>csw-server</artifactId>
<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
8 changes: 4 additions & 4 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>
<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
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 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
4 changes: 2 additions & 2 deletions listeners/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@

<name>GeoNetwork Events</name>
<packaging>jar</packaging>
<artifactId>listeners</artifactId>
<artifactId>gn-listeners</artifactId>
<description>Contains all listeners from events.</description>
<url>http://geonetwork-opensource.org</url>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>core</artifactId>
<artifactId>gn-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion messaging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>messaging</artifactId>
<artifactId>gn-messaging</artifactId>

<dependencies>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions oaipmh/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<!-- =========================================================== -->
<!-- Module Description -->
<!-- =========================================================== -->
<artifactId>oaipmh</artifactId>
<artifactId>gn-oaipmh</artifactId>
<packaging>jar</packaging>
<name>Oaipmh modules</name>
<description>
Expand All @@ -60,7 +60,7 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>domain</artifactId>
<artifactId>gn-domain</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion release/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<version>3.9.0-SNAPSHOT</version>
</parent>

<artifactId>release</artifactId>
<artifactId>gn-release</artifactId>
<packaging>jar</packaging>
<name>Release module</name>
<description>Use to create distribution packages.</description>
Expand Down
Loading

0 comments on commit 86aefcf

Please sign in to comment.