Skip to content

Commit c804b3b

Browse files
authored
Bump the shade plugin to support Java 17 optimizations (#3281)
* fix build errors * exit on error
1 parent 816a98e commit c804b3b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
<plugin>
278278
<groupId>org.apache.maven.plugins</groupId>
279279
<artifactId>maven-shade-plugin</artifactId>
280-
<version>3.2.4</version>
280+
<version>3.6.1</version>
281281

282282
<configuration>
283283
<filters>

shade-test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Create the package. Skip tests since this is just for testing the contents of the jar. We've already run the tests in another step.
22
mvn package -DskipTests -Dmaven.javadoc.skip=true
3+
if [ $? -ne 0 ]; then
4+
exit 1
5+
fi
36
# List everything in the shaded jar. Anything in com/datadog is good since that's either shaded or our own code.
47
# We intentionally avoid shading anything in META-INF in the pom.xml.
58
# And there are some native libraries in other directories that we don't shade so we only want to check for .class files.

0 commit comments

Comments
 (0)