experimenting with release

This commit is contained in:
Katerina 2021-11-23 13:54:22 +02:00
parent dc5c321d3d
commit d0301edfe3
1 changed files with 87 additions and 80 deletions

167
pom.xml
View File

@ -1,88 +1,95 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>eu.dnetlib</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>dnet45-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>1.0.0</version> <version>2.5.4</version>
</parent> <relativePath/> <!-- lookup parent from repository -->
<groupId>eu.dnetlib</groupId> </parent>
<artifactId>dnet-explore-metrics</artifactId> <groupId>eu.dnetlib</groupId>
<version>0.0.2-SNAPSHOT</version> <artifactId>dnet-explore-metrics</artifactId>
<packaging>war</packaging> <version>0.0.2-SNAPSHOT</version>
<name>dnet-explore-metrics</name> <packaging>war</packaging>
<description>Project for exposing Explore metrics</description> <name>dnet-explore-metrics</name>
<properties> <description>Project for exposing Explore metrics</description>
<java.version>1.8</java.version> <properties>
</properties> <java.version>1.8</java.version>
</properties>
<dependencyManagement> <scm>
<dependencies> <developerConnection>scm:git:https://code-repo.d4science.org/katerina.iatropoulou/dnet-explore-metrics.git</developerConnection>
<dependency> <url>https://code-repo.d4science.org/katerina.iatropoulou/dnet-explore-metrics.git</url>
<groupId>org.springframework.boot</groupId> <tag>HEAD</tag>
<artifactId>spring-boot-dependencies</artifactId> </scm>
<version>2.5.4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies> <ciManagement>
<dependency> <system>jenkins</system>
<groupId>org.springframework.boot</groupId> <url>https://jenkins-dnet.d4science.org/job/dnet-explore-metrics/</url>
<artifactId>spring-boot-starter-web</artifactId> </ciManagement>
</dependency> <distributionManagement>
<dependency> <repository>
<groupId>org.springframework.boot</groupId> <id>dnet45-releases</id>
<artifactId>spring-boot-starter-actuator</artifactId> <name>D-Net 45 Releases</name>
</dependency> <url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases</url>
<dependency> <layout>default</layout>
<groupId>org.springframework.boot</groupId> </repository>
<artifactId>spring-boot-starter-tomcat</artifactId> </distributionManagement>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20210307</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20210307</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>