This is an automated email from the ASF dual-hosted git repository.

alien11689 pushed a commit to branch add-samples-with-aries-trader
in repository https://gitbox.apache.org/repos/asf/aries.git

commit d71dc95f8a187104e259b132264e0f50c0e0c42a
Author: Dominik Przybysz <[email protected]>
AuthorDate: Thu Feb 20 19:27:42 2025 +0100

    [MAINTENANCE] Add samples with aries-trader for now
---
 .github/workflows/samples.yml | 51 +++++++++++++++++++++++++++++++++++++++++++
 pom.xml                       |  2 +-
 samples/pom.xml               |  6 ++---
 3 files changed, 55 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/samples.yml b/.github/workflows/samples.yml
new file mode 100644
index 000000000..46fc9983c
--- /dev/null
+++ b/.github/workflows/samples.yml
@@ -0,0 +1,51 @@
+#    Licensed under the Apache License, Version 2.0 (the "License");
+#    you may not use this file except in compliance with the License.
+#    You may obtain a copy of the License at
+#
+#        http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software
+#    distributed under the License is distributed on an "AS IS" BASIS,
+#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#    See the License for the specific language governing permissions and
+#    limitations under the License.
+
+name: Samples - CI Build
+
+on:
+  pull_request:
+    paths:
+      - parent/**
+      - samples/**
+      - .github/workflows/samples.yml
+  push:
+    branches:
+      - 'trunk'
+
+env:
+  LC_ALL: en_US.UTF-8
+
+jobs:
+  JDKxx_Matrix:
+    timeout-minutes: 10
+    strategy:
+      fail-fast: false
+      matrix:
+        java: [ 8 ]
+        os: [ ubuntu-latest ]
+    name: JDK${{ matrix.java }} ${{ matrix.os }}
+    runs-on: ${{ matrix.os }}
+    steps:
+    - name: Git Checkout
+      uses: actions/checkout@v4
+    - name: Set up Java
+      uses: actions/setup-java@v4
+      with:
+        distribution: 'temurin'
+        java-version: ${{ matrix.java }}
+    - name: Build parent
+      shell: bash
+      run: mvn -U -e -B -ntp clean install -f parent
+    - name: Build samples
+      shell: bash
+      run: mvn -U -e -B -ntp clean install -f samples
diff --git a/pom.xml b/pom.xml
index 59cdbd447..1bc2b0de2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,6 +51,7 @@
         <module>proxy</module>
         <module>pushstream</module>
         <module>quiesce</module>
+        <module>samples</module>
         <module>spi-fly</module>
         <module>subsystem</module>
         <module>testsupport</module>
@@ -61,7 +62,6 @@
 
         <!-- excluded as not having CI build-->
         <!--
-        <module>samples</module>
         <module>sandbox</module>
         <module>tutorials</module>
         -->
diff --git a/samples/pom.xml b/samples/pom.xml
index 321ce3645..544753562 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -609,10 +609,10 @@
     </dependencyManagement>
 
     <modules>
-        <module>blog</module>
         <module>ariestrader</module>
-        <module>blueprint</module>
-        <module>twitter</module>
+<!--        <module>blog</module>-->
+<!--        <module>blueprint</module>-->
+<!--        <module>twitter</module>-->
     </modules>
 
 </project>

Reply via email to