pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>net.ranides</groupId>
  6. <artifactId>assira.project</artifactId>
  7. <version>2.8.2</version>
  8. </parent>
  9. <groupId>net.ranides</groupId>
  10. <artifactId>assira.asm</artifactId>
  11. <version>7.2</version>
  12. <packaging>jar</packaging>
  13. <name>${project.groupId}:${project.artifactId}</name>
  14. <description>assira: general purpose java library: shaded ASM</description>
  15. <build>
  16. <plugins>
  17. <plugin>
  18. <groupId>org.apache.maven.plugins</groupId>
  19. <artifactId>maven-shade-plugin</artifactId>
  20. <version>3.2.1</version>
  21. <executions>
  22. <execution>
  23. <phase>package</phase>
  24. <goals>
  25. <goal>shade</goal>
  26. </goals>
  27. <configuration>
  28. <shadedArtifactAttached>false</shadedArtifactAttached>
  29. <createDependencyReducedPom>true</createDependencyReducedPom>
  30. <minimizeJar>false</minimizeJar>
  31. <createSourcesJar>true</createSourcesJar>
  32. <artifactSet>
  33. <includes>
  34. <include>org.ow2.asm:*</include>
  35. </includes>
  36. </artifactSet>
  37. <filters>
  38. <filter>
  39. <artifact>org.ow2.asm:*</artifact>
  40. <excludes>
  41. <exclude>META-INF/**</exclude>
  42. </excludes>
  43. </filter>
  44. </filters>
  45. <relocations>
  46. <relocation>
  47. <pattern>org.objectweb.asm</pattern>
  48. <shadedPattern>net.ranides.asm</shadedPattern>
  49. </relocation>
  50. </relocations>
  51. </configuration>
  52. </execution>
  53. </executions>
  54. </plugin>
  55. </plugins>
  56. </build>
  57. <dependencies>
  58. <dependency>
  59. <groupId>org.ow2.asm</groupId>
  60. <artifactId>asm</artifactId>
  61. <version>7.2</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.ow2.asm</groupId>
  65. <artifactId>asm-commons</artifactId>
  66. <version>7.2</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.ow2.asm</groupId>
  70. <artifactId>asm-util</artifactId>
  71. <version>7.2</version>
  72. </dependency>
  73. </dependencies>
  74. </project>