Files
ec-config-server/pom.xml

93 lines
3.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>sydney.cheng</groupId>
<artifactId>ec-super-pom</artifactId>
<version>1.0.4</version>
</parent>
<artifactId>ec-config-server</artifactId>
<version>1.0.7-SNAPSHOT</version>
<licenses>
<license>
<name>MIT License</name>
<url>https://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>
<developers>
<developer>
<name>Edward Cheng</name>
<email>edward@cheng.sydney</email>
<organization>cheng.sydney</organization>
<organizationUrl>https://3dwardch3ng.github.io/</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/3dwardch3ng/ec-config-server.git</connection>
<developerConnection>scm:git:ssh://github.com:3dwardch3ng/ec-config-server.git</developerConnection>
<url>https://github.com/3dwardch3ng/ec-config-server/tree/main</url>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/3dwardch3ng/ec-config-server/issues</url>
</issueManagement>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<start-class>sydney.cheng.microservice.Application</start-class>
<!-- Sonar Properties -->
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.jacoco.xmlReportPath>${project.basedir}/../target/site/jacoco/jacoco.xml</sonar.jacoco.xmlReportPath>
<sonar.language>java</sonar.language>
<sonar.coverage.exclusions>**/config/*</sonar.coverage.exclusions>
<sonar.organization>3dwardch3ng</sonar.organization>
<sonar.host.url>https://sonarqube.cluster.edward.sydney</sonar.host.url>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-server</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>${start-class}</mainClass>
<layout>JAR</layout>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>