pom.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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>static-maven-plugin</artifactId>
  6. <version>0.0.3</version>
  7. <packaging>maven-plugin</packaging>
  8. <description>maven插件,在mvn install时,将static/**替换为静态文件地址</description>
  9. <name>static-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. </dependencies>
  54. <distributionManagement>
  55. <!-- 发布release仓库 -->
  56. <repository>
  57. <id>platform-release</id>
  58. <name>platform-release</name>
  59. <url>http://10.10.101.21:8081/artifactory/plugins-release-local</url>
  60. </repository>
  61. <!-- 发布快照版本 -->
  62. <snapshotRepository>
  63. <id>platform-snapshots</id>
  64. <name>platform-snapshots</name>
  65. <url>http://10.10.101.21:8081/artifactory/plugins-snapshot-local</url>
  66. </snapshotRepository>
  67. </distributionManagement>
  68. </project>