byte-buddy-1.15.11.pom 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <parent>
  4. <artifactId>byte-buddy-parent</artifactId>
  5. <groupId>net.bytebuddy</groupId>
  6. <version>1.15.11</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>byte-buddy</artifactId>
  10. <name>Byte Buddy (without dependencies)</name>
  11. <description>Byte Buddy is a Java library for creating Java classes at run time.
  12. This artifact is a build of Byte Buddy with all ASM dependencies repackaged into its own name space.</description>
  13. <build>
  14. <resources>
  15. <resource>
  16. <filtering>true</filtering>
  17. <directory>src/main/resources</directory>
  18. </resource>
  19. </resources>
  20. <pluginManagement>
  21. <plugins>
  22. <plugin>
  23. <artifactId>maven-javadoc-plugin</artifactId>
  24. <version>${version.plugin.javadoc}</version>
  25. <configuration>
  26. <includeDependencySources>true</includeDependencySources>
  27. <dependencySourceIncludes>
  28. <dependencySourceInclude>${project.groupId}:byte-buddy-dep</dependencySourceInclude>
  29. </dependencySourceIncludes>
  30. </configuration>
  31. </plugin>
  32. </plugins>
  33. </pluginManagement>
  34. <plugins>
  35. <plugin>
  36. <groupId>org.pitest</groupId>
  37. <artifactId>pitest-maven</artifactId>
  38. <version>${version.plugin.pitest}</version>
  39. <configuration>
  40. <skip>true</skip>
  41. </configuration>
  42. </plugin>
  43. <plugin>
  44. <groupId>com.github.spotbugs</groupId>
  45. <artifactId>spotbugs-maven-plugin</artifactId>
  46. <version>${version.plugin.spotbugs}</version>
  47. <configuration>
  48. <skip>true</skip>
  49. </configuration>
  50. </plugin>
  51. <plugin>
  52. <artifactId>maven-jar-plugin</artifactId>
  53. <version>${version.plugin.jar}</version>
  54. <configuration>
  55. <archive>
  56. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  57. </archive>
  58. </configuration>
  59. </plugin>
  60. <plugin>
  61. <groupId>org.apache.felix</groupId>
  62. <artifactId>maven-bundle-plugin</artifactId>
  63. <version>${version.plugin.bundle}</version>
  64. <executions>
  65. <execution>
  66. <phase>process-classes</phase>
  67. <goals>
  68. <goal>manifest</goal>
  69. </goals>
  70. <configuration>
  71. <instructions>
  72. <Multi-Release>true</Multi-Release>
  73. <Export-Package>${packages.list.external}</Export-Package>
  74. </instructions>
  75. </configuration>
  76. </execution>
  77. </executions>
  78. </plugin>
  79. <plugin>
  80. <groupId>codes.rafael.modulemaker</groupId>
  81. <artifactId>modulemaker-maven-plugin</artifactId>
  82. <version>${version.plugin.modulemaker}</version>
  83. <executions>
  84. <execution>
  85. <phase>package</phase>
  86. <goals>
  87. <goal>inject-module</goal>
  88. </goals>
  89. <configuration>
  90. <skip>${modulemaker.skip}</skip>
  91. <name>${project.groupId}</name>
  92. <version>${project.version}</version>
  93. <multirelease>true</multirelease>
  94. <packages>${packages.list.external},${packages.list.internal}</packages>
  95. <exports>${packages.list.external}</exports>
  96. <static-requires>java.instrument,
  97. java.management,
  98. jdk.unsupported,
  99. net.bytebuddy.agent,
  100. com.sun.jna,
  101. com.sun.jna.platform</static-requires>
  102. <main-class>net.bytebuddy.build.Plugin$Engine$Default</main-class>
  103. </configuration>
  104. </execution>
  105. </executions>
  106. <dependencies>
  107. <dependency>
  108. <groupId>org.ow2.asm</groupId>
  109. <artifactId>asm</artifactId>
  110. <version>${version.asm}</version>
  111. </dependency>
  112. </dependencies>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. <profiles>
  117. <profile>
  118. <id>extras</id>
  119. <build>
  120. <plugins>
  121. <plugin>
  122. <artifactId>maven-source-plugin</artifactId>
  123. <version>${version.plugin.source}</version>
  124. <configuration>
  125. <skipSource>true</skipSource>
  126. </configuration>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. </profile>
  131. <profile>
  132. <id>shade-current</id>
  133. <build>
  134. <plugins>
  135. <plugin>
  136. <artifactId>maven-shade-plugin</artifactId>
  137. <version>${version.plugin.shade}</version>
  138. <executions>
  139. <execution>
  140. <phase>package</phase>
  141. <goals>
  142. <goal>shade</goal>
  143. </goals>
  144. <configuration>
  145. <shadedArtifactAttached>false</shadedArtifactAttached>
  146. <createDependencyReducedPom>true</createDependencyReducedPom>
  147. <createSourcesJar>${bytebuddy.extras}</createSourcesJar>
  148. <shadeSourcesContent>true</shadeSourcesContent>
  149. <relocations>
  150. <relocation>
  151. <pattern>${shade.source}</pattern>
  152. <shadedPattern>${shade.target}</shadedPattern>
  153. </relocation>
  154. </relocations>
  155. <filters>
  156. <filter>
  157. <artifact>net.bytebuddy:byte-buddy-dep:*</artifact>
  158. <excludes>
  159. <exclude>META-INF/MANIFEST.MF</exclude>
  160. <exclude>META-INF/maven/**</exclude>
  161. </excludes>
  162. </filter>
  163. <filter>
  164. <artifact>org.ow2.asm:*</artifact>
  165. <excludes>
  166. <exclude>META-INF/MANIFEST.MF</exclude>
  167. <exclude>**/module-info.class</exclude>
  168. <exclude>**/LICENSE</exclude>
  169. <exclude>**/NOTICE</exclude>
  170. </excludes>
  171. </filter>
  172. <filter>
  173. <artifact>org.ow2.asm:asm-commons</artifact>
  174. <includes>
  175. <include>org/objectweb/asm/commons/AnnotationRemapper.**</include>
  176. <include>org/objectweb/asm/commons/ClassRemapper.**</include>
  177. <include>org/objectweb/asm/commons/FieldRemapper.**</include>
  178. <include>org/objectweb/asm/commons/MethodRemapper.**</include>
  179. <include>org/objectweb/asm/commons/ModuleHashesAttribute.**</include>
  180. <include>org/objectweb/asm/commons/ModuleRemapper.**</include>
  181. <include>org/objectweb/asm/commons/RecordComponentRemapper.**</include>
  182. <include>org/objectweb/asm/commons/Remapper.**</include>
  183. <include>org/objectweb/asm/commons/SignatureRemapper.**</include>
  184. <include>org/objectweb/asm/commons/SimpleRemapper.**</include>
  185. </includes>
  186. </filter>
  187. </filters>
  188. <transformers>
  189. <transformer>
  190. <mainClass>net.bytebuddy.build.Plugin$Engine$Default</mainClass>
  191. </transformer>
  192. <transformer>
  193. <forShade>sources-jar</forShade>
  194. <manifestEntries />
  195. </transformer>
  196. <transformer>
  197. <resource>META-INF/LICENSE</resource>
  198. </transformer>
  199. </transformers>
  200. </configuration>
  201. </execution>
  202. </executions>
  203. <dependencies>
  204. <dependency>
  205. <groupId>org.ow2.asm</groupId>
  206. <artifactId>asm</artifactId>
  207. <version>${version.asm}</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.ow2.asm</groupId>
  211. <artifactId>asm-commons</artifactId>
  212. <version>${version.asm}</version>
  213. </dependency>
  214. </dependencies>
  215. </plugin>
  216. </plugins>
  217. </build>
  218. </profile>
  219. <profile>
  220. <id>shade-legacy</id>
  221. <build>
  222. <plugins>
  223. <plugin>
  224. <artifactId>maven-shade-plugin</artifactId>
  225. <version>${version.plugin.shade}</version>
  226. <executions>
  227. <execution>
  228. <phase>package</phase>
  229. <goals>
  230. <goal>shade</goal>
  231. </goals>
  232. <configuration>
  233. <shadedArtifactAttached>false</shadedArtifactAttached>
  234. <createDependencyReducedPom>true</createDependencyReducedPom>
  235. <createSourcesJar>${bytebuddy.extras}</createSourcesJar>
  236. <shadeSourcesContent>true</shadeSourcesContent>
  237. <relocations>
  238. <relocation>
  239. <pattern>${shade.source}</pattern>
  240. <shadedPattern>${shade.target}</shadedPattern>
  241. </relocation>
  242. </relocations>
  243. <filters>
  244. <filter>
  245. <artifact>net.bytebuddy:byte-buddy-dep:*</artifact>
  246. <excludes>
  247. <exclude>META-INF/MANIFEST.MF</exclude>
  248. </excludes>
  249. </filter>
  250. <filter>
  251. <artifact>org.ow2.asm:*</artifact>
  252. <excludes>
  253. <exclude>META-INF/MANIFEST.MF</exclude>
  254. <exclude>**/module-info.class</exclude>
  255. <exclude>**/LICENSE</exclude>
  256. <exclude>**/NOTICE</exclude>
  257. </excludes>
  258. </filter>
  259. <filter>
  260. <artifact>org.ow2.asm:asm-commons</artifact>
  261. <includes>
  262. <include>org/objectweb/asm/commons/AnnotationRemapper.**</include>
  263. <include>org/objectweb/asm/commons/ClassRemapper.**</include>
  264. <include>org/objectweb/asm/commons/FieldRemapper.**</include>
  265. <include>org/objectweb/asm/commons/MethodRemapper.**</include>
  266. <include>org/objectweb/asm/commons/ModuleHashesAttribute.**</include>
  267. <include>org/objectweb/asm/commons/ModuleRemapper.**</include>
  268. <include>org/objectweb/asm/commons/RecordComponentRemapper.**</include>
  269. <include>org/objectweb/asm/commons/Remapper.**</include>
  270. <include>org/objectweb/asm/commons/SignatureRemapper.**</include>
  271. <include>org/objectweb/asm/commons/SimpleRemapper.**</include>
  272. </includes>
  273. </filter>
  274. </filters>
  275. <transformers>
  276. <transformer>
  277. <mainClass>net.bytebuddy.build.Plugin$Engine$Default</mainClass>
  278. </transformer>
  279. <transformer>
  280. <resource>META-INF/LICENSE</resource>
  281. </transformer>
  282. </transformers>
  283. </configuration>
  284. </execution>
  285. </executions>
  286. <dependencies>
  287. <dependency>
  288. <groupId>org.ow2.asm</groupId>
  289. <artifactId>asm</artifactId>
  290. <version>${version.asm}</version>
  291. </dependency>
  292. <dependency>
  293. <groupId>org.ow2.asm</groupId>
  294. <artifactId>asm-commons</artifactId>
  295. <version>${version.asm}</version>
  296. </dependency>
  297. </dependencies>
  298. </plugin>
  299. </plugins>
  300. </build>
  301. </profile>
  302. <profile>
  303. <id>multi-release</id>
  304. <build>
  305. <plugins>
  306. <plugin>
  307. <groupId>codes.rafael.bytecodeupdate</groupId>
  308. <artifactId>bytecode-update-maven-plugin</artifactId>
  309. <version>${version.plugin.bytecode-update}</version>
  310. <executions>
  311. <execution>
  312. <id>multi-release</id>
  313. <phase>prepare-package</phase>
  314. <goals>
  315. <goal>update-bytecode</goal>
  316. </goals>
  317. <configuration>
  318. <outputDirectory>${project.build.outputDirectory}/META-INF/versions/9</outputDirectory>
  319. <oldPackage>${shade.source}</oldPackage>
  320. <newPackage>${shade.target}</newPackage>
  321. <artifacts>
  322. <artifact>org\.ow2\.asm:.*</artifact>
  323. </artifacts>
  324. <includes>
  325. <include>org/objectweb/asm/[a-zA-Z0-9$\.]+</include>
  326. <include>org/objectweb/asm/signature/[a-zA-Z0-9$\.]+</include>
  327. <include>org/objectweb/asm/commons/.*Remapper.*</include>
  328. <include>org/objectweb/asm/commons/ModuleHashesAttribute[a-zA-Z0-9$\.]*.class</include>
  329. </includes>
  330. </configuration>
  331. </execution>
  332. </executions>
  333. <dependencies>
  334. <dependency>
  335. <groupId>org.ow2.asm</groupId>
  336. <artifactId>asm-commons</artifactId>
  337. <version>${version.asm}</version>
  338. </dependency>
  339. </dependencies>
  340. </plugin>
  341. </plugins>
  342. </build>
  343. </profile>
  344. </profiles>
  345. <dependencies>
  346. <dependency>
  347. <groupId>net.java.dev.jna</groupId>
  348. <artifactId>jna</artifactId>
  349. <version>5.12.1</version>
  350. <scope>provided</scope>
  351. </dependency>
  352. <dependency>
  353. <groupId>net.java.dev.jna</groupId>
  354. <artifactId>jna-platform</artifactId>
  355. <version>5.12.1</version>
  356. <scope>provided</scope>
  357. </dependency>
  358. <dependency>
  359. <groupId>com.google.code.findbugs</groupId>
  360. <artifactId>findbugs-annotations</artifactId>
  361. <version>3.0.1</version>
  362. <scope>provided</scope>
  363. </dependency>
  364. <dependency>
  365. <groupId>com.google.code.findbugs</groupId>
  366. <artifactId>jsr305</artifactId>
  367. <version>3.0.2</version>
  368. <scope>provided</scope>
  369. </dependency>
  370. </dependencies>
  371. <properties>
  372. <japicmp.skip>true</japicmp.skip>
  373. <packages.list.external>net.bytebuddy,
  374. net.bytebuddy.agent.builder,
  375. net.bytebuddy.asm,
  376. net.bytebuddy.build,
  377. net.bytebuddy.description,
  378. net.bytebuddy.description.annotation,
  379. net.bytebuddy.description.enumeration,
  380. net.bytebuddy.description.field,
  381. net.bytebuddy.description.method,
  382. net.bytebuddy.description.modifier,
  383. net.bytebuddy.description.type,
  384. net.bytebuddy.dynamic,
  385. net.bytebuddy.dynamic.loading,
  386. net.bytebuddy.dynamic.scaffold,
  387. net.bytebuddy.dynamic.scaffold.inline,
  388. net.bytebuddy.dynamic.scaffold.subclass,
  389. net.bytebuddy.implementation,
  390. net.bytebuddy.implementation.attribute,
  391. net.bytebuddy.implementation.auxiliary,
  392. net.bytebuddy.implementation.bind,
  393. net.bytebuddy.implementation.bind.annotation,
  394. net.bytebuddy.implementation.bytecode,
  395. net.bytebuddy.implementation.bytecode.assign,
  396. net.bytebuddy.implementation.bytecode.assign.primitive,
  397. net.bytebuddy.implementation.bytecode.assign.reference,
  398. net.bytebuddy.implementation.bytecode.collection,
  399. net.bytebuddy.implementation.bytecode.constant,
  400. net.bytebuddy.implementation.bytecode.member,
  401. net.bytebuddy.matcher,
  402. net.bytebuddy.pool,
  403. net.bytebuddy.utility,
  404. net.bytebuddy.utility.nullability,
  405. net.bytebuddy.utility.privilege,
  406. net.bytebuddy.utility.visitor,
  407. ${shade.target},
  408. ${shade.target}.signature,
  409. ${shade.target}.commons</packages.list.external>
  410. <shade.source>org.objectweb.asm</shade.source>
  411. <shade.target>net.bytebuddy.jar.asm</shade.target>
  412. <packages.list.internal>net.bytebuddy.utility.dispatcher</packages.list.internal>
  413. </properties>
  414. </project>