-
Notifications
You must be signed in to change notification settings - Fork 2k
/
pom.xml
200 lines (178 loc) · 5.97 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<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>
<groupId>com.baeldung</groupId>
<artifactId>spring-security-oauth</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>spring-security-oauth</name>
<packaging>pom</packaging>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.17.RELEASE</version>
<relativePath></relativePath>
</parent>
<build>
<finalName>spring-security-oauth</finalName>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
<excludes>
<exclude>**/*IntegrationTest.java</exclude>
<exclude>**/*LiveTest.java</exclude>
<exclude>**/*MvcTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<properties>
<oauth.version>2.3.5.RELEASE</oauth.version>
<jwt.version>1.0.10.RELEASE</jwt.version>
<swagger.version>2.9.2</swagger.version>
<netflix-zuul.version>2.1.1.RELEASE</netflix-zuul.version>
<oauth-autoconfig.version>2.1.3.RELEASE</oauth-autoconfig.version>
<!-- util -->
<commons-io.version>2.6</commons-io.version>
<!-- Maven plugins -->
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
<maven-war-plugin.version>3.2.2</maven-war-plugin.version>
</properties>
<modules>
<module>oauth-legacy/oauth-resource-server-legacy-2</module>
<module>oauth-legacy/oauth-resource-server-legacy-1</module>
<module>oauth-rest/oauth-resource-server</module>
<module>oauth-jwt/jwt-resource-server</module>
<module>oauth-sso/sso-resource-server</module>
<module>oauth-resource-server/resource-server-jwt</module>
<module>oauth-resource-server/resource-server-opaque</module>
<module>oauth-authorization-server/resource-server</module>
<module>oauth-legacy/oauth-ui-implicit-angularjs-legacy</module>
<module>oauth-legacy/oauth-ui-password-angularjs-legacy</module>
<module>clients-SPA-legacy/clients-js-only-react-legacy</module>
<module>clients-SPA-legacy/oauth-resource-server-auth0-legacy</module>
<module>oauth-rest/oauth-authorization-server</module>
<module>oauth-legacy/oauth-authorization-server-legacy</module>
<module>oauth-jwt/jwt-auth-server</module>
<module>oauth-sso/sso-authorization-server</module>
<module>oauth-legacy/oauth-zuul-gateway</module>
<module>oauth-legacy/oauth-microservices</module>
<module>oauth-resource-server/authorization-server</module>
<module>oauth-authorization-server/spring-authorization-server</module>
<module>oauth-jws-jwk-legacy\oauth-authorization-server-jws-jwk-legacy</module>
<module>oauth-jws-jwk-legacy\oauth-resource-server-jws-jwk-legacy</module>
<module>oauth-sso/sso-client-app-1</module>
<module>oauth-sso/sso-client-app-2</module>
<module>oauth-authorization-server/client-server</module>
<!-- commented out because these don't build on Jenkins -->
<!-- <module>oauth-legacy/oauth-ui-implicit-angular</module> <module>oauth-legacy/oauth-ui-password-angular</module> -->
</modules>
<profiles>
<profile>
<id>integration</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<excludes>
<exclude>**/*LiveTest.java</exclude>
</excludes>
<includes>
<include>**/*IntegrationTest.java</include>
</includes>
</configuration>
</execution>
</executions>
<configuration>
<systemPropertyVariables>
<test.mime>json</test.mime>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>live</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<executions>
<execution>
<id>start-server</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>stop-server</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<excludes>
<exclude>none</exclude>
</excludes>
<includes>
<include>**/*LiveTest.java</include>
</includes>
<systemPropertyVariables>
<webTarget>cargo</webTarget>
</systemPropertyVariables>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>