pom.xml 2.6 KB

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