pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. 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. <groupId>com.uas.plugins</groupId>
  5. <artifactId>ops-diff-maven-plugin</artifactId>
  6. <version>0.0.1</version>
  7. <packaging>maven-plugin</packaging>
  8. <description>maven插件,在mvn install时,生成与仓库最新文件的差异包</description>
  9. <name>ops-diff-maven-plugin</name>
  10. <url>http://maven.apache.org</url>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <maven.compiler.source>1.7</maven.compiler.source>
  14. <maven.compiler.target>1.7</maven.compiler.target>
  15. <maven.version>3.3.9</maven.version>
  16. <skipTests>true</skipTests>
  17. <maven.plugin.version>3.3</maven.plugin.version>
  18. </properties>
  19. <build>
  20. <plugins>
  21. <plugin>
  22. <groupId>org.apache.maven.plugins</groupId>
  23. <artifactId>maven-plugin-plugin</artifactId>
  24. <version>${maven.plugin.version}</version>
  25. <configuration>
  26. <encoding>${project.build.sourceEncoding}</encoding>
  27. <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
  28. </configuration>
  29. <executions>
  30. <execution>
  31. <id>mojo-descriptor</id>
  32. <goals>
  33. <goal>descriptor</goal>
  34. </goals>
  35. </execution>
  36. </executions>
  37. </plugin>
  38. </plugins>
  39. </build>
  40. <dependencies>
  41. <dependency>
  42. <groupId>junit</groupId>
  43. <artifactId>junit</artifactId>
  44. <version>4.12</version>
  45. <scope>test</scope>
  46. </dependency>
  47. <!-- Provided -->
  48. <dependency>
  49. <groupId>org.apache.maven</groupId>
  50. <artifactId>maven-plugin-api</artifactId>
  51. <version>3.2.3</version>
  52. <scope>provided</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.maven.plugin-tools</groupId>
  56. <artifactId>maven-plugin-annotations</artifactId>
  57. <version>3.3</version>
  58. <scope>provided</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.maven</groupId>
  62. <artifactId>maven-artifact</artifactId>
  63. <version>${maven.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.tmatesoft.svnkit</groupId>
  67. <artifactId>svnkit</artifactId>
  68. <version>1.8.10</version>
  69. </dependency>
  70. </dependencies>
  71. <distributionManagement>
  72. <!-- 发布release仓库 -->
  73. <repository>
  74. <id>platform-release</id>
  75. <name>platform-release</name>
  76. <url>http://10.10.101.21:8081/artifactory/plugins-release-local</url>
  77. </repository>
  78. <!-- 发布快照版本 -->
  79. <snapshotRepository>
  80. <id>platform-snapshots</id>
  81. <name>platform-snapshots</name>
  82. <url>http://10.10.101.21:8081/artifactory/plugins-snapshot-local</url>
  83. </snapshotRepository>
  84. </distributionManagement>
  85. </project>