pom.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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>monitor-maven-plugin</artifactId>
  6. <version>0.0.1</version>
  7. <packaging>maven-plugin</packaging>
  8. <description>maven插件,监控源文件变化,复制到目标文件夹</description>
  9. <name>monitor-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. <skipTests>true</skipTests>
  16. <maven.plugin.version>3.3</maven.plugin.version>
  17. </properties>
  18. <build>
  19. <plugins>
  20. <plugin>
  21. <groupId>org.apache.maven.plugins</groupId>
  22. <artifactId>maven-plugin-plugin</artifactId>
  23. <version>${maven.plugin.version}</version>
  24. <configuration>
  25. <encoding>${project.build.sourceEncoding}</encoding>
  26. <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
  27. </configuration>
  28. <executions>
  29. <execution>
  30. <id>mojo-descriptor</id>
  31. <goals>
  32. <goal>descriptor</goal>
  33. </goals>
  34. </execution>
  35. </executions>
  36. </plugin>
  37. </plugins>
  38. </build>
  39. <dependencies>
  40. <!-- Provided -->
  41. <dependency>
  42. <groupId>org.apache.maven</groupId>
  43. <artifactId>maven-plugin-api</artifactId>
  44. <version>3.2.3</version>
  45. <scope>provided</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.maven.plugin-tools</groupId>
  49. <artifactId>maven-plugin-annotations</artifactId>
  50. <version>3.3</version>
  51. <scope>provided</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>commons-io</groupId>
  55. <artifactId>commons-io</artifactId>
  56. <version>2.2</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.commons</groupId>
  60. <artifactId>commons-lang3</artifactId>
  61. <version>3.4</version>
  62. </dependency>
  63. </dependencies>
  64. <distributionManagement>
  65. <!-- 发布release仓库 -->
  66. <repository>
  67. <id>platform-release</id>
  68. <name>platform-release</name>
  69. <url>http://10.10.101.21:8081/artifactory/plugins-release-local</url>
  70. </repository>
  71. <!-- 发布快照版本 -->
  72. <snapshotRepository>
  73. <id>platform-snapshots</id>
  74. <name>platform-snapshots</name>
  75. <url>http://10.10.101.21:8081/artifactory/plugins-snapshot-local</url>
  76. </snapshotRepository>
  77. </distributionManagement>
  78. </project>