byte-buddy-1.9.5.pom 9.7 KB

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