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

CI should use -Dno-format to execute other plugins too #29758

Merged
merged 4 commits into from
Dec 9, 2022
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ jobs:
cache: 'maven'

- name: Build with Maven
run: mvn -B formatter:validate clean install --file pom.xml
run: mvn -B clean verify -Dno-format

- name: Build with Maven (Native)
run: mvn -B verify -Dnative -Dquarkus.native.container-build -Dnative.surefire.skip
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public enum LayoutType {

public static final String DEFAULT_QUARKIVERSE_PARENT_GROUP_ID = "io.quarkiverse";
public static final String DEFAULT_QUARKIVERSE_PARENT_ARTIFACT_ID = "quarkiverse-parent";
public static final String DEFAULT_QUARKIVERSE_PARENT_VERSION = "10";
public static final String DEFAULT_QUARKIVERSE_PARENT_VERSION = "12";
public static final String DEFAULT_QUARKIVERSE_NAMESPACE_ID = "quarkus-";
public static final String DEFAULT_QUARKIVERSE_GUIDE_URL = "https://quarkiverse.github.io/quarkiverse-docs/%s/dev/";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public static AbstractPathAssert<?> assertThatMatchSnapshot(Path fileToCheck, St

final String snapshotNotFoundDescription = "corresponding snapshot file not found for " + snapshotIdentifier
+ " (Use -Dsnap to create it automatically)";
final String description = "Snapshot is not matching (use -Dsnap to udpate it automatically): "
final String description = "Snapshot is not matching (use -Dsnap to update it automatically): "
+ snapshotIdentifier;
if (isUTF8File(fileToCheck)) {
assertThat(snapshotFile).as(snapshotNotFoundDescription).isRegularFile();
Expand Down Expand Up @@ -264,7 +264,7 @@ public static ListAssert<String> assertThatDirectoryTreeMatchSnapshots(String sn
.collect(toList());

return assertThat(tree)
.as("Snapshot is not matching (use -Dsnap to udpate it automatically):" + snapshotName)
.as("Snapshot is not matching (use -Dsnap to update it automatically):" + snapshotName)
.containsExactlyInAnyOrderElementsOf(content);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.quarkiverse</groupId>
<artifactId>quarkiverse-parent</artifactId>
<version>10</version>
<version>12</version>
</parent>
<groupId>io.quarkiverse.my-quarkiverse-ext</groupId>
<artifactId>quarkus-my-quarkiverse-ext-parent</artifactId>
Expand Down