byte-buddy-1.10.13.pom 10 KB

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