Created
February 25, 2020 17:38
-
-
Save thinkmicroservices/e386febfdddbe4c8837637d47e1bb181 to your computer and use it in GitHub Desktop.
content-service: pom.xml
This file contains hidden or 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
| <?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 http://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.1.7.RELEASE</version> | |
| <relativePath/> <!-- lookup parent from repository --> | |
| </parent> | |
| <groupId>com.thinkmicroservices.ri.spring.web</groupId> | |
| <artifactId>content-service</artifactId> | |
| <version>0.0.1-SNAPSHOT</version> | |
| <name>content-service</name> | |
| <description>A minimal static-content service</description> | |
| <packaging>jar</packaging> | |
| <properties> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
| <java.version>1.8</java.version> | |
| <docker.image.prefix>thinkmicroservices</docker.image.prefix> | |
| <docker.image.name>content-service</docker.image.name> | |
| </properties> | |
| <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.cloud</groupId> | |
| <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> | |
| </dependency> | |
| <!-- thymeleaf --> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-thymeleaf</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-data-mongodb</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.thymeleaf.extras</groupId> | |
| <artifactId>thymeleaf-extras-java8time</artifactId> | |
| <version>2.1.0.RELEASE</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.springfox</groupId> | |
| <artifactId>springfox-swagger2</artifactId> | |
| <version>2.7.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.springfox</groupId> | |
| <artifactId>springfox-swagger-ui</artifactId> | |
| <version>2.7.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.projectlombok</groupId> | |
| <artifactId>lombok</artifactId> | |
| <version>1.18.8</version> | |
| <type>jar</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>net.logstash.logback</groupId> | |
| <artifactId>logstash-logback-encoder</artifactId> | |
| <version>6.3</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-test</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| <dependencyManagement> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.springframework.cloud</groupId> | |
| <artifactId>spring-cloud-dependencies</artifactId> | |
| <version>Finchley.SR2</version> | |
| <type>pom</type> | |
| <scope>import</scope> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <build> | |
| <plugins> | |
| <!-- uber-jar-ify --> | |
| <plugin> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-maven-plugin</artifactId> | |
| <configuration> | |
| <mainClass>com.thinkmicroservices.ri.spring.web.ContentService</mainClass> | |
| <finalName>ContentService</finalName> | |
| <layout>ZIP</layout> | |
| </configuration> | |
| </plugin> | |
| <!-- dockerize! --> | |
| <plugin> | |
| <groupId>com.spotify</groupId> | |
| <artifactId>dockerfile-maven-plugin</artifactId> | |
| <version>1.4.9</version> | |
| <configuration> | |
| <repository>${docker.image.prefix}/${docker.image.name}</repository> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>unpack</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>unpack</goal> | |
| </goals> | |
| <configuration> | |
| <artifactItems> | |
| <artifactItem> | |
| <groupId>${project.groupId}</groupId> | |
| <artifactId>${project.artifactId}</artifactId> | |
| <version>${project.version}</version> | |
| </artifactItem> | |
| </artifactItems> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment