Skip to content

Commit 97c4890

Browse files
committed
Split dependencies between compile and runtime
1 parent 3a243d2 commit 97c4890

1 file changed

Lines changed: 28 additions & 10 deletions

File tree

pom.xml

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,24 @@
4343
<kubernetes.api.username>vagrant</kubernetes.api.username>
4444
<kubernetes.api.password>vagrant</kubernetes.api.password>
4545
<docker.image>busybox</docker.image>
46+
<resteasy.version>3.0.8.Final</resteasy.version>
4647
</properties>
4748

4849
<dependencies>
4950
<dependency>
5051
<groupId>org.jboss.resteasy</groupId>
51-
<artifactId>resteasy-client</artifactId>
52-
<version>3.0.8.Final</version>
52+
<artifactId>jaxrs-api</artifactId>
53+
<version>${resteasy.version}</version>
5354
</dependency>
54-
<dependency>
55-
<groupId>org.jboss.resteasy</groupId>
56-
<artifactId>resteasy-jaxrs</artifactId>
57-
<version>3.0.8.Final</version>
55+
<dependency>
56+
<groupId>org.codehaus.jackson</groupId>
57+
<artifactId>jackson-core-asl</artifactId>
58+
<version>1.9.12</version>
5859
</dependency>
5960
<dependency>
60-
<groupId>org.jboss.resteasy</groupId>
61-
<artifactId>resteasy-jaxb-provider</artifactId>
62-
<version>3.0.8.Final</version>
61+
<groupId>commons-logging</groupId>
62+
<artifactId>commons-logging</artifactId>
63+
<version>1.2</version>
6364
</dependency>
6465
<dependency>
6566
<groupId>org.apache.commons</groupId>
@@ -72,11 +73,28 @@
7273
<version>18.0</version>
7374
</dependency>
7475

76+
<!-- these should be runtime, to avoid using non standard api -->
77+
<dependency>
78+
<groupId>org.jboss.resteasy</groupId>
79+
<artifactId>resteasy-client</artifactId>
80+
<version>${resteasy.version}</version>
81+
</dependency>
82+
<dependency>
83+
<groupId>org.jboss.resteasy</groupId>
84+
<artifactId>resteasy-jaxrs</artifactId>
85+
<version>${resteasy.version}</version>
86+
</dependency>
87+
<dependency>
88+
<groupId>org.jboss.resteasy</groupId>
89+
<artifactId>resteasy-jaxb-provider</artifactId>
90+
<version>${resteasy.version}</version>
91+
</dependency>
7592
<dependency>
7693
<groupId>org.jboss.resteasy</groupId>
7794
<artifactId>resteasy-jackson-provider</artifactId>
78-
<version>3.0.8.Final</version>
95+
<version>${resteasy.version}</version>
7996
</dependency>
97+
8098
<dependency>
8199
<groupId>junit</groupId>
82100
<artifactId>junit</artifactId>

0 commit comments

Comments
 (0)