Skip to content

Commit 8858d4b

Browse files
committed
[MAINTENANCE] Compile tutorial modules
1 parent 428ca2c commit 8858d4b

File tree

21 files changed

+480
-447
lines changed

21 files changed

+480
-447
lines changed

.github/workflows/tutorials.yml

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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: Tutorials - CI Build
14+
15+
on:
16+
pull_request:
17+
paths:
18+
- parent/**
19+
- tutorials/**
20+
- .github/workflows/tutorials.yml
21+
push:
22+
branches:
23+
- 'trunk'
24+
25+
env:
26+
LC_ALL: en_US.UTF-8
27+
28+
jobs:
29+
JDKxx_Matrix:
30+
timeout-minutes: 10
31+
strategy:
32+
fail-fast: false
33+
matrix:
34+
java: [ 8 ]
35+
os: [ ubuntu-latest ]
36+
name: JDK${{ matrix.java }} ${{ matrix.os }}
37+
runs-on: ${{ matrix.os }}
38+
steps:
39+
- name: Git Checkout
40+
uses: actions/checkout@v4
41+
- name: Set up Java
42+
uses: actions/setup-java@v4
43+
with:
44+
distribution: 'temurin'
45+
java-version: ${{ matrix.java }}
46+
- name: Build parent
47+
shell: bash
48+
run: mvn -U -e -B -ntp clean install -f parent
49+
- name: Build tutorials
50+
shell: bash
51+
run: mvn -U -e -B -ntp clean install -f tutorials

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ See [Apache Aries Website](http://aries.apache.org/).
2525
- [![Web - CI Build](https://github.com/apache/aries/actions/workflows/web.yml/badge.svg)](https://github.com/apache/aries/actions/workflows/web.yml)
2626
- [![Util - CI Build](https://github.com/apache/aries/actions/workflows/util.yml/badge.svg)](https://github.com/apache/aries/actions/workflows/util.yml)
2727
- [![Testsupport - CI Build](https://github.com/apache/aries/actions/workflows/testsupport.yml/badge.svg)](https://github.com/apache/aries/actions/workflows/testsupport.yml)
28+
- [![Tutorials - CI Build](https://github.com/apache/aries/actions/workflows/tutorials.yml/badge.svg)](https://github.com/apache/aries/actions/workflows/tutorials.yml)
2829

2930
## Source Code
3031

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@
5555
<module>subsystem</module>
5656
<module>testsupport</module>
5757
<module>transaction</module>
58+
<module>tutorials</module>
5859
<module>util</module>
5960
<module>versioning</module>
6061
<module>web</module>
6162

6263
<!-- excluded as not having CI build-->
6364
<!--
6465
<module>sandbox</module>
65-
<module>tutorials</module>
6666
-->
6767
</modules>
6868

tutorials/blueprint/pom.xml

+7-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>org.apache.aries.tutorials</groupId>
2121
<artifactId>tutorials</artifactId>
22-
<version>0.4-SNAPSHOT</version>
22+
<version>0.1-SNAPSHOT</version>
2323
</parent>
2424

2525
<modelVersion>4.0.0</modelVersion>
@@ -31,6 +31,11 @@
3131

3232

3333
<modules>
34-
<module>tutorial-modules</module>
34+
<module>tutorial-modules/greeter-api</module>
35+
<module>tutorial-modules/greeter-client-osgi</module>
36+
<module>tutorial-modules/greeter-server-osgi</module>
37+
<module>tutorial-modules/greeter-client-blueprint</module>
38+
<module>tutorial-modules/greeter-server-blueprint</module>
39+
<module>tutorial-assembly</module>
3540
</modules>
3641
</project>

0 commit comments

Comments
 (0)