pom.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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.common</artifactId>
  7. <version>2.0.0</version>
  8. </parent>
  9. <groupId>net.ranides</groupId>
  10. <artifactId>assira.asm</artifactId>
  11. <version>5.0.4</version>
  12. <packaging>jar</packaging>
  13. <build>
  14. <plugins>
  15. <plugin>
  16. <groupId>org.apache.maven.plugins</groupId>
  17. <artifactId>maven-shade-plugin</artifactId>
  18. <version>1.4</version>
  19. <executions>
  20. <execution>
  21. <phase>package</phase>
  22. <goals>
  23. <goal>shade</goal>
  24. </goals>
  25. <configuration>
  26. <shadedArtifactAttached>false</shadedArtifactAttached>
  27. <createDependencyReducedPom>true</createDependencyReducedPom>
  28. <minimizeJar>false</minimizeJar>
  29. <createSourcesJar>true</createSourcesJar>
  30. <artifactSet>
  31. <includes>
  32. <include>org.ow2.asm:*</include>
  33. </includes>
  34. </artifactSet>
  35. <filters>
  36. <filter>
  37. <artifact>org.ow2.asm:*</artifact>
  38. <excludes>
  39. <exclude>META-INF/**</exclude>
  40. </excludes>
  41. </filter>
  42. </filters>
  43. <relocations>
  44. <relocation>
  45. <pattern>org.objectweb.asm</pattern>
  46. <shadedPattern>net.ranides.asm</shadedPattern>
  47. </relocation>
  48. </relocations>
  49. </configuration>
  50. </execution>
  51. </executions>
  52. </plugin>
  53. </plugins>
  54. </build>
  55. <dependencies>
  56. <dependency>
  57. <groupId>org.ow2.asm</groupId>
  58. <artifactId>asm-all</artifactId>
  59. <version>5.0.4</version>
  60. </dependency>
  61. </dependencies>
  62. </project>