byte-buddy-1.10.19.pom 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  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.10.19</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. <plugins>
  21. <plugin>
  22. <artifactId>maven-shade-plugin</artifactId>
  23. <version>${version.plugin.shade}</version>
  24. <executions>
  25. <execution>
  26. <phase>package</phase>
  27. <goals>
  28. <goal>shade</goal>
  29. </goals>
  30. <configuration>
  31. <shadedArtifactAttached>false</shadedArtifactAttached>
  32. <createDependencyReducedPom>true</createDependencyReducedPom>
  33. <createSourcesJar>${bytebuddy.extras}</createSourcesJar>
  34. <shadeSourcesContent>true</shadeSourcesContent>
  35. <relocations>
  36. <relocation>
  37. <pattern>${shade.source}</pattern>
  38. <shadedPattern>${shade.target}</shadedPattern>
  39. </relocation>
  40. </relocations>
  41. <filters>
  42. <filter>
  43. <artifact>net.bytebuddy:byte-buddy-dep:*</artifact>
  44. <excludes>
  45. <exclude>META-INF/MANIFEST.MF</exclude>
  46. </excludes>
  47. </filter>
  48. <filter>
  49. <artifact>org.ow2.asm:*</artifact>
  50. <excludes>
  51. <exclude>META-INF/MANIFEST.MF</exclude>
  52. <exclude>**/module-info.class</exclude>
  53. <exclude>**/LICENSE</exclude>
  54. <exclude>**/NOTICE</exclude>
  55. </excludes>
  56. </filter>
  57. <filter>
  58. <artifact>org.ow2.asm:asm-commons</artifact>
  59. <includes>
  60. <include>org/objectweb/asm/commons/AnnotationRemapper.**</include>
  61. <include>org/objectweb/asm/commons/ClassRemapper.**</include>
  62. <include>org/objectweb/asm/commons/FieldRemapper.**</include>
  63. <include>org/objectweb/asm/commons/MethodRemapper.**</include>
  64. <include>org/objectweb/asm/commons/ModuleHashesAttribute.**</include>
  65. <include>org/objectweb/asm/commons/ModuleRemapper.**</include>
  66. <include>org/objectweb/asm/commons/RecordComponentRemapper.**</include>
  67. <include>org/objectweb/asm/commons/Remapper.**</include>
  68. <include>org/objectweb/asm/commons/SignatureRemapper.**</include>
  69. <include>org/objectweb/asm/commons/SimpleRemapper.**</include>
  70. </includes>
  71. </filter>
  72. </filters>
  73. <transformers>
  74. <transformer>
  75. <mainClass>net.bytebuddy.build.Plugin$Engine$Default</mainClass>
  76. </transformer>
  77. <transformer>
  78. <resource>META-INF/LICENSE</resource>
  79. </transformer>
  80. </transformers>
  81. </configuration>
  82. </execution>
  83. </executions>
  84. <dependencies>
  85. <dependency>
  86. <groupId>org.ow2.asm</groupId>
  87. <artifactId>asm</artifactId>
  88. <version>${version.asm}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.ow2.asm</groupId>
  92. <artifactId>asm-commons</artifactId>
  93. <version>${version.asm}</version>
  94. </dependency>
  95. </dependencies>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.pitest</groupId>
  99. <artifactId>pitest-maven</artifactId>
  100. <version>${version.plugin.pitest}</version>
  101. <configuration>
  102. <skip>true</skip>
  103. </configuration>
  104. </plugin>
  105. <plugin>
  106. <groupId>com.github.spotbugs</groupId>
  107. <artifactId>spotbugs-maven-plugin</artifactId>
  108. <version>${version.plugin.spotbugs}</version>
  109. <configuration>
  110. <skip>true</skip>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <artifactId>maven-jar-plugin</artifactId>
  115. <version>${version.plugin.jar}</version>
  116. <configuration>
  117. <archive>
  118. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  119. </archive>
  120. </configuration>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.apache.felix</groupId>
  124. <artifactId>maven-bundle-plugin</artifactId>
  125. <version>${version.plugin.bundle}</version>
  126. <executions>
  127. <execution>
  128. <phase>process-classes</phase>
  129. <goals>
  130. <goal>manifest</goal>
  131. </goals>
  132. </execution>
  133. </executions>
  134. <configuration>
  135. <instructions>
  136. <Multi-Release>true</Multi-Release>
  137. <Export-Package>${packages.list}</Export-Package>
  138. </instructions>
  139. </configuration>
  140. </plugin>
  141. <plugin>
  142. <groupId>codes.rafael.modulemaker</groupId>
  143. <artifactId>modulemaker-maven-plugin</artifactId>
  144. <version>${version.plugin.modulemaker}</version>
  145. <executions>
  146. <execution>
  147. <phase>package</phase>
  148. <goals>
  149. <goal>inject-module</goal>
  150. </goals>
  151. </execution>
  152. </executions>
  153. <dependencies>
  154. <dependency>
  155. <groupId>org.ow2.asm</groupId>
  156. <artifactId>asm</artifactId>
  157. <version>${version.asm}</version>
  158. </dependency>
  159. </dependencies>
  160. <configuration>
  161. <name>net.bytebuddy</name>
  162. <multirelease>true</multirelease>
  163. <packages>${packages.list}</packages>
  164. <exports>${packages.list}</exports>
  165. <static-requires>java.instrument,
  166. jdk.unsupported,
  167. net.bytebuddy.agent</static-requires>
  168. </configuration>
  169. </plugin>
  170. </plugins>
  171. </build>
  172. <profiles>
  173. <profile>
  174. <id>extras</id>
  175. <build>
  176. <plugins>
  177. <plugin>
  178. <artifactId>maven-source-plugin</artifactId>
  179. <version>3.0.1</version>
  180. <executions>
  181. <execution>
  182. <goals>
  183. <goal>jar</goal>
  184. </goals>
  185. <configuration>
  186. <skipSource>true</skipSource>
  187. </configuration>
  188. </execution>
  189. </executions>
  190. <configuration>
  191. <skipSource>true</skipSource>
  192. </configuration>
  193. </plugin>
  194. <plugin>
  195. <artifactId>maven-javadoc-plugin</artifactId>
  196. <version>2.10.4</version>
  197. <executions>
  198. <execution>
  199. <goals>
  200. <goal>jar</goal>
  201. </goals>
  202. <configuration>
  203. <includeDependencySources>true</includeDependencySources>
  204. <dependencySourceIncludes>
  205. <dependencySourceInclude>net.bytebuddy:byte-buddy-dep</dependencySourceInclude>
  206. </dependencySourceIncludes>
  207. <source>1.5</source>
  208. <detectJavaApiLink>true</detectJavaApiLink>
  209. <links>
  210. <link>https://asm.ow2.io/javadoc</link>
  211. </links>
  212. </configuration>
  213. </execution>
  214. </executions>
  215. <configuration>
  216. <includeDependencySources>true</includeDependencySources>
  217. <dependencySourceIncludes>
  218. <dependencySourceInclude>net.bytebuddy:byte-buddy-dep</dependencySourceInclude>
  219. </dependencySourceIncludes>
  220. <source>1.5</source>
  221. <detectJavaApiLink>true</detectJavaApiLink>
  222. <links>
  223. <link>https://asm.ow2.io/javadoc</link>
  224. </links>
  225. </configuration>
  226. </plugin>
  227. </plugins>
  228. </build>
  229. </profile>
  230. </profiles>
  231. <dependencies>
  232. <dependency>
  233. <groupId>com.google.code.findbugs</groupId>
  234. <artifactId>findbugs-annotations</artifactId>
  235. <version>3.0.1</version>
  236. <scope>provided</scope>
  237. </dependency>
  238. </dependencies>
  239. <properties>
  240. <shade.source>org.objectweb.asm</shade.source>
  241. <packages.list>net.bytebuddy,
  242. net.bytebuddy.agent.builder,
  243. net.bytebuddy.asm,
  244. net.bytebuddy.build,
  245. net.bytebuddy.description,
  246. net.bytebuddy.description.annotation,
  247. net.bytebuddy.description.enumeration,
  248. net.bytebuddy.description.field,
  249. net.bytebuddy.description.method,
  250. net.bytebuddy.description.modifier,
  251. net.bytebuddy.description.type,
  252. net.bytebuddy.dynamic,
  253. net.bytebuddy.dynamic.loading,
  254. net.bytebuddy.dynamic.scaffold,
  255. net.bytebuddy.dynamic.scaffold.inline,
  256. net.bytebuddy.dynamic.scaffold.subclass,
  257. net.bytebuddy.implementation,
  258. net.bytebuddy.implementation.attribute,
  259. net.bytebuddy.implementation.auxiliary,
  260. net.bytebuddy.implementation.bind,
  261. net.bytebuddy.implementation.bind.annotation,
  262. net.bytebuddy.implementation.bytecode,
  263. net.bytebuddy.implementation.bytecode.assign,
  264. net.bytebuddy.implementation.bytecode.assign.primitive,
  265. net.bytebuddy.implementation.bytecode.assign.reference,
  266. net.bytebuddy.implementation.bytecode.collection,
  267. net.bytebuddy.implementation.bytecode.constant,
  268. net.bytebuddy.implementation.bytecode.member,
  269. net.bytebuddy.matcher,
  270. net.bytebuddy.pool,
  271. net.bytebuddy.utility,
  272. net.bytebuddy.utility.privilege,
  273. net.bytebuddy.utility.visitor,
  274. ${shade.target},
  275. ${shade.target}.signature,
  276. ${shade.target}.commons</packages.list>
  277. <shade.target>net.bytebuddy.jar.asm</shade.target>
  278. </properties>
  279. </project>