Skip to content

Commit 64f9c8c

Browse files
committed
clean up pom
1 parent fc71b56 commit 64f9c8c

File tree

5 files changed

+32
-35
lines changed
  • angularjs
    • spring-security-oauth-ui-implicit
    • spring-security-oauth-ui-password
  • oauth-authorization-server
  • oauth-resource-server-1
  • oauth-resource-server-2

5 files changed

+32
-35
lines changed

angularjs/spring-security-oauth-ui-implicit/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,19 @@
2828
<dependency>
2929
<groupId>junit</groupId>
3030
<artifactId>junit</artifactId>
31+
<scope>test</scope>
3132
</dependency>
3233

3334
<dependency>
3435
<groupId>org.springframework</groupId>
3536
<artifactId>spring-test</artifactId>
37+
<scope>test</scope>
3638
</dependency>
3739

3840
<dependency>
3941
<groupId>org.springframework.boot</groupId>
4042
<artifactId>spring-boot-starter-test</artifactId>
43+
<scope>test</scope>
4144
</dependency>
4245

4346
</dependencies>

angularjs/spring-security-oauth-ui-password/pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,17 @@
3030
<version>${zuul.version}</version>
3131
</dependency>
3232

33+
<dependency>
34+
<groupId>commons-io</groupId>
35+
<artifactId>commons-io</artifactId>
36+
<version>${commons-io.version}</version>
37+
</dependency>
3338

3439
<!-- test -->
3540
<dependency>
3641
<groupId>org.springframework.boot</groupId>
3742
<artifactId>spring-boot-starter-test</artifactId>
43+
<scope>test</scope>
3844
</dependency>
3945

4046
<dependency>
@@ -65,12 +71,6 @@
6571
<artifactId>rest-assured</artifactId>
6672
<scope>test</scope>
6773
</dependency>
68-
69-
<dependency>
70-
<groupId>commons-io</groupId>
71-
<artifactId>commons-io</artifactId>
72-
<version>${commons-io.version}</version>
73-
</dependency>
7474

7575
</dependencies>
7676

oauth-authorization-server/pom.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,25 @@
5858
<groupId>org.apache.commons</groupId>
5959
<artifactId>commons-lang3</artifactId>
6060
</dependency>
61+
62+
<dependency>
63+
<groupId>com.fasterxml.jackson.datatype</groupId>
64+
<artifactId>jackson-datatype-jdk8</artifactId>
65+
</dependency>
6166

6267
<!-- test -->
6368
<dependency>
6469
<groupId>junit</groupId>
6570
<artifactId>junit</artifactId>
71+
<scope>test</scope>
6672
</dependency>
6773

6874
<dependency>
6975
<groupId>org.springframework.boot</groupId>
7076
<artifactId>spring-boot-starter-test</artifactId>
77+
<scope>test</scope>
7178
</dependency>
79+
7280
<dependency>
7381
<groupId>org.springframework.security</groupId>
7482
<artifactId>spring-security-test</artifactId>
@@ -81,11 +89,6 @@
8189
<scope>test</scope>
8290
</dependency>
8391

84-
<dependency>
85-
<groupId>com.fasterxml.jackson.datatype</groupId>
86-
<artifactId>jackson-datatype-jdk8</artifactId>
87-
</dependency>
88-
8992
</dependencies>
9093

9194
<build>

oauth-resource-server-1/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,19 @@
6868
<dependency>
6969
<groupId>junit</groupId>
7070
<artifactId>junit</artifactId>
71+
<scope>test</scope>
7172
</dependency>
7273

7374
<dependency>
7475
<groupId>org.springframework</groupId>
7576
<artifactId>spring-test</artifactId>
77+
<scope>test</scope>
7678
</dependency>
7779

7880
<dependency>
7981
<groupId>org.springframework.boot</groupId>
8082
<artifactId>spring-boot-starter-test</artifactId>
83+
<scope>test</scope>
8184
</dependency>
8285

8386
<dependency>

oauth-resource-server-2/pom.xml

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<oauth.version>2.2.1.RELEASE</oauth.version>
1818
<jwt.version>1.0.9.RELEASE</jwt.version>
1919
<commons-io.version>2.6</commons-io.version>
20-
<rest-assured.version>3.0.6</rest-assured.version>
2120
</properties>
2221

2322
<dependencies>
@@ -42,21 +41,7 @@
4241
<groupId>org.springframework.security</groupId>
4342
<artifactId>spring-security-jwt</artifactId>
4443
<version>${jwt.version}</version>
45-
</dependency>
46-
47-
<!-- spring security 5 -->
48-
<dependency>
49-
<groupId>org.springframework.security</groupId>
50-
<artifactId>spring-security-core</artifactId>
51-
</dependency>
52-
<dependency>
53-
<groupId>org.springframework.security</groupId>
54-
<artifactId>spring-security-web</artifactId>
55-
</dependency>
56-
<dependency>
57-
<groupId>org.springframework.security</groupId>
58-
<artifactId>spring-security-config</artifactId>
59-
</dependency>
44+
</dependency>
6045

6146
<!-- swagger-->
6247
<dependency>
@@ -75,34 +60,37 @@
7560
<groupId>org.apache.commons</groupId>
7661
<artifactId>commons-lang3</artifactId>
7762
</dependency>
78-
63+
64+
<dependency>
65+
<groupId>commons-io</groupId>
66+
<artifactId>commons-io</artifactId>
67+
<version>${commons-io.version}</version>
68+
</dependency>
69+
7970
<!-- test -->
8071

8172
<dependency>
8273
<groupId>junit</groupId>
8374
<artifactId>junit</artifactId>
75+
<scope>test</scope>
8476
</dependency>
8577

8678
<dependency>
8779
<groupId>org.springframework</groupId>
8880
<artifactId>spring-test</artifactId>
81+
<scope>test</scope>
8982
</dependency>
9083

9184
<dependency>
9285
<groupId>org.springframework.boot</groupId>
9386
<artifactId>spring-boot-starter-test</artifactId>
94-
</dependency>
95-
96-
<dependency>
97-
<groupId>commons-io</groupId>
98-
<artifactId>commons-io</artifactId>
99-
<version>${commons-io.version}</version>
87+
<scope>test</scope>
10088
</dependency>
10189

10290
<dependency>
10391
<groupId>io.rest-assured</groupId>
10492
<artifactId>rest-assured</artifactId>
105-
<version>${rest-assured.version}</version>
93+
<scope>test</scope>
10694
</dependency>
10795

10896
</dependencies>

0 commit comments

Comments
 (0)