Skip to content

Commit c594cd8

Browse files
committed
[MAINTENANCE] Extract dependency versions to properties - subsystem
1 parent 5b9f971 commit c594cd8

File tree

14 files changed

+577
-488
lines changed

14 files changed

+577
-488
lines changed

subsystem/subsystem-api/pom.xml

+13-8
Original file line numberDiff line numberDiff line change
@@ -49,33 +49,38 @@
4949
org.osgi.service.subsystem
5050
</aries.osgi.export.pkg>
5151
<aries.osgi.import>
52-
org.osgi.service.repository;version="[1.0,1.1)",
53-
org.osgi.service.subsystem;version="[1.1,1.2)",
54-
*
55-
</aries.osgi.import>
52+
org.osgi.service.repository;version="[1.0,1.1)",
53+
org.osgi.service.subsystem;version="[1.1,1.2)",
54+
*
55+
</aries.osgi.import>
56+
57+
<org.apache.aries.util.version>1.1.1</org.apache.aries.util.version>
58+
<org.osgi.annotation.version>6.0.0</org.osgi.annotation.version>
59+
<org.osgi.core.version>6.0.0</org.osgi.core.version>
60+
<org.osgi.enterprise.version>5.0.0</org.osgi.enterprise.version>
5661
</properties>
5762

5863
<dependencies>
5964
<dependency>
6065
<groupId>org.apache.aries</groupId>
6166
<artifactId>org.apache.aries.util</artifactId>
62-
<version>1.1.1</version>
67+
<version>${org.apache.aries.util.version}</version>
6368
</dependency>
6469
<dependency>
6570
<groupId>org.osgi</groupId>
6671
<artifactId>org.osgi.core</artifactId>
67-
<version>6.0.0</version>
72+
<version>${org.osgi.core.version}</version>
6873
<scope>provided</scope>
6974
</dependency>
7075
<dependency>
7176
<groupId>org.osgi</groupId>
7277
<artifactId>org.osgi.annotation</artifactId>
73-
<version>6.0.0</version>
78+
<version>${org.osgi.annotation.version}</version>
7479
</dependency>
7580
<dependency>
7681
<groupId>org.osgi</groupId>
7782
<artifactId>org.osgi.enterprise</artifactId>
78-
<version>5.0.0</version>
83+
<version>${org.osgi.enterprise.version}</version>
7984
<scope>provided</scope>
8085
</dependency>
8186
</dependencies>

subsystem/subsystem-bundle/pom.xml

+26-13
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<aries.osgi.activator>
4646
org.apache.aries.subsystem.core.internal.Activator
4747
</aries.osgi.activator>
48-
<aries.osgi.import>
48+
<aries.osgi.import>
4949
org.osgi.service.repository;version="[1.0,1.1)",
5050
org.osgi.service.subsystem;version="[1.1,1.2)",
5151
org.apache.aries.application.*;resolution:=optional,
@@ -60,68 +60,81 @@
6060
org.apache.aries.subsystem.*
6161
</aries.osgi.private.pkg>
6262
<lastReleaseVersion>1.0.0</lastReleaseVersion>
63+
64+
<org.apache.aries.application.api.version>1.0.0</org.apache.aries.application.api.version>
65+
<org.apache.aries.application.modeller.version>1.0.0</org.apache.aries.application.modeller.version>
66+
<org.apache.aries.application.utils.version>1.0.0</org.apache.aries.application.utils.version>
67+
<org.apache.aries.blueprint.version>1.0.0</org.apache.aries.blueprint.version>
68+
<org.apache.aries.proxy.version>1.0.1</org.apache.aries.proxy.version>
69+
<org.apache.aries.subsystem.api.version>2.0.10</org.apache.aries.subsystem.api.version>
70+
<org.apache.aries.subsystem.core.version>2.0.10</org.apache.aries.subsystem.core.version>
71+
<org.apache.aries.util.version>1.1.1</org.apache.aries.util.version>
72+
<org.apache.felix.resolver.version>1.0.0</org.apache.felix.resolver.version>
73+
<org.eclipse.equinox.coordinator.version>1.1.0.v20120522-1841</org.eclipse.equinox.coordinator.version>
74+
<org.eclipse.equinox.region.version>1.2.101.v20150831-1342</org.eclipse.equinox.region.version>
75+
<org.eclipse.osgi.version>3.10.0.v20140606-1445</org.eclipse.osgi.version>
6376
</properties>
6477

6578
<dependencies>
6679
<dependency>
6780
<groupId>org.apache.aries.subsystem</groupId>
6881
<artifactId>org.apache.aries.subsystem.api</artifactId>
69-
<version>2.0.10</version>
82+
<version>${org.apache.aries.subsystem.api.version}</version>
7083
</dependency>
7184
<dependency>
7285
<groupId>org.apache.aries.subsystem</groupId>
7386
<artifactId>org.apache.aries.subsystem.core</artifactId>
74-
<version>2.0.10</version>
87+
<version>${org.apache.aries.subsystem.core.version}</version>
7588
</dependency>
7689
<dependency>
7790
<groupId>org.apache.aries</groupId>
7891
<artifactId>org.apache.aries.util</artifactId>
79-
<version>1.1.1</version>
92+
<version>${org.apache.aries.util.version}</version>
8093
</dependency>
8194
<dependency>
8295
<groupId>org.apache.aries.application</groupId>
8396
<artifactId>org.apache.aries.application.api</artifactId>
84-
<version>1.0.0</version>
97+
<version>${org.apache.aries.application.api.version}</version>
8598
</dependency>
8699
<dependency>
87100
<groupId>org.apache.aries.application</groupId>
88101
<artifactId>org.apache.aries.application.modeller</artifactId>
89-
<version>1.0.0</version>
102+
<version>${org.apache.aries.application.modeller.version}</version>
90103
</dependency>
91104
<dependency>
92105
<groupId>org.apache.aries.application</groupId>
93106
<artifactId>org.apache.aries.application.utils</artifactId>
94-
<version>1.0.0</version>
107+
<version>${org.apache.aries.application.utils.version}</version>
95108
</dependency>
96109
<dependency>
97110
<groupId>org.apache.aries.blueprint</groupId>
98111
<artifactId>org.apache.aries.blueprint</artifactId>
99-
<version>1.0.0</version>
112+
<version>${org.apache.aries.blueprint.version}</version>
100113
</dependency>
101114
<dependency>
102115
<groupId>org.apache.aries.proxy</groupId>
103116
<artifactId>org.apache.aries.proxy</artifactId>
104-
<version>1.0.1</version>
117+
<version>${org.apache.aries.proxy.version}</version>
105118
</dependency>
106119
<dependency>
107120
<groupId>org.apache.felix</groupId>
108121
<artifactId>org.apache.felix.resolver</artifactId>
109-
<version>1.0.0</version>
122+
<version>${org.apache.felix.resolver.version}</version>
110123
</dependency>
111124
<dependency>
112125
<groupId>org.eclipse.equinox</groupId>
113126
<artifactId>org.eclipse.equinox.coordinator</artifactId>
114-
<version>1.1.0.v20120522-1841</version>
127+
<version>${org.eclipse.equinox.coordinator.version}</version>
115128
</dependency>
116129
<dependency>
117130
<groupId>org.eclipse.equinox</groupId>
118131
<artifactId>org.eclipse.equinox.region</artifactId>
119-
<version>1.2.101.v20150831-1342</version>
132+
<version>${org.eclipse.equinox.region.version}</version>
120133
</dependency>
121134
<dependency>
122135
<groupId>org.eclipse.tycho</groupId>
123136
<artifactId>org.eclipse.osgi</artifactId>
124-
<version>3.10.0.v20140606-1445</version>
137+
<version>${org.eclipse.osgi.version}</version>
125138
</dependency>
126139
</dependencies>
127140

subsystem/subsystem-core/pom.xml

+31-19
Original file line numberDiff line numberDiff line change
@@ -45,75 +45,87 @@
4545
<aries.osgi.activator>
4646
org.apache.aries.subsystem.core.internal.Activator
4747
</aries.osgi.activator>
48-
<aries.osgi.import>
48+
<aries.osgi.import>
4949
org.osgi.service.subsystem;version="[1.1,1.2)",
5050
org.apache.aries.subsystem;version="[1.2,1.3)",
5151
org.apache.aries.application.*;resolution:=optional,
5252
*
5353
</aries.osgi.import>
54-
<aries.osgi.export.pkg />
54+
<aries.osgi.export.pkg/>
5555
<aries.osgi.private.pkg>
5656
org.apache.aries.subsystem.core.*
5757
</aries.osgi.private.pkg>
5858
<lastReleaseVersion>1.0.0</lastReleaseVersion>
5959
<aries.osgi.provide.capability>
60-
osgi.implementation;
61-
osgi.implementation="osgi.subsystem";
62-
version:Version="1.1";
63-
uses:="org.osgi.service.subsystem",
64-
osgi.service;
65-
objectClass:List&lt;String&gt;="org.osgi.service.subsystem.Subsystem,org.apache.aries.subsystem.AriesSubsystem";
66-
uses:="org.osgi.service.subsystem,org.apache.aries.subsystem"
60+
osgi.implementation;
61+
osgi.implementation="osgi.subsystem";
62+
version:Version="1.1";
63+
uses:="org.osgi.service.subsystem",
64+
osgi.service;
65+
objectClass:List&lt;String&gt;="org.osgi.service.subsystem.Subsystem,org.apache.aries.subsystem.AriesSubsystem";
66+
uses:="org.osgi.service.subsystem,org.apache.aries.subsystem"
6767
</aries.osgi.provide.capability>
68+
69+
70+
<org.apache.aries.subsystem.api.version>2.0.10</org.apache.aries.subsystem.api.version>
71+
<org.apache.aries.util.version>1.1.1</org.apache.aries.util.version>
72+
<org.apache.aries.application.api.version>1.0.0</org.apache.aries.application.api.version>
73+
<org.apache.aries.application.utils.version>1.0.0</org.apache.aries.application.utils.version>
74+
<org.osgi.core.version>6.0.0</org.osgi.core.version>
75+
<org.osgi.enterprise.version>5.0.0</org.osgi.enterprise.version>
76+
<org.eclipse.equinox.coordinator.version>1.1.0.v20120522-1841</org.eclipse.equinox.coordinator.version>
77+
<org.eclipse.equinox.region.version>1.2.101.v20150831-1342</org.eclipse.equinox.region.version>
78+
<easymock.version>3.0</easymock.version>
79+
<maven-bundle-plugin.version>2.5.0</maven-bundle-plugin.version>
6880
</properties>
6981

7082
<dependencies>
7183
<dependency>
7284
<groupId>org.apache.aries.subsystem</groupId>
7385
<artifactId>org.apache.aries.subsystem.api</artifactId>
74-
<version>2.0.10</version>
86+
<version>${org.apache.aries.subsystem.api.version}</version>
7587
</dependency>
7688
<dependency>
7789
<groupId>org.apache.aries</groupId>
7890
<artifactId>org.apache.aries.util</artifactId>
79-
<version>1.1.1</version>
91+
<version>${org.apache.aries.util.version}</version>
8092
</dependency>
8193
<dependency>
8294
<groupId>org.apache.aries.application</groupId>
8395
<artifactId>org.apache.aries.application.api</artifactId>
84-
<version>1.0.0</version>
96+
<version>${org.apache.aries.application.api.version}</version>
8597
</dependency>
8698
<dependency>
8799
<groupId>org.apache.aries.application</groupId>
88100
<artifactId>org.apache.aries.application.utils</artifactId>
89-
<version>1.0.0</version>
101+
<version>${org.apache.aries.application.utils.version}</version>
90102
</dependency>
91103
<dependency>
92104
<groupId>org.osgi</groupId>
93105
<artifactId>org.osgi.core</artifactId>
94-
<version>6.0.0</version>
106+
<version>${org.osgi.core.version}</version>
95107
<scope>provided</scope>
96108
</dependency>
97109
<dependency>
98110
<groupId>org.osgi</groupId>
99111
<artifactId>org.osgi.enterprise</artifactId>
100-
<version>5.0.0</version>
112+
<version>${org.osgi.enterprise.version}</version>
101113
<scope>provided</scope>
102114
</dependency>
103115
<dependency>
104116
<groupId>org.eclipse.equinox</groupId>
105117
<artifactId>org.eclipse.equinox.coordinator</artifactId>
106-
<version>1.1.0.v20120522-1841</version>
118+
<version>${org.eclipse.equinox.coordinator.version}</version>
107119
</dependency>
108120
<dependency>
109121
<groupId>org.eclipse.equinox</groupId>
110122
<artifactId>org.eclipse.equinox.region</artifactId>
111-
<version>1.2.101.v20150831-1342</version>
123+
<version>${org.eclipse.equinox.region.version}</version>
112124
</dependency>
113125
<dependency>
114126
<groupId>org.easymock</groupId>
115127
<artifactId>easymock</artifactId>
116-
<version>3.0</version>
128+
<version>${easymock.version}</version>
117129
<scope>test</scope>
118130
</dependency>
119131
<dependency>
@@ -150,7 +162,7 @@
150162
<plugin>
151163
<groupId>org.apache.felix</groupId>
152164
<artifactId>maven-bundle-plugin</artifactId>
153-
<version>2.5.0</version>
165+
<version>${maven-bundle-plugin.version}</version>
154166
<extensions>true</extensions>
155167
<inherited>true</inherited>
156168
<configuration>

subsystem/subsystem-example/subsystem-helloIsolation/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
under the License.
1818
-->
1919
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2121
<modelVersion>4.0.0</modelVersion>
2222
<parent>
2323
<groupId>org.apache.aries</groupId>
2424
<artifactId>parent</artifactId>
2525
<version>1.0.1-SNAPSHOT</version>
2626
<relativePath>../../../parent/pom.xml</relativePath>
27-
</parent>
27+
</parent>
2828

2929
<groupId>org.apache.aries.subsystem</groupId>
3030
<artifactId>org.apache.aries.subsystem.example.helloIsolation</artifactId>

subsystem/subsystem-example/subsystem-helloIsolationRef/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
under the License.
1818
-->
1919
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2121
<modelVersion>4.0.0</modelVersion>
2222
<parent>
2323
<groupId>org.apache.aries</groupId>
2424
<artifactId>parent</artifactId>
2525
<version>1.0.1-SNAPSHOT</version>
2626
<relativePath>../../../parent/pom.xml</relativePath>
27-
</parent>
27+
</parent>
2828

2929
<groupId>org.apache.aries.subsystem</groupId>
3030
<artifactId>org.apache.aries.subsystem.example.helloIsolationRef</artifactId>

subsystem/subsystem-executor/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
under the License.
1818
-->
1919
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2121
<modelVersion>4.0.0</modelVersion>
2222
<parent>
2323
<groupId>org.apache.aries</groupId>
@@ -32,7 +32,7 @@
3232
<name>Apache Aries Subsystem Executor</name>
3333
<version>0.1-SNAPSHOT</version>
3434
<description>
35-
Subsystem Executor used for async SubsystemAdmin operations. Can be replaced by runtimes integrating the Subsystem support.
35+
Subsystem Executor used for async SubsystemAdmin operations. Can be replaced by runtimes integrating the Subsystem support.
3636
</description>
3737

3838
<scm>

0 commit comments

Comments
 (0)