Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 46453ca

Browse files
author
Stefan Kock
committed
SORMAS-Foundation#3449: Clean superfluous scopes in serverlibs.pom, add explanations
Also alphabetical sorting by groupId
1 parent 882c9ab commit 46453ca

1 file changed

Lines changed: 33 additions & 39 deletions

File tree

sormas-base/dependencies/serverlibs.pom

Lines changed: 33 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,33 @@
1313
</parent>
1414

1515
<dependencies>
16+
17+
<!-- To collect these dependencies, they have to be on scope "provided" (usually defined in parent POM) -->
18+
1619
<dependency>
17-
<groupId>org.postgresql</groupId>
18-
<artifactId>postgresql</artifactId>
20+
<groupId>ch.qos.logback</groupId>
21+
<artifactId>logback-core</artifactId>
1922
<scope>provided</scope>
2023
</dependency>
24+
<dependency>
25+
<groupId>ch.qos.logback</groupId>
26+
<artifactId>logback-classic</artifactId>
27+
<scope>provided</scope>
28+
</dependency>
29+
30+
<dependency>
31+
<groupId>com.vaadin</groupId>
32+
<artifactId>vaadin-themes</artifactId>
33+
</dependency>
34+
35+
<dependency>
36+
<groupId>org.bouncycastle</groupId>
37+
<artifactId>bcpkix-jdk15on</artifactId>
38+
</dependency>
2139

2240
<dependency>
2341
<groupId>org.hibernate</groupId>
2442
<artifactId>hibernate-core</artifactId>
25-
<scope>provided</scope>
2643

2744
<exclusions>
2845
<!-- *** Excluded Payara modules -->
@@ -50,64 +67,41 @@
5067
</dependency>
5168

5269
<dependency>
53-
<groupId>org.slf4j</groupId>
54-
<artifactId>slf4j-api</artifactId>
55-
<scope>provided</scope>
70+
<groupId>org.jsoup</groupId>
71+
<artifactId>jsoup</artifactId>
5672
</dependency>
5773

5874
<dependency>
59-
<groupId>org.slf4j</groupId>
60-
<artifactId>jcl-over-slf4j</artifactId>
61-
<scope>provided</scope>
75+
<groupId>org.postgresql</groupId>
76+
<artifactId>postgresql</artifactId>
6277
</dependency>
6378

6479
<dependency>
6580
<groupId>org.slf4j</groupId>
66-
<artifactId>jul-to-slf4j</artifactId>
67-
<scope>provided</scope>
81+
<artifactId>slf4j-api</artifactId>
6882
</dependency>
69-
7083
<dependency>
71-
<groupId>ch.qos.logback</groupId>
72-
<artifactId>logback-core</artifactId>
73-
<scope>provided</scope>
84+
<groupId>org.slf4j</groupId>
85+
<artifactId>jcl-over-slf4j</artifactId>
7486
</dependency>
75-
7687
<dependency>
77-
<groupId>ch.qos.logback</groupId>
78-
<artifactId>logback-classic</artifactId>
79-
<scope>provided</scope>
88+
<groupId>org.slf4j</groupId>
89+
<artifactId>jul-to-slf4j</artifactId>
8090
</dependency>
8191

82-
<dependency>
83-
<groupId>com.vaadin</groupId>
84-
<artifactId>vaadin-themes</artifactId>
85-
<scope>provided</scope>
86-
</dependency>
92+
<!-- *** Exclude Payara modules *** (with explicite scope "runtime") -->
8793

8894
<dependency>
89-
<groupId>org.jsoup</groupId>
90-
<artifactId>jsoup</artifactId>
91-
<scope>provided</scope>
92-
</dependency>
93-
94-
<dependency>
95-
<groupId>org.bouncycastle</groupId>
96-
<artifactId>bcpkix-jdk15on</artifactId>
97-
<scope>provided</scope>
95+
<groupId>javax.activation</groupId>
96+
<artifactId>javax.activation-api</artifactId>
97+
<scope>runtime</scope>
9898
</dependency>
9999

100-
<!-- *** Excluded Payara modules -->
101100
<dependency>
102101
<groupId>org.jboss.logging</groupId>
103102
<artifactId>jboss-logging</artifactId>
104103
<scope>runtime</scope>
105104
</dependency>
106-
<dependency>
107-
<groupId>javax.activation</groupId>
108-
<artifactId>javax.activation-api</artifactId>
109-
<scope>runtime</scope>
110-
</dependency>
111105

112106
</dependencies>
113107

0 commit comments

Comments
 (0)