|
|
@@ -0,0 +1,110 @@
|
|
|
+<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/maven-v4_0_0.xsd">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+ <groupId>com.uas.huid</groupId>
|
|
|
+ <artifactId>huid_attch</artifactId>
|
|
|
+ <packaging>jar</packaging>
|
|
|
+ <version>1.0.0</version>
|
|
|
+ <name>huid attch</name>
|
|
|
+ <url>http://maven.apache.org</url>
|
|
|
+ <properties>
|
|
|
+ <static.prefix.skip>true</static.prefix.skip>
|
|
|
+ </properties>
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <id>prod</id>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+ <build>
|
|
|
+ <finalName>${project.artifactId}</finalName>
|
|
|
+ <sourceDirectory>src</sourceDirectory>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>${basedir}/src</directory>
|
|
|
+ <filtering>true</filtering>
|
|
|
+ <includes>
|
|
|
+ <include>**/*.properties</include>
|
|
|
+ <include>**/*.xml</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ <!-- 获取svn信息 -->
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>pl.project13.maven</groupId>
|
|
|
+ <artifactId>git-commit-id-plugin</artifactId>
|
|
|
+ <version>2.2.5</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>revision</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ <configuration>
|
|
|
+ <dateFormat>yyyyMMddHHmmss</dateFormat>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>3.5.1</version>
|
|
|
+ <configuration>
|
|
|
+ <source>1.7</source>
|
|
|
+ <target>1.7</target>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ <compilerArgs>
|
|
|
+ <arg>-Xlint:unchecked</arg>
|
|
|
+ <arg>-Xlint:deprecation</arg>
|
|
|
+ <arg>-bootclasspath</arg>
|
|
|
+ <arg>${env.JAVA_HOME}/jre/lib/rt.jar</arg>
|
|
|
+ <arg>-extdirs</arg>
|
|
|
+ <!-- windows下用分号隔开 -->
|
|
|
+ <arg>${env.JAVA_HOME}/jre/lib:${basedir}/lib</arg>
|
|
|
+ </compilerArgs>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ <repositories>
|
|
|
+ <repository>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>false</enabled>
|
|
|
+ </snapshots>
|
|
|
+ <id>aliyun</id>
|
|
|
+ <name>aliyun</name>
|
|
|
+ <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
|
|
|
+ </repository>
|
|
|
+ <repository>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>false</enabled>
|
|
|
+ </snapshots>
|
|
|
+ <id>ubtob-release</id>
|
|
|
+ <name>ubtob-release</name>
|
|
|
+ <url>http://maven.ubtob.com/artifactory/libs-release-local</url>
|
|
|
+ </repository>
|
|
|
+ <repository>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ <updatePolicy>always</updatePolicy>
|
|
|
+ </snapshots>
|
|
|
+ <id>ubtob-snapshot</id>
|
|
|
+ <name>ubtob-snapshot</name>
|
|
|
+ <url>http://maven.ubtob.com/artifactory/libs-snapshot-local</url>
|
|
|
+ </repository>
|
|
|
+ </repositories>
|
|
|
+ <distributionManagement>
|
|
|
+ <!-- 发布release仓库 -->
|
|
|
+ <repository>
|
|
|
+ <id>platform-release</id>
|
|
|
+ <name>platform-release</name>
|
|
|
+ <url>http://10.10.101.21:8081/artifactory/libs-release-local</url>
|
|
|
+ </repository>
|
|
|
+ <!-- 发布快照版本 -->
|
|
|
+ <snapshotRepository>
|
|
|
+ <id>platform-snapshots</id>
|
|
|
+ <name>platform-snapshots</name>
|
|
|
+ <url>http://10.10.101.21:8081/artifactory/libs-snapshot-local</url>
|
|
|
+ </snapshotRepository>
|
|
|
+ </distributionManagement>
|
|
|
+</project>
|