Last active
March 12, 2020 20:48
-
-
Save thinkmicroservices/adf603c2d973bf9853ac71ade2b2212c to your computer and use it in GitHub Desktop.
NotificationService: maven 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 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.1.8.RELEASE</version> | |
| <relativePath/> <!-- lookup parent from repository --> | |
| </parent> | |
| <groupId>com.thinkmicroservices.ri.spring.notification</groupId> | |
| <artifactId>notification-service</artifactId> | |
| <version>0.0.1-SNAPSHOT</version> | |
| <name>notification-service</name> | |
| <description>Demo project for Spring Boot</description> | |
| <properties> | |
| <java.version>1.8</java.version> | |
| <spring-cloud.version>Greenwich.SR2</spring-cloud.version> | |
| <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>notification-service</docker.image.name> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-web</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.cloud</groupId> | |
| <artifactId>spring-cloud-starter</artifactId> | |
| <version>2.1.0.RELEASE</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.cloud</groupId> | |
| <artifactId>spring-cloud-config-client</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> | |
| <!-- provide support for account history event messaging --> | |
| <dependency> | |
| <groupId>org.springframework.cloud</groupId> | |
| <artifactId>spring-cloud-starter-stream-rabbit</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.jsonwebtoken</groupId> | |
| <artifactId>jjwt</artifactId> | |
| <version>0.9.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.springfox</groupId> | |
| <artifactId>springfox-swagger2</artifactId> | |
| <version>2.9.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.springfox</groupId> | |
| <artifactId>springfox-swagger-ui</artifactId> | |
| <version>2.9.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.springfox</groupId> | |
| <artifactId>springfox-bean-validators</artifactId> | |
| <version>2.9.2</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>${spring-cloud.version}</version> | |
| <type>pom</type> | |
| <scope>import</scope> | |
| </dependency> | |
| </dependencies> | |
| </dependencyManagement> | |
| <repositories> | |
| <repository> | |
| <id>spring-milestones</id> | |
| <name>Spring Milestones</name> | |
| <url>https://repo.spring.io/milestone</url> | |
| </repository> | |
| </repositories> | |
| <build> | |
| <plugins> | |
| <!-- uber-jar-ify --> | |
| <plugin> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-maven-plugin</artifactId> | |
| <configuration> | |
| <mainClass>com.thinkmicroservices.ri.spring.notification.NotificationApplication</mainClass> | |
| <finalName>NotificationService</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