/opennms-assemblies/rxtx-assembly/pom.xml

https://github.com/ajakubo1/opennms · XML · 77 lines · 76 code · 0 blank · 1 comment · 0 complexity · aac58c886e755262097ce7e8e0f42855 MD5 · raw file

  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>opennms</artifactId>
  5. <groupId>org.opennms</groupId>
  6. <version>1.13.5-SNAPSHOT</version>
  7. <relativePath>../../pom.xml</relativePath>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>opennms-rxtx-assembly</artifactId>
  11. <packaging>pom</packaging>
  12. <name>OpenNMS RXTX Assembly</name>
  13. <build>
  14. <plugins>
  15. <plugin>
  16. <artifactId>maven-deploy-plugin</artifactId>
  17. <configuration>
  18. <skip>true</skip>
  19. </configuration>
  20. </plugin>
  21. <plugin>
  22. <groupId>org.apache.maven.plugins</groupId>
  23. <artifactId>maven-dependency-plugin</artifactId>
  24. <executions>
  25. <execution>
  26. <id>unpack</id>
  27. <phase>process-resources</phase>
  28. <goals>
  29. <goal>unpack</goal>
  30. </goals>
  31. <configuration>
  32. <artifactItems>
  33. <artifactItem>
  34. <groupId>org.rxtx</groupId>
  35. <artifactId>rxtx-osgi</artifactId>
  36. <version>2.2-pre2</version>
  37. </artifactItem>
  38. </artifactItems>
  39. </configuration>
  40. </execution>
  41. </executions>
  42. </plugin>
  43. <plugin>
  44. <artifactId>maven-assembly-plugin</artifactId>
  45. <configuration>
  46. <descriptors>
  47. <descriptor>src/assembly/rxtx.xml</descriptor>
  48. </descriptors>
  49. </configuration>
  50. <executions>
  51. <execution>
  52. <phase>package</phase>
  53. <goals>
  54. <goal>single</goal>
  55. </goals>
  56. </execution>
  57. </executions>
  58. </plugin>
  59. </plugins>
  60. </build>
  61. <!-- for finding rxtx-osgi, can't unpack transitive org.opennms.dependencies:rxtx-dependencies directly above -->
  62. <repositories>
  63. <repository>
  64. <snapshots>
  65. <enabled>false</enabled>
  66. <updatePolicy>${updatePolicy}</updatePolicy>
  67. </snapshots>
  68. <releases>
  69. <enabled>true</enabled>
  70. <updatePolicy>${updatePolicy}</updatePolicy>
  71. </releases>
  72. <id>opennms-repo</id>
  73. <name>OpenNMS Maven Repository</name>
  74. <url>http://maven.opennms.org/content/groups/opennms.org-release</url>
  75. </repository>
  76. </repositories>
  77. </project>