Skip to content

Commit 4abdaed

Browse files
committed
Fix build.
1 parent 6b8964e commit 4abdaed

File tree

5 files changed

+120
-14
lines changed

5 files changed

+120
-14
lines changed

byte-buddy-android-test/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@
129129
<goals>
130130
<goal>resources</goal>
131131
</goals>
132+
<configuration>
133+
<!-- Setting this property suppresses a warning on implicit setting the filter encoding. -->
134+
<encoding>${project.build.sourceEncoding}</encoding>
135+
</configuration>
132136
</execution>
133137
</executions>
134138
</plugin>

byte-buddy-benchmark/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,6 @@
119119
</excludePackageNames>
120120
</configuration>
121121
</plugin>
122-
<plugin>
123-
<groupId>org.jacoco</groupId>
124-
<artifactId>jacoco-maven-plugin</artifactId>
125-
<version>${version.plugin.jacoco}</version>
126-
<configuration>
127-
<excludes>
128-
<!-- Do not include JMH generated classes (both modern and legacy JMH).-->
129-
<exclude>net/bytebuddy/benchmark/generated/*</exclude>
130-
<exclude>net/bytebuddy/benchmark/jmh_generated/*</exclude>
131-
</excludes>
132-
</configuration>
133-
</plugin>
134122
</plugins>
135123
</pluginManagement>
136124
</build>

byte-buddy-dep/pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,11 @@
219219
</activation>
220220
<build>
221221
<plugins>
222-
<!-- Zulu sometimes yields a segfault when processing annotation descriptions on some OpenJDK 7. -->
222+
<!-- Avoids occasional segfault. -->
223223
<plugin>
224224
<groupId>org.apache.maven.plugins</groupId>
225225
<artifactId>maven-surefire-plugin</artifactId>
226+
<version>${version.plugin.surefire}</version>
226227
<configuration>
227228
<excludes>
228229
<exclude>net.bytebuddy.agent.builder.AgentBuilderDefaultApplicationTest</exclude>
@@ -241,13 +242,15 @@
241242
</activation>
242243
<build>
243244
<plugins>
244-
<!-- On recent Java 11, this test sometimes crashes the JIT compiler. -->
245+
<!-- Avoids occasional segfault. -->
245246
<plugin>
246247
<groupId>org.apache.maven.plugins</groupId>
247248
<artifactId>maven-surefire-plugin</artifactId>
249+
<version>${version.plugin.surefire}</version>
248250
<configuration>
249251
<excludes>
250252
<exclude>net.bytebuddy.description.type.TypeDescriptionArrayProjectionTest</exclude>
253+
<exclude>net.bytebuddy.description.annotation.AnnotationDescriptionForLoadedAnnotationDifferentClassLoaderTest</exclude>
251254
</excludes>
252255
</configuration>
253256
</plugin>
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<verification-metadata xmlns="https://schema.gradle.org/dependency-verification" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://schema.gradle.org/dependency-verification https://schema.gradle.org/dependency-verification/dependency-verification-1.1.xsd">
3+
<configuration>
4+
<verify-metadata>true</verify-metadata>
5+
<verify-signatures>false</verify-signatures>
6+
</configuration>
7+
<components>
8+
<component group="com.google.code.findbugs" name="findbugs-annotations" version="3.0.1">
9+
<artifact name="findbugs-annotations-3.0.1.jar">
10+
<sha256 value="8de57cec5c240788a4d5301f67d51921d584fb25bff3899695a53e7e46205a71" origin="Generated by Gradle"/>
11+
</artifact>
12+
<artifact name="findbugs-annotations-3.0.1.pom">
13+
<sha256 value="0f206795fd859a8e150af1294fe24e06d96267b5f2b8d2feb36156fc3e506b0f" origin="Generated by Gradle"/>
14+
</artifact>
15+
</component>
16+
<component group="com.google.code.findbugs" name="jsr305" version="3.0.2">
17+
<artifact name="jsr305-3.0.2.jar">
18+
<sha256 value="766ad2a0783f2687962c8ad74ceecc38a28b9f72a2d085ee438b7813e928d0c7" origin="Generated by Gradle"/>
19+
</artifact>
20+
<artifact name="jsr305-3.0.2.pom">
21+
<sha256 value="19889dbdf1b254b2601a5ee645b8147a974644882297684c798afe5d63d78dfe" origin="Generated by Gradle"/>
22+
</artifact>
23+
</component>
24+
<component group="com.gradle.plugin-publish" name="com.gradle.plugin-publish.gradle.plugin" version="1.0.0">
25+
<artifact name="com.gradle.plugin-publish.gradle.plugin-1.0.0.pom">
26+
<sha256 value="8e5a9777545442f2c5cf29c0abb264269bc8950d96546d0963e51c34ae95e28a" origin="Generated by Gradle"/>
27+
</artifact>
28+
</component>
29+
<component group="com.gradle.publish" name="plugin-publish-plugin" version="1.0.0">
30+
<artifact name="plugin-publish-plugin-1.0.0.jar">
31+
<sha256 value="34b81aba1dc0b18f9a35b0a28e800b460b6df105dcb92893c3a0e78276bd756c" origin="Generated by Gradle"/>
32+
</artifact>
33+
<artifact name="plugin-publish-plugin-1.0.0.module">
34+
<sha256 value="c4146775303234775df340840233ee4cec2018f15bc6672997bb734e79971d7d" origin="Generated by Gradle"/>
35+
</artifact>
36+
</component>
37+
<component group="junit" name="junit" version="4.13.2">
38+
<artifact name="junit-4.13.2.jar">
39+
<sha256 value="8e495b634469d64fb8acfa3495a065cbacc8a0fff55ce1e31007be4c16dc57d3" origin="Generated by Gradle"/>
40+
</artifact>
41+
<artifact name="junit-4.13.2.pom">
42+
<sha256 value="569b6977ee4603c965c1c46c3058fa6e969291b0160eb6964dd092cd89eadd94" origin="Generated by Gradle"/>
43+
</artifact>
44+
</component>
45+
<component group="org.apache" name="apache" version="21">
46+
<artifact name="apache-21.pom">
47+
<sha256 value="af10c108da014f17cafac7b52b2b4b5a3a1c18265fa2af97a325d9143537b380" origin="Generated by Gradle"/>
48+
</artifact>
49+
</component>
50+
<component group="org.apache.maven" name="maven" version="3.6.3">
51+
<artifact name="maven-3.6.3.pom">
52+
<sha256 value="d2d86245ea66149bc14d2dd72bbb961f964dd658b809a0573252c06531eeec16" origin="Generated by Gradle"/>
53+
</artifact>
54+
</component>
55+
<component group="org.apache.maven" name="maven-model" version="3.6.3">
56+
<artifact name="maven-model-3.6.3.jar">
57+
<sha256 value="17cef1f58e146ef0d7d9e96b3b92d98a1d6fd7d2b3288ba538e8ff1e0d9160cf" origin="Generated by Gradle"/>
58+
</artifact>
59+
<artifact name="maven-model-3.6.3.pom">
60+
<sha256 value="7c720e8cb03d285c71cd6e334d9c9e596062bdd310ee0ad15f5c479a993154f0" origin="Generated by Gradle"/>
61+
</artifact>
62+
</component>
63+
<component group="org.apache.maven" name="maven-parent" version="33">
64+
<artifact name="maven-parent-33.pom">
65+
<sha256 value="3856e3fcd169502d5f12fe2452604ebf6c7c025f15656bfa558ea99ed29d73ea" origin="Generated by Gradle"/>
66+
</artifact>
67+
</component>
68+
<component group="org.hamcrest" name="hamcrest-core" version="1.3">
69+
<artifact name="hamcrest-core-1.3.jar">
70+
<sha256 value="66fdef91e9739348df7a096aa384a5685f4e875584cce89386a7a47251c4d8e9" origin="Generated by Gradle"/>
71+
</artifact>
72+
<artifact name="hamcrest-core-1.3.pom">
73+
<sha256 value="fde386a7905173a1b103de6ab820727584b50d0e32282e2797787c20a64ffa93" origin="Generated by Gradle"/>
74+
</artifact>
75+
</component>
76+
<component group="org.hamcrest" name="hamcrest-parent" version="1.3">
77+
<artifact name="hamcrest-parent-1.3.pom">
78+
<sha256 value="6d535f94efb663bdb682c9f27a50335394688009642ba7a9677504bc1be4129b" origin="Generated by Gradle"/>
79+
</artifact>
80+
</component>
81+
<component group="org.mockito" name="mockito-core" version="2.28.2">
82+
<artifact name="mockito-core-2.28.2.jar">
83+
<sha256 value="b0af36fed3a6c2147c0cd9028a1d814fd4f4e8196c539f2befddb61ca6ec9e27" origin="Generated by Gradle"/>
84+
</artifact>
85+
<artifact name="mockito-core-2.28.2.pom">
86+
<sha256 value="b3bf322abfee6c054935d68ddbb785a90f7934a97a17fcd140a4e6ad58e59d53" origin="Generated by Gradle"/>
87+
</artifact>
88+
</component>
89+
<component group="org.objenesis" name="objenesis" version="2.6">
90+
<artifact name="objenesis-2.6.jar">
91+
<sha256 value="5e168368fbc250af3c79aa5fef0c3467a2d64e5a7bd74005f25d8399aeb0708d" origin="Generated by Gradle"/>
92+
</artifact>
93+
<artifact name="objenesis-2.6.pom">
94+
<sha256 value="4c1307909dc62df1bd91f075503f8bdef5ae445e13353f1752af9448bea1d3f1" origin="Generated by Gradle"/>
95+
</artifact>
96+
</component>
97+
<component group="org.objenesis" name="objenesis-parent" version="2.6">
98+
<artifact name="objenesis-parent-2.6.pom">
99+
<sha256 value="3825feca2a3c176400b063dec7c6b0643e2b5256bbbfd4e0a7c11e0dd0983baa" origin="Generated by Gradle"/>
100+
</artifact>
101+
</component>
102+
<component group="org.sonatype.oss" name="oss-parent" version="7">
103+
<artifact name="oss-parent-7.pom">
104+
<sha256 value="b51f8867c92b6a722499557fc3a1fdea77bdf9ef574722fe90ce436a29559454" origin="Generated by Gradle"/>
105+
</artifact>
106+
</component>
107+
</components>
108+
</verification-metadata>

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@
205205
<include>net/bytebuddy/**</include>
206206
</includes>
207207
<excludes>
208+
<!-- Do not include JMH generated classes (both modern and legacy JMH).-->
209+
<exclude>net/bytebuddy/*/generated/*</exclude>
210+
<exclude>net/bytebuddy/*/jmh_generated/*</exclude>
208211
<!-- Avoid adding synthetic members to test classes as test assert class members. -->
209212
<exclude>*Test*</exclude>
210213
<exclude>*test*</exclude>

0 commit comments

Comments
 (0)