Skip to content

Commit 418cc8d

Browse files
authored
Merge pull request #321 from apache/add-proxy-workflow-and-bump-logback-version
[MAINTENANCE] Add proxy workflow and bump logback version
2 parents c4895ba + 3d70fd1 commit 418cc8d

File tree

5 files changed

+77
-13
lines changed

5 files changed

+77
-13
lines changed

.github/workflows/proxy.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Licensed under the Apache License, Version 2.0 (the "License");
2+
# you may not use this file except in compliance with the License.
3+
# You may obtain a copy of the License at
4+
#
5+
# http://www.apache.org/licenses/LICENSE-2.0
6+
#
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
13+
name: Proxy - CI Build
14+
15+
on:
16+
pull_request:
17+
paths:
18+
- proxy/**
19+
- .github/workflows/proxy.yml
20+
push:
21+
branches:
22+
- 'trunk'
23+
24+
env:
25+
LC_ALL: en_US.UTF-8
26+
27+
jobs:
28+
JDKxx_Matrix:
29+
timeout-minutes: 10
30+
strategy:
31+
matrix:
32+
java: [ 8 ]
33+
os: [ ubuntu-latest ]
34+
name: JDK${{ matrix.java }} ${{ matrix.os }}
35+
runs-on: ${{ matrix.os }}
36+
steps:
37+
- name: Git Checkout
38+
uses: actions/checkout@v4
39+
- name: Set up Java
40+
uses: actions/setup-java@v4
41+
with:
42+
distribution: 'temurin'
43+
java-version: ${{ matrix.java }}
44+
- name: Build
45+
shell: bash
46+
run: |
47+
mvn -U -e -B -ntp clean install -f proxy/pom.xml

proxy/proxy-api/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<parent>
2525
<groupId>org.apache.aries</groupId>
2626
<artifactId>parent</artifactId>
27-
<version>2.1.0</version>
27+
<version>2.1.1</version>
2828
<relativePath>../../parent/pom.xml</relativePath>
2929
</parent>
3030

@@ -50,7 +50,7 @@
5050
org.apache.aries.proxy*
5151
</aries.osgi.export.pkg>
5252
<aries.osgi.private.pkg />
53-
<lastReleaseVersion>1.0.1</lastReleaseVersion>
53+
<lastReleaseVersion>1.1.1</lastReleaseVersion>
5454

5555
<!-- Skip version check for release 1.1.0 as the plugin does not handle the case
5656
of removing a dpendency correctly -->

proxy/proxy-impl/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<aries.osgi.private.pkg>
6464
org.apache.aries.proxy.impl*
6565
</aries.osgi.private.pkg>
66-
<lastReleaseVersion>1.0.1</lastReleaseVersion>
66+
<lastReleaseVersion>1.1.14</lastReleaseVersion>
6767
</properties>
6868

6969
<dependencies>

proxy/proxy-itests/pom.xml

+24-10
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<parent>
2525
<groupId>org.apache.aries</groupId>
2626
<artifactId>parent</artifactId>
27-
<version>2.1.0</version>
27+
<version>2.1.1</version>
2828
<relativePath>../../parent/pom.xml</relativePath>
2929
</parent>
3030

@@ -44,14 +44,16 @@
4444

4545
<properties>
4646
<exam.version>4.13.3</exam.version>
47-
<url.version>1.6.0</url.version>
47+
<url.version>2.5.3</url.version>
48+
<logback.version>1.5.16</logback.version>
49+
<asm.version>9.6</asm.version>
4850
</properties>
4951

5052
<dependencies>
5153
<dependency>
52-
<groupId>org.eclipse</groupId>
54+
<groupId>org.eclipse.platform</groupId>
5355
<artifactId>org.eclipse.osgi</artifactId>
54-
<version>3.8.0.v20120529-1548</version>
56+
<version>3.11.3</version>
5557
<scope>provided</scope>
5658
</dependency>
5759
<dependency>
@@ -63,13 +65,13 @@
6365
<groupId>org.apache.aries.proxy</groupId>
6466
<artifactId>org.apache.aries.proxy.api</artifactId>
6567
<scope>test</scope>
66-
<version>1.1.1-SNAPSHOT</version>
68+
<version>1.1.2-SNAPSHOT</version>
6769
</dependency>
6870
<dependency>
6971
<groupId>org.apache.aries.proxy</groupId>
7072
<artifactId>org.apache.aries.proxy</artifactId>
7173
<scope>test</scope>
72-
<version>1.1.8-SNAPSHOT</version>
74+
<version>1.1.15-SNAPSHOT</version>
7375
</dependency>
7476

7577
<!-- pax exam -->
@@ -111,13 +113,13 @@
111113
<dependency>
112114
<groupId>ch.qos.logback</groupId>
113115
<artifactId>logback-core</artifactId>
114-
<version>0.9.29</version>
116+
<version>${logback.version}</version>
115117
<scope>test</scope>
116118
</dependency>
117119
<dependency>
118120
<groupId>ch.qos.logback</groupId>
119121
<artifactId>logback-classic</artifactId>
120-
<version>0.9.29</version>
122+
<version>${logback.version}</version>
121123
<scope>test</scope>
122124
</dependency>
123125
<dependency>
@@ -134,13 +136,25 @@
134136
<dependency>
135137
<groupId>org.ow2.asm</groupId>
136138
<artifactId>asm</artifactId>
137-
<version>8.0.1</version>
139+
<version>${asm.version}</version>
138140
<scope>test</scope>
139141
</dependency>
140142
<dependency>
141143
<groupId>org.ow2.asm</groupId>
142144
<artifactId>asm-commons</artifactId>
143-
<version>8.0.1</version>
145+
<version>${asm.version}</version>
146+
<scope>test</scope>
147+
</dependency>
148+
<dependency>
149+
<groupId>org.ow2.asm</groupId>
150+
<artifactId>asm-tree</artifactId>
151+
<version>${asm.version}</version>
152+
<scope>test</scope>
153+
</dependency>
154+
<dependency>
155+
<groupId>org.ow2.asm</groupId>
156+
<artifactId>asm-analysis</artifactId>
157+
<version>${asm.version}</version>
144158
<scope>test</scope>
145159
</dependency>
146160
<dependency>

proxy/proxy-itests/src/test/java/org/apache/aries/proxy/itests/AbstractProxyTest.java

+3
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,11 @@ protected Option proxyOptions() {
299299
when(localRepo != null).useOptions(CoreOptions.vmOption("-Dorg.ops4j.pax.url.mvn.localRepository=" + localRepo)),
300300
mavenBundle("org.ow2.asm", "asm-commons").versionAsInProject(),
301301
mavenBundle("org.ow2.asm", "asm").versionAsInProject(),
302+
mavenBundle("org.ow2.asm", "asm-tree").versionAsInProject(),
303+
mavenBundle("org.ow2.asm", "asm-analysis").versionAsInProject(),
302304
mavenBundle("org.ops4j.pax.logging", "pax-logging-api").versionAsInProject(),
303305
mavenBundle("org.ops4j.pax.logging", "pax-logging-service").versionAsInProject(),
306+
mavenBundle("org.apache.aries.proxy", "org.apache.aries.proxy.api").versionAsInProject(),
304307
mavenBundle("org.apache.aries.proxy", "org.apache.aries.proxy").versionAsInProject()
305308
/* vmOption ("-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"),
306309
waitForFrameworkStartup(),*/

0 commit comments

Comments
 (0)