pom.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>elab-parent</artifactId>
  7. <groupId>com.elab.core</groupId>
  8. <version>2.0.4.10-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>elab-mq</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.elab.core</groupId>
  15. <artifactId>elab-core</artifactId>
  16. <version>${project.version}</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>com.aliyun.openservices</groupId>
  20. <artifactId>ons-client</artifactId>
  21. <version>1.7.0.Final</version>
  22. </dependency>
  23. </dependencies>
  24. <build>
  25. <plugins>
  26. <!-- 打包源码插件 -->
  27. <plugin>
  28. <groupId>org.apache.maven.plugins</groupId>
  29. <artifactId>maven-source-plugin</artifactId>
  30. <executions>
  31. <execution>
  32. <id>attach-sources</id>
  33. <goals>
  34. <goal>jar</goal>
  35. </goals>
  36. </execution>
  37. </executions>
  38. </plugin>
  39. <!-- 打包javadoc插件 -->
  40. <plugin>
  41. <groupId>org.apache.maven.plugins</groupId>
  42. <artifactId>maven-javadoc-plugin</artifactId>
  43. <!--<version>2.9</version>-->
  44. <executions>
  45. <execution>
  46. <id>attach-javadocs</id>
  47. <goals>
  48. <goal>jar</goal>
  49. </goals>
  50. <configuration>
  51. <additionalOptions>-Xdoclint:none</additionalOptions>
  52. </configuration>
  53. </execution>
  54. </executions>
  55. </plugin>
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-compiler-plugin</artifactId>
  59. <configuration>
  60. <source>1.8</source>
  61. <target>1.8</target>
  62. </configuration>
  63. </plugin>
  64. </plugins>
  65. </build>
  66. <distributionManagement>
  67. <repository>
  68. <id>releases</id>
  69. <name>Nexus Release Repository</name>
  70. <url>http://192.168.0.11:8081/nexus/content/repositories/elab/</url>
  71. </repository>
  72. </distributionManagement>
  73. </project>