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

[3.2] Whitelist xml-apis relocation warning #301

Merged
merged 1 commit into from
Sep 14, 2023
Merged
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 @@ -114,6 +114,7 @@ public enum WhitelistLogLines {
private static final Pattern COMMON_SLF4J_JBOSS_LOGMANAGER_DEPENDENCY_TREE = Pattern.compile(".*org.jboss.slf4j:slf4j-jboss-logmanager:jar.*");
private static final Pattern WARNING_MISSING_OBJCOPY_NATIVE = Pattern.compile(".*objcopy executable not found in PATH.*");
private static final Pattern WARNING_MISSING_OBJCOPY_RESULT_NATIVE = Pattern.compile(".*That also means that resulting native executable is larger as it embeds the debug symbols..*");
private static final Pattern XML_APIS_RELOCATED = Pattern.compile(".*The artifact xml-apis:xml-apis:jar:2.0.2 has been relocated to xml-apis:xml-apis:jar:1.0.b2.*");

public final Pattern[] errs;

Expand All @@ -125,6 +126,7 @@ public final Pattern[] platformErrs() {
switch (OS.current()) {
case MAC:
return new Pattern[] {
XML_APIS_RELOCATED,
COMMON_SLF4J_API_DEPENDENCY_TREE,
COMMON_SLF4J_JBOSS_LOGMANAGER_DEPENDENCY_TREE,
WARNING_MISSING_OBJCOPY_NATIVE,
Expand All @@ -134,6 +136,7 @@ public final Pattern[] platformErrs() {
};
case WINDOWS:
return new Pattern[] {
XML_APIS_RELOCATED,
COMMON_SLF4J_API_DEPENDENCY_TREE,
COMMON_SLF4J_JBOSS_LOGMANAGER_DEPENDENCY_TREE,
WARNING_MISSING_OBJCOPY_NATIVE,
Expand All @@ -143,6 +146,7 @@ public final Pattern[] platformErrs() {
};
case LINUX:
return new Pattern[] {
XML_APIS_RELOCATED,
COMMON_SLF4J_API_DEPENDENCY_TREE,
COMMON_SLF4J_JBOSS_LOGMANAGER_DEPENDENCY_TREE,
};
Expand Down