123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <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>
-
- <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>
-
- <arg>${env.JAVA_HOME}/jre/lib:${basedir}/lib</arg>
- </compilerArgs>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/huid_attch</outputDirectory>
- <overwrite>false</overwrite>
- <resources>
- <resource>
- <directory>${project.build.directory}/classes</directory>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.1.1</version>
- <configuration>
- <webResources>
- <resource>
- <directory>${project.build.directory}/huid_attch</directory>
- </resource>
- </webResources>
- </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>
-
- <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>
|