12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.uas.plugins</groupId>
- <artifactId>static-maven-plugin</artifactId>
- <version>0.0.3</version>
- <packaging>maven-plugin</packaging>
- <description>maven插件,在mvn install时,将static/**替换为静态文件地址</description>
- <name>static-maven-plugin</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>1.7</maven.compiler.source>
- <maven.compiler.target>1.7</maven.compiler.target>
- <skipTests>true</skipTests>
- <maven.plugin.version>3.3</maven.plugin.version>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-plugin-plugin</artifactId>
- <version>${maven.plugin.version}</version>
- <configuration>
- <encoding>${project.build.sourceEncoding}</encoding>
- <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
- </configuration>
- <executions>
- <execution>
- <id>mojo-descriptor</id>
- <goals>
- <goal>descriptor</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <!-- Provided -->
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-plugin-api</artifactId>
- <version>3.2.3</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.plugin-tools</groupId>
- <artifactId>maven-plugin-annotations</artifactId>
- <version>3.3</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <distributionManagement>
- <!-- 发布release仓库 -->
- <repository>
- <id>platform-release</id>
- <name>platform-release</name>
- <url>http://10.10.101.21:8081/artifactory/plugins-release-local</url>
- </repository>
- <!-- 发布快照版本 -->
- <snapshotRepository>
- <id>platform-snapshots</id>
- <name>platform-snapshots</name>
- <url>http://10.10.101.21:8081/artifactory/plugins-snapshot-local</url>
- </snapshotRepository>
- </distributionManagement>
- </project>
|