Created
March 25, 2020 01:54
-
-
Save thinkmicroservices/e3514112017c5477664bb676c0eebad7 to your computer and use it in GitHub Desktop.
AccountProfileService: 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</groupId> | |
| <artifactId>profile-service</artifactId> | |
| <version>0.0.1-SNAPSHOT</version> | |
| <name>account-profile-service</name> | |
| <description>Provides account profile services</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>account-profile-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> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-amqp</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.cloud</groupId> | |
| <artifactId>spring-cloud-stream</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.cloud</groupId> | |
| <artifactId>spring-cloud-config-client</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.cloud</groupId> | |
| <artifactId>spring-cloud-stream-binder-rabbit</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-data-mongodb</artifactId> | |
| </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> | |
| <!-- used for decoding the JWT --> | |
| <dependency> | |
| <groupId>io.jsonwebtoken</groupId> | |
| <artifactId>jjwt</artifactId> | |
| <version>0.9.1</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> | |
| <dependency> | |
| <groupId>org.springframework.cloud</groupId> | |
| <artifactId>spring-cloud-stream-test-support</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.account.profile.ProfileApplication</mainClass> | |
| <finalName>ProfileService</finalName> | |
| <layout>ZIP</layout> | |
| </configuration> | |
| </plugin> | |
| <!-- dockerize! --> | |
| <plugin> | |
| <groupId>com.spotify</groupId> | |
| <artifactId>dockerfile-maven-plugin</artifactId> | |
| <version>1.4.9</version> | |
| <configuration> | |
| <dockerDirectory>docker</dockerDirectory> | |
| <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