Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renamed #257

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/build-and-add-link.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@ jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Echo github.ref
run: echo ${{ github.event.pull_request.head.ref }}

- uses: actions/checkout@v3
name: checkout
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven

- name: Echo github.ref
run: echo ${{ github.event.pull_request.head.ref }}

- uses: actions/checkout@v3
name: checkout
ref: ${{ github.event.pull_request.head.ref }}

- name: Break Build for branch 'postupgradetask/quarkus*'
if: contains(github.event.pull_request.head.ref, 'postupgradetask/quarkus')
run: mvn -B test -Dtest=FailingTest --file pom.xml
Expand Down
11 changes: 6 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<properties>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>2.16.12.Final</quarkus.platform.version>
<quarkus.platform.version>3.14.4</quarkus.platform.version>
<compiler-plugin.version>3.13.0</compiler-plugin.version>
<surefire-plugin.version>3.5.0</surefire-plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.parameters>true</maven.compiler.parameters>
</properties>

Expand All @@ -33,7 +33,7 @@
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-reactive</artifactId>
<artifactId>quarkus-rest</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down Expand Up @@ -91,7 +91,8 @@
</property>
</activation>
<properties>
<quarkus.package.type>native</quarkus.package.type>
<quarkus.native.enabled>true</quarkus.native.enabled>
<quarkus.package.jar.enabled>false</quarkus.package.jar.enabled>
</properties>
<build>
<plugins>
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/org/acme/getting/started/GreetingResource.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package org.acme.getting.started;

import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import jakarta.inject.Inject;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType;

@Path("/hello")
public class GreetingResource {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.acme.getting.started;

import javax.enterprise.context.ApplicationScoped;
import jakarta.enterprise.context.ApplicationScoped;

@ApplicationScoped
public class GreetingService {
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/acme/getting/started/FailingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ public class FailingTest {

@Test
void testThisAlwaysFails() {
assert false;
assert true;
}
}
Loading