-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9703916
commit a517a89
Showing
2 changed files
with
136 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,147 @@ | ||
<?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" | ||
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> | ||
<parent> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-parent</artifactId> | ||
<version>2.3.1.RELEASE</version> | ||
<relativePath/> <!-- lookup parent from repository --> | ||
</parent> | ||
<groupId>com.cx.java.example</groupId> | ||
<artifactId>springboot-sample-app</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<packaging>war</packaging> | ||
<name>springboot-sample-app</name> | ||
<description>Demo project for Spring Boot</description> | ||
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> | ||
<parent> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-parent</artifactId> | ||
<version>2.3.1.RELEASE</version> | ||
<relativePath/> <!-- lookup parent from repository --> | ||
</parent> | ||
<groupId>com.cx.java.example</groupId> | ||
<artifactId>springboot-sample-app</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<packaging>war</packaging> | ||
<name>springboot-sample-app</name> | ||
<description>Demo project for Spring Boot</description> | ||
|
||
<properties> | ||
<java.version>11</java.version> | ||
</properties> | ||
<properties> | ||
<java.version>11</java.version> | ||
</properties> | ||
|
||
<scm> | ||
<url>https://maven.pkg.github.com/Continuous-X/springboot-sample-app/</url> | ||
</scm> | ||
<scm> | ||
<url>https://maven.pkg.github.com/Continuous-X/springboot-sample-app/</url> | ||
</scm> | ||
|
||
<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> | ||
<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>io.micrometer</groupId> | ||
<artifactId>micrometer-registry-influx</artifactId> | ||
<scope>runtime</scope> | ||
</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> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>org.junit.vintage</groupId> | ||
<artifactId>junit-vintage-engine</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework.security</groupId> | ||
<artifactId>spring-security-test</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
<dependency> | ||
<groupId>io.micrometer</groupId> | ||
<artifactId>micrometer-registry-influx</artifactId> | ||
<scope>runtime</scope> | ||
</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> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>org.junit.vintage</groupId> | ||
<artifactId>junit-vintage-engine</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework.security</groupId> | ||
<artifactId>spring-security-test</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-maven-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-maven-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<distributionManagement> | ||
<repository> | ||
<id>github-cx</id> | ||
<uniqueVersion>false</uniqueVersion> | ||
<name>GitHub Continuous-X Apache Maven Packages</name> | ||
<url>https://maven.pkg.github.com/Continuous-X/springboot-sample-app/</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>github-cx</id> | ||
<name>GitHub Continuous-X Apache Maven Packages</name> | ||
<url>https://maven.pkg.github.com/Continuous-X/springboot-sample-app/</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
<distributionManagement> | ||
<repository> | ||
<id>github-cx</id> | ||
<uniqueVersion>false</uniqueVersion> | ||
<name>GitHub Continuous-X Apache Maven Packages</name> | ||
<url>https://maven.pkg.github.com/Continuous-X/springboot-sample-app/</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>github-cx</id> | ||
<name>GitHub Continuous-X Apache Maven Packages</name> | ||
<url>https://maven.pkg.github.com/Continuous-X/springboot-sample-app/</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
|
||
<repositories> | ||
<repository> | ||
<id>github-cx</id> | ||
<url>https://maven.pkg.github.com/Continuous-X/springboot-sample-app/</url> | ||
</repository> | ||
</repositories> | ||
<repositories> | ||
<repository> | ||
<id>github-cx</id> | ||
<url>https://maven.pkg.github.com/Continuous-X/springboot-sample-app/</url> | ||
</repository> | ||
</repositories> | ||
|
||
<profiles> | ||
<profile> | ||
<id>local-dev</id> | ||
<activation> | ||
<!-- | ||
<activeByDefault>false</activeByDefault> | ||
--> | ||
<os> | ||
<family>Windows</family> | ||
</os> | ||
</activation> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.gmavenplus</groupId> | ||
<artifactId>gmavenplus-plugin</artifactId> | ||
<version>1.9.0</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>addSources</goal> | ||
<goal>compile</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<targetBytecode>1.8</targetBytecode> | ||
<sources> | ||
<source> | ||
<directory>${project.basedir}</directory> | ||
<includes> | ||
<include>Jenkinsfile</include> | ||
</includes> | ||
</source> | ||
</sources> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.cx.jenkins.sharedlib</groupId> | ||
<artifactId>jenkins-cx-shared-lib</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
</profiles> | ||
|
||
</project> |