Skip to content

Commit

Permalink
Use versionless features (#200)
Browse files Browse the repository at this point in the history
* use versionless feature

Signed-off-by: Gilbert Kwan <[email protected]>

* use versionless feature

Signed-off-by: Gilbert Kwan <[email protected]>

* Update README.adoc

* use versionless feature

Signed-off-by: Gilbert Kwan <[email protected]>

---------

Signed-off-by: Gilbert Kwan <[email protected]>
  • Loading branch information
gkwan-ibm authored Feb 6, 2025
1 parent 1bd6ea7 commit 959d305
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
canSkip: ${{ steps.Checker.outputs.canSkip }}
steps:
- name: Get files
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Get tools
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: tools/
repository: openliberty/guides-common
Expand Down Expand Up @@ -44,10 +44,11 @@ jobs:
run:
working-directory: finish
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: 'semeru'
java-version: 11
- run: unset _JAVA_OPTIONS
- name: Run tests
Expand Down
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017, 2024 IBM Corporation and others.
// Copyright (c) 2017, 2025 IBM Corporation and others.
// Licensed under Creative Commons Attribution-NoDerivatives
// 4.0 International (CC BY-ND 4.0)
// https://creativecommons.org/licenses/by-nd/4.0/
Expand Down Expand Up @@ -63,8 +63,8 @@ If Maven is installed properly, you see information about the Maven installation

[source, role="no_copy"]
----
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /Applications/Maven/apache-maven-3.8.1
Apache Maven 3.9.6 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /Applications/Maven/apache-maven-3.9.6
Java version: 11.0.12, vendor: International Business Machines Corporation, runtime: /Library/Java/JavaVirtualMachines/ibm-semeru-open-11.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "11.6", arch: "x86_64", family: "mac"
Expand Down
2 changes: 1 addition & 1 deletion finish/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile</artifactId>
<version>6.1</version>
<version>7.0</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
Expand Down
3 changes: 2 additions & 1 deletion finish/src/main/liberty/config/server.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<server description="Sample Servlet server">
<featureManager>
<feature>servlet-6.0</feature>
<platform>jakartaee-10.0</platform>
<feature>servlet</feature>
</featureManager>

<variable name="http.port" defaultValue="9080"/>
Expand Down
3 changes: 2 additions & 1 deletion start/src/main/liberty/config/server.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<server description="Sample Servlet server">
<featureManager>
<feature>servlet-6.0</feature>
<platform>jakartaee-10.0</platform>
<feature>servlet</feature>
</featureManager>

<variable name="http.port" defaultValue="9080"/>
Expand Down

0 comments on commit 959d305

Please sign in to comment.