■ ■ ■ ■ ■ ■
spring-cloud-v1-vuln/pom.xml
| 1 | + | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | + | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + | <modelVersion>4.0.0</modelVersion> |
| 5 | + | |
| 6 | + | <groupId>com.contrast</groupId> |
| 7 | + | <artifactId>spring-cloud-1-vuln</artifactId> |
| 8 | + | <version>0.0.1-SNAPSHOT</version> |
| 9 | + | <packaging>jar</packaging> |
| 10 | + | |
| 11 | + | <name>Spring boot application example</name> |
| 12 | + | <description>Test project</description> |
| 13 | + | |
| 14 | + | <parent> |
| 15 | + | <groupId>org.springframework.boot</groupId> |
| 16 | + | <artifactId>spring-boot-starter-parent</artifactId> |
| 17 | + | <version>1.5.11.RELEASE</version> |
| 18 | + | <relativePath/> <!-- lookup parent from repository --> |
| 19 | + | </parent> |
| 20 | + | |
| 21 | + | <properties> |
| 22 | + | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 23 | + | <java.version>1.8</java.version> |
| 24 | + | <!-- dependency versions --> |
| 25 | + | <com.google.guava.guava.version>21.0</com.google.guava.guava.version> |
| 26 | + | <io.springfox.springfox-swagger2>2.3.1</io.springfox.springfox-swagger2> |
| 27 | + | <io.springfox.springfox-swagger-ui>2.3.1</io.springfox.springfox-swagger-ui> |
| 28 | + | </properties> |
| 29 | + | <dependencyManagement> |
| 30 | + | <dependencies> |
| 31 | + | <dependency> |
| 32 | + | <groupId>org.springframework.cloud</groupId> |
| 33 | + | <artifactId>spring-cloud-dependencies</artifactId> |
| 34 | + | <version>Edgware.SR6</version> |
| 35 | + | <type>pom</type> |
| 36 | + | <scope>import</scope> |
| 37 | + | </dependency> |
| 38 | + | </dependencies> |
| 39 | + | </dependencyManagement> |
| 40 | + | |
| 41 | + | <dependencies> |
| 42 | + | <!-- For default Spring Boot utilities --> |
| 43 | + | <dependency> |
| 44 | + | <groupId>org.springframework.boot</groupId> |
| 45 | + | <artifactId>spring-boot-starter</artifactId> |
| 46 | + | </dependency> |
| 47 | + | |
| 48 | + | <!-- For testing possibility --> |
| 49 | + | <dependency> |
| 50 | + | <groupId>org.springframework.boot</groupId> |
| 51 | + | <artifactId>spring-boot-starter-test</artifactId> |
| 52 | + | <scope>test</scope> |
| 53 | + | </dependency> |
| 54 | + | |
| 55 | + | <!-- For all mvc and web functions --> |
| 56 | + | <dependency> |
| 57 | + | <groupId>org.springframework.boot</groupId> |
| 58 | + | <artifactId>spring-boot-starter-web</artifactId> |
| 59 | + | </dependency> |
| 60 | + | |
| 61 | + | <!-- Default persistence functions --> |
| 62 | + | <dependency> |
| 63 | + | <groupId>org.springframework.boot</groupId> |
| 64 | + | <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 65 | + | </dependency> |
| 66 | + | |
| 67 | + | <dependency> |
| 68 | + | <groupId>org.springframework.boot</groupId> |
| 69 | + | <artifactId>spring-boot-starter-actuator</artifactId> |
| 70 | + | </dependency> |
| 71 | + | |
| 72 | + | |
| 73 | + | <!-- In-Memory DB --> |
| 74 | + | <dependency> |
| 75 | + | <groupId>com.h2database</groupId> |
| 76 | + | <artifactId>h2</artifactId> |
| 77 | + | <scope>runtime</scope> |
| 78 | + | </dependency> |
| 79 | + | |
| 80 | + | <!-- Java Utilities from google --> |
| 81 | + | <dependency> |
| 82 | + | <groupId>com.google.guava</groupId> |
| 83 | + | <artifactId>guava</artifactId> |
| 84 | + | <version>${com.google.guava.guava.version}</version> |
| 85 | + | </dependency> |
| 86 | + | |
| 87 | + | <!-- Include swagger for API description --> |
| 88 | + | <dependency> |
| 89 | + | <groupId>io.springfox</groupId> |
| 90 | + | <artifactId>springfox-swagger2</artifactId> |
| 91 | + | <version>${io.springfox.springfox-swagger2}</version> |
| 92 | + | </dependency> |
| 93 | + | |
| 94 | + | <!-- Include swagger for API description UI --> |
| 95 | + | <dependency> |
| 96 | + | <groupId>io.springfox</groupId> |
| 97 | + | <artifactId>springfox-swagger-ui</artifactId> |
| 98 | + | <version>${io.springfox.springfox-swagger-ui}</version> |
| 99 | + | </dependency> |
| 100 | + | |
| 101 | + | <!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-config --> |
| 102 | + | <dependency> |
| 103 | + | <groupId>org.springframework.cloud</groupId> |
| 104 | + | <artifactId>spring-cloud-starter-config</artifactId> |
| 105 | + | <version>1.4.4.RELEASE</version> |
| 106 | + | </dependency> |
| 107 | + | |
| 108 | + | </dependencies> |
| 109 | + | |
| 110 | + | <build> |
| 111 | + | <plugins> |
| 112 | + | <plugin> |
| 113 | + | <groupId>org.springframework.boot</groupId> |
| 114 | + | <artifactId>spring-boot-maven-plugin</artifactId> |
| 115 | + | </plugin> |
| 116 | + | </plugins> |
| 117 | + | </build> |
| 118 | + | |
| 119 | + | </project> |