byte-buddy-1.14.16.pom 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  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.14.16</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>3.2.1</version>
  124. <executions>
  125. <execution>
  126. <goals>
  127. <goal>jar</goal>
  128. </goals>
  129. <configuration>
  130. <skipSource>true</skipSource>
  131. </configuration>
  132. </execution>
  133. </executions>
  134. <configuration>
  135. <skipSource>true</skipSource>
  136. </configuration>
  137. </plugin>
  138. </plugins>
  139. </build>
  140. </profile>
  141. <profile>
  142. <id>shade-current</id>
  143. <build>
  144. <plugins>
  145. <plugin>
  146. <artifactId>maven-shade-plugin</artifactId>
  147. <version>3.5.2</version>
  148. <executions>
  149. <execution>
  150. <phase>package</phase>
  151. <goals>
  152. <goal>shade</goal>
  153. </goals>
  154. <configuration>
  155. <shadedArtifactAttached>false</shadedArtifactAttached>
  156. <createDependencyReducedPom>true</createDependencyReducedPom>
  157. <createSourcesJar>true</createSourcesJar>
  158. <shadeSourcesContent>true</shadeSourcesContent>
  159. <relocations>
  160. <relocation>
  161. <pattern>org.objectweb.asm</pattern>
  162. <shadedPattern>net.bytebuddy.jar.asm</shadedPattern>
  163. </relocation>
  164. </relocations>
  165. <filters>
  166. <filter>
  167. <artifact>net.bytebuddy:byte-buddy-dep:*</artifact>
  168. <excludes>
  169. <exclude>META-INF/MANIFEST.MF</exclude>
  170. <exclude>META-INF/maven/**</exclude>
  171. </excludes>
  172. </filter>
  173. <filter>
  174. <artifact>org.ow2.asm:*</artifact>
  175. <excludes>
  176. <exclude>META-INF/MANIFEST.MF</exclude>
  177. <exclude>**/module-info.class</exclude>
  178. <exclude>**/LICENSE</exclude>
  179. <exclude>**/NOTICE</exclude>
  180. </excludes>
  181. </filter>
  182. <filter>
  183. <artifact>org.ow2.asm:asm-commons</artifact>
  184. <includes>
  185. <include>org/objectweb/asm/commons/AnnotationRemapper.**</include>
  186. <include>org/objectweb/asm/commons/ClassRemapper.**</include>
  187. <include>org/objectweb/asm/commons/FieldRemapper.**</include>
  188. <include>org/objectweb/asm/commons/MethodRemapper.**</include>
  189. <include>org/objectweb/asm/commons/ModuleHashesAttribute.**</include>
  190. <include>org/objectweb/asm/commons/ModuleRemapper.**</include>
  191. <include>org/objectweb/asm/commons/RecordComponentRemapper.**</include>
  192. <include>org/objectweb/asm/commons/Remapper.**</include>
  193. <include>org/objectweb/asm/commons/SignatureRemapper.**</include>
  194. <include>org/objectweb/asm/commons/SimpleRemapper.**</include>
  195. </includes>
  196. </filter>
  197. </filters>
  198. <transformers>
  199. <transformer>
  200. <mainClass>net.bytebuddy.build.Plugin$Engine$Default</mainClass>
  201. </transformer>
  202. <transformer>
  203. <forShade>sources-jar</forShade>
  204. <manifestEntries />
  205. </transformer>
  206. <transformer>
  207. <resource>META-INF/LICENSE</resource>
  208. </transformer>
  209. </transformers>
  210. </configuration>
  211. </execution>
  212. </executions>
  213. <dependencies>
  214. <dependency>
  215. <groupId>org.ow2.asm</groupId>
  216. <artifactId>asm</artifactId>
  217. <version>9.7</version>
  218. <scope>compile</scope>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.ow2.asm</groupId>
  222. <artifactId>asm-commons</artifactId>
  223. <version>9.7</version>
  224. <scope>compile</scope>
  225. </dependency>
  226. </dependencies>
  227. </plugin>
  228. </plugins>
  229. </build>
  230. </profile>
  231. <profile>
  232. <id>shade-legacy</id>
  233. <build>
  234. <plugins>
  235. <plugin>
  236. <artifactId>maven-shade-plugin</artifactId>
  237. <version>${version.plugin.shade}</version>
  238. <executions>
  239. <execution>
  240. <phase>package</phase>
  241. <goals>
  242. <goal>shade</goal>
  243. </goals>
  244. <configuration>
  245. <shadedArtifactAttached>false</shadedArtifactAttached>
  246. <createDependencyReducedPom>true</createDependencyReducedPom>
  247. <createSourcesJar>${bytebuddy.extras}</createSourcesJar>
  248. <shadeSourcesContent>true</shadeSourcesContent>
  249. <relocations>
  250. <relocation>
  251. <pattern>${shade.source}</pattern>
  252. <shadedPattern>${shade.target}</shadedPattern>
  253. </relocation>
  254. </relocations>
  255. <filters>
  256. <filter>
  257. <artifact>net.bytebuddy:byte-buddy-dep:*</artifact>
  258. <excludes>
  259. <exclude>META-INF/MANIFEST.MF</exclude>
  260. </excludes>
  261. </filter>
  262. <filter>
  263. <artifact>org.ow2.asm:*</artifact>
  264. <excludes>
  265. <exclude>META-INF/MANIFEST.MF</exclude>
  266. <exclude>**/module-info.class</exclude>
  267. <exclude>**/LICENSE</exclude>
  268. <exclude>**/NOTICE</exclude>
  269. </excludes>
  270. </filter>
  271. <filter>
  272. <artifact>org.ow2.asm:asm-commons</artifact>
  273. <includes>
  274. <include>org/objectweb/asm/commons/AnnotationRemapper.**</include>
  275. <include>org/objectweb/asm/commons/ClassRemapper.**</include>
  276. <include>org/objectweb/asm/commons/FieldRemapper.**</include>
  277. <include>org/objectweb/asm/commons/MethodRemapper.**</include>
  278. <include>org/objectweb/asm/commons/ModuleHashesAttribute.**</include>
  279. <include>org/objectweb/asm/commons/ModuleRemapper.**</include>
  280. <include>org/objectweb/asm/commons/RecordComponentRemapper.**</include>
  281. <include>org/objectweb/asm/commons/Remapper.**</include>
  282. <include>org/objectweb/asm/commons/SignatureRemapper.**</include>
  283. <include>org/objectweb/asm/commons/SimpleRemapper.**</include>
  284. </includes>
  285. </filter>
  286. </filters>
  287. <transformers>
  288. <transformer>
  289. <mainClass>net.bytebuddy.build.Plugin$Engine$Default</mainClass>
  290. </transformer>
  291. <transformer>
  292. <resource>META-INF/LICENSE</resource>
  293. </transformer>
  294. </transformers>
  295. </configuration>
  296. </execution>
  297. </executions>
  298. <dependencies>
  299. <dependency>
  300. <groupId>org.ow2.asm</groupId>
  301. <artifactId>asm</artifactId>
  302. <version>${version.asm}</version>
  303. </dependency>
  304. <dependency>
  305. <groupId>org.ow2.asm</groupId>
  306. <artifactId>asm-commons</artifactId>
  307. <version>${version.asm}</version>
  308. </dependency>
  309. </dependencies>
  310. </plugin>
  311. </plugins>
  312. </build>
  313. </profile>
  314. </profiles>
  315. <dependencies>
  316. <dependency>
  317. <groupId>net.java.dev.jna</groupId>
  318. <artifactId>jna</artifactId>
  319. <version>5.12.1</version>
  320. <scope>provided</scope>
  321. </dependency>
  322. <dependency>
  323. <groupId>net.java.dev.jna</groupId>
  324. <artifactId>jna-platform</artifactId>
  325. <version>5.12.1</version>
  326. <scope>provided</scope>
  327. </dependency>
  328. <dependency>
  329. <groupId>com.google.code.findbugs</groupId>
  330. <artifactId>findbugs-annotations</artifactId>
  331. <version>3.0.1</version>
  332. <scope>provided</scope>
  333. </dependency>
  334. <dependency>
  335. <groupId>com.google.code.findbugs</groupId>
  336. <artifactId>jsr305</artifactId>
  337. <version>3.0.2</version>
  338. <scope>provided</scope>
  339. </dependency>
  340. </dependencies>
  341. <properties>
  342. <japicmp.skip>true</japicmp.skip>
  343. <packages.list.external>net.bytebuddy,
  344. net.bytebuddy.agent.builder,
  345. net.bytebuddy.asm,
  346. net.bytebuddy.build,
  347. net.bytebuddy.description,
  348. net.bytebuddy.description.annotation,
  349. net.bytebuddy.description.enumeration,
  350. net.bytebuddy.description.field,
  351. net.bytebuddy.description.method,
  352. net.bytebuddy.description.modifier,
  353. net.bytebuddy.description.type,
  354. net.bytebuddy.dynamic,
  355. net.bytebuddy.dynamic.loading,
  356. net.bytebuddy.dynamic.scaffold,
  357. net.bytebuddy.dynamic.scaffold.inline,
  358. net.bytebuddy.dynamic.scaffold.subclass,
  359. net.bytebuddy.implementation,
  360. net.bytebuddy.implementation.attribute,
  361. net.bytebuddy.implementation.auxiliary,
  362. net.bytebuddy.implementation.bind,
  363. net.bytebuddy.implementation.bind.annotation,
  364. net.bytebuddy.implementation.bytecode,
  365. net.bytebuddy.implementation.bytecode.assign,
  366. net.bytebuddy.implementation.bytecode.assign.primitive,
  367. net.bytebuddy.implementation.bytecode.assign.reference,
  368. net.bytebuddy.implementation.bytecode.collection,
  369. net.bytebuddy.implementation.bytecode.constant,
  370. net.bytebuddy.implementation.bytecode.member,
  371. net.bytebuddy.matcher,
  372. net.bytebuddy.pool,
  373. net.bytebuddy.utility,
  374. net.bytebuddy.utility.nullability,
  375. net.bytebuddy.utility.privilege,
  376. net.bytebuddy.utility.visitor,
  377. ${shade.target},
  378. ${shade.target}.signature,
  379. ${shade.target}.commons</packages.list.external>
  380. <shade.source>org.objectweb.asm</shade.source>
  381. <shade.target>net.bytebuddy.jar.asm</shade.target>
  382. <packages.list.internal>net.bytebuddy.utility.dispatcher</packages.list.internal>
  383. </properties>
  384. </project>