byte-buddy-1.10.5.pom 10 KB

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