Skip to content

Commit faa8366

Browse files
committed
[MAINTENANCE] Extract dependency versions to properties - web
1 parent ca338fd commit faa8366

File tree

2 files changed

+28
-14
lines changed

2 files changed

+28
-14
lines changed

web/web-itests/pom.xml

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,34 @@
4141
</scm>
4242

4343
<properties>
44+
<asm.version>5.0.3</asm.version>
45+
<depends-maven-plugin.version>1.2</depends-maven-plugin.version>
4446
<exam.version>3.4.0</exam.version>
45-
<url.version>2.5.3</url.version>
4647
<logback.version>1.5.16</logback.version>
48+
<org.apache.aries.blueprint.sample.version>1.0.0</org.apache.aries.blueprint.sample.version>
49+
<org.apache.aries.blueprint.version>1.0.0</org.apache.aries.blueprint.version>
50+
<org.apache.aries.proxy.version>1.0.1</org.apache.aries.proxy.version>
51+
<org.apache.aries.testsupport.unit.version>2.0.0-SNAPSHOT</org.apache.aries.testsupport.unit.version>
52+
<org.apache.aries.util.version>1.0.0</org.apache.aries.util.version>
53+
<org.apache.aries.web.urlhandler.version>1.0.1-SNAPSHOT</org.apache.aries.web.urlhandler.version>
54+
<org.apache.felix.configadmin.version>1.2.4</org.apache.felix.configadmin.version>
55+
<org.eclipse.osgi.version>3.8.0.v20120529-1548</org.eclipse.osgi.version>
56+
<slf4j-api.version>1.7.7</slf4j-api.version>
57+
<tinybundles.version>2.0.0</tinybundles.version>
58+
<url.version>2.5.3</url.version>
4759
</properties>
4860

4961
<dependencies>
5062
<dependency>
5163
<groupId>org.ow2.asm</groupId>
5264
<artifactId>asm-debug-all</artifactId>
53-
<version>5.0.3</version>
65+
<version>${asm.version}</version>
5466
</dependency>
5567
<dependency>
5668
<groupId>org.apache.aries.testsupport</groupId>
5769
<artifactId>org.apache.aries.testsupport.unit</artifactId>
5870
<scope>test</scope>
59-
<version>2.0.0-SNAPSHOT</version>
71+
<version>${org.apache.aries.testsupport.unit.version}</version>
6072
</dependency>
6173
<dependency>
6274
<groupId>org.osgi</groupId>
@@ -67,12 +79,12 @@
6779
<groupId>org.apache.aries.blueprint</groupId>
6880
<artifactId>org.apache.aries.blueprint.sample</artifactId>
6981
<scope>test</scope>
70-
<version>1.0.0</version>
82+
<version>${org.apache.aries.blueprint.sample.version}</version>
7183
</dependency>
7284
<dependency>
7385
<groupId>org.apache.felix</groupId>
7486
<artifactId>org.apache.felix.configadmin</artifactId>
75-
<version>1.2.4</version>
87+
<version>${org.apache.felix.configadmin.version}</version>
7688
<exclusions>
7789
<exclusion>
7890
<groupId>org.apache.felix</groupId>
@@ -89,26 +101,26 @@
89101
<groupId>org.apache.aries</groupId>
90102
<artifactId>org.apache.aries.util</artifactId>
91103
<scope>test</scope>
92-
<version>1.0.0</version>
104+
<version>${org.apache.aries.util.version}</version>
93105
</dependency>
94106
<dependency>
95107
<groupId>org.apache.aries.proxy</groupId>
96108
<artifactId>org.apache.aries.proxy</artifactId>
97109
<scope>test</scope>
98-
<version>1.0.1</version>
110+
<version>${org.apache.aries.proxy.version}</version>
99111
</dependency>
100112
<dependency>
101113
<groupId>org.apache.aries.blueprint</groupId>
102114
<artifactId>org.apache.aries.blueprint</artifactId>
103115
<scope>test</scope>
104-
<version>1.0.0</version>
116+
<version>${org.apache.aries.blueprint.version}</version>
105117
</dependency>
106118

107119
<!-- pax exam -->
108120
<dependency>
109121
<groupId>org.slf4j</groupId>
110122
<artifactId>slf4j-api</artifactId>
111-
<version>1.7.7</version>
123+
<version>${slf4j-api.version}</version>
112124
</dependency>
113125
<dependency>
114126
<groupId>org.ops4j.pax.exam</groupId>
@@ -155,7 +167,7 @@
155167
<dependency>
156168
<groupId>org.ops4j.pax.tinybundles</groupId>
157169
<artifactId>tinybundles</artifactId>
158-
<version>2.0.0</version>
170+
<version>${tinybundles.version}</version>
159171
<exclusions>
160172
<exclusion>
161173
<artifactId>org.osgi.core</artifactId>
@@ -171,14 +183,14 @@
171183
<dependency>
172184
<groupId>org.eclipse</groupId>
173185
<artifactId>org.eclipse.osgi</artifactId>
174-
<version>3.8.0.v20120529-1548</version>
186+
<version>${org.eclipse.osgi.version}</version>
175187
</dependency>
176188

177189
<dependency>
178190
<groupId>org.apache.aries.web</groupId>
179191
<artifactId>org.apache.aries.web.urlhandler</artifactId>
180192
<scope>provided</scope>
181-
<version>1.0.1-SNAPSHOT</version>
193+
<version>${org.apache.aries.web.urlhandler.version}</version>
182194
</dependency>
183195
</dependencies>
184196

@@ -187,7 +199,7 @@
187199
<plugin>
188200
<groupId>org.apache.servicemix.tooling</groupId>
189201
<artifactId>depends-maven-plugin</artifactId>
190-
<version>1.2</version>
202+
<version>${depends-maven-plugin.version}</version>
191203
<executions>
192204
<execution>
193205
<phase>generate-resources</phase>

web/web-urlhandler/pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
</aries.osgi.private.pkg>
5252
<aries.osgi.activator>org.apache.aries.web.converter.impl.Activator</aries.osgi.activator>
5353
<lastReleaseVersion>1.0.0</lastReleaseVersion>
54+
55+
<asm.version>5.0.3</asm.version>
5456
</properties>
5557

5658
<dependencies>
@@ -67,7 +69,7 @@
6769
<dependency>
6870
<groupId>org.ow2.asm</groupId>
6971
<artifactId>asm-debug-all</artifactId>
70-
<version>5.0.3</version>
72+
<version>${asm.version}</version>
7173
</dependency>
7274
</dependencies>
7375

0 commit comments

Comments
 (0)