|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>com.baeldung</groupId> |
| 5 | + <artifactId>spring-security-core</artifactId> |
| 6 | + <version>0.1-SNAPSHOT</version> |
| 7 | + |
| 8 | + <name>spring-security-core</name> |
| 9 | + <packaging>war</packaging> |
| 10 | + |
| 11 | + <parent> |
| 12 | + <groupId>org.springframework.boot</groupId> |
| 13 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 14 | + <version>1.4.2.RELEASE</version> |
| 15 | + <relativePath /> |
| 16 | + </parent> |
| 17 | + |
| 18 | + <dependencies> |
| 19 | + <dependency> |
| 20 | + <groupId>org.springframework.boot</groupId> |
| 21 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 22 | + </dependency> |
| 23 | + <dependency> |
| 24 | + <groupId>org.springframework.boot</groupId> |
| 25 | + <artifactId>spring-boot-devtools</artifactId> |
| 26 | + </dependency> |
| 27 | + <dependency> |
| 28 | + <groupId>org.springframework.boot</groupId> |
| 29 | + <artifactId>spring-boot-starter-security</artifactId> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>org.springframework.boot</groupId> |
| 33 | + <artifactId>spring-boot-starter-thymeleaf</artifactId> |
| 34 | + </dependency> |
| 35 | + <dependency> |
| 36 | + <groupId>com.h2database</groupId> |
| 37 | + <artifactId>h2</artifactId> |
| 38 | + <scope>runtime</scope> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>org.springframework.boot</groupId> |
| 42 | + <artifactId>spring-boot-starter-test</artifactId> |
| 43 | + <scope>test</scope> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>org.springframework.security</groupId> |
| 47 | + <artifactId>spring-security-test</artifactId> |
| 48 | + </dependency> |
| 49 | + </dependencies> |
| 50 | + |
| 51 | + |
| 52 | + <build> |
| 53 | + <finalName>spring-security-core</finalName> |
| 54 | + <resources> |
| 55 | + <resource> |
| 56 | + <directory>src/main/resources</directory> |
| 57 | + <filtering>true</filtering> |
| 58 | + </resource> |
| 59 | + </resources> |
| 60 | + |
| 61 | + <plugins> |
| 62 | + |
| 63 | + <plugin> |
| 64 | + <groupId>org.apache.maven.plugins</groupId> |
| 65 | + <artifactId>maven-compiler-plugin</artifactId> |
| 66 | + <configuration> |
| 67 | + <source>1.8</source> |
| 68 | + <target>1.8</target> |
| 69 | + <debug>true</debug> |
| 70 | + <debuglevel>source</debuglevel> |
| 71 | + </configuration> |
| 72 | + </plugin> |
| 73 | + |
| 74 | + <plugin> |
| 75 | + <groupId>org.apache.maven.plugins</groupId> |
| 76 | + <artifactId>maven-war-plugin</artifactId> |
| 77 | + </plugin> |
| 78 | + |
| 79 | + <plugin> |
| 80 | + <groupId>org.apache.maven.plugins</groupId> |
| 81 | + <artifactId>maven-surefire-plugin</artifactId> |
| 82 | + <configuration> |
| 83 | + <excludes> |
| 84 | + <exclude>**/*LiveTest.java</exclude> |
| 85 | + <exclude>**/*ManualTest.java</exclude> |
| 86 | + </excludes> |
| 87 | + <systemPropertyVariables> |
| 88 | + <!-- <provPersistenceTarget>h2</provPersistenceTarget> --> |
| 89 | + </systemPropertyVariables> |
| 90 | + </configuration> |
| 91 | + </plugin> |
| 92 | + |
| 93 | + </plugins> |
| 94 | + |
| 95 | + </build> |
| 96 | + |
| 97 | + <profiles> |
| 98 | + <profile> |
| 99 | + <id>live</id> |
| 100 | + <build> |
| 101 | + <plugins> |
| 102 | + |
| 103 | + <plugin> |
| 104 | + <groupId>org.apache.maven.plugins</groupId> |
| 105 | + <artifactId>maven-surefire-plugin</artifactId> |
| 106 | + <executions> |
| 107 | + <execution> |
| 108 | + <phase>integration-test</phase> |
| 109 | + <goals> |
| 110 | + <goal>test</goal> |
| 111 | + </goals> |
| 112 | + <configuration> |
| 113 | + <excludes> |
| 114 | + <exclude>none</exclude> |
| 115 | + </excludes> |
| 116 | + <includes> |
| 117 | + <include>**/*LiveTest.java</include> |
| 118 | + </includes> |
| 119 | + <systemPropertyVariables> |
| 120 | + <webTarget>cargo</webTarget> |
| 121 | + </systemPropertyVariables> |
| 122 | + </configuration> |
| 123 | + </execution> |
| 124 | + </executions> |
| 125 | + </plugin> |
| 126 | + |
| 127 | + </plugins> |
| 128 | + </build> |
| 129 | + </profile> |
| 130 | + </profiles> |
| 131 | + <properties> |
| 132 | + <!-- Spring --> |
| 133 | + <org.springframework.version>4.3.4.RELEASE</org.springframework.version> |
| 134 | + <org.springframework.security.version>4.2.0.RELEASE</org.springframework.security.version> |
| 135 | + |
| 136 | + <!-- http --> |
| 137 | + <httpcore.version>4.4.5</httpcore.version> |
| 138 | + <httpclient.version>4.5.2</httpclient.version> |
| 139 | + |
| 140 | + <!-- logging --> |
| 141 | + <org.slf4j.version>1.7.21</org.slf4j.version> |
| 142 | + <logback.version>1.1.7</logback.version> <!-- do not upgrade - see http://jira.qos.ch/browse/LOGBACK-851 --> |
| 143 | + |
| 144 | + <!-- various --> |
| 145 | + <hibernate-validator.version>5.3.3.Final</hibernate-validator.version> |
| 146 | + <jstl.version>1.2</jstl.version> |
| 147 | + <javax.servlet.version>3.1.0</javax.servlet.version> |
| 148 | + <jackson.version>2.8.5</jackson.version> |
| 149 | + |
| 150 | + <!-- util --> |
| 151 | + <guava.version>19.0</guava.version> |
| 152 | + <commons-lang3.version>3.5</commons-lang3.version> |
| 153 | + |
| 154 | + <!-- testing --> |
| 155 | + <org.hamcrest.version>1.3</org.hamcrest.version> |
| 156 | + <junit.version>4.12</junit.version> |
| 157 | + <mockito.version>1.10.19</mockito.version> |
| 158 | + |
| 159 | + <rest-assured.version>2.9.0</rest-assured.version> |
| 160 | + |
| 161 | + <!-- Maven plugins --> |
| 162 | + <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version> |
| 163 | + <maven-war-plugin.version>2.6</maven-war-plugin.version> |
| 164 | + <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> |
| 165 | + <cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version> |
| 166 | + |
| 167 | + </properties> |
| 168 | +</project> |
0 commit comments