306 lines
11 KiB
XML
306 lines
11 KiB
XML
<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.sunyard</groupId>
|
||
<artifactId>sydapi4j</artifactId>
|
||
<version>1.0.20220402</version>
|
||
<packaging>jar</packaging>
|
||
|
||
<name>sydapi4j</name>
|
||
<url>http://maven.apache.org</url>
|
||
|
||
<properties>
|
||
<vertx>3.4.2</vertx>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||
<maven.compiler.source>1.6</maven.compiler.source>
|
||
<maven.compiler.target>1.6</maven.compiler.target>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
|
||
<dependency>
|
||
<groupId>junit</groupId>
|
||
<artifactId>junit</artifactId>
|
||
<version>4.12</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<!-- <!– https://mvnrepository.com/artifact/org.apache.commons/commons-pool2 –>-->
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>org.apache.commons</groupId>-->
|
||
<!-- <artifactId>commons-pool2</artifactId>-->
|
||
<!-- <version>2.11.1</version>-->
|
||
<!-- </dependency>-->
|
||
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>org.jetbrains.kotlin</groupId>-->
|
||
<!-- <artifactId>kotlin-test</artifactId>-->
|
||
<!-- <version>${kotlin.version}</version>-->
|
||
<!-- <scope>test</scope>-->
|
||
<!-- </dependency>-->
|
||
|
||
|
||
<!-- <!– https://mvnrepository.com/artifact/dom4j/dom4j –>-->
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>dom4j</groupId>-->
|
||
<!-- <artifactId>dom4j</artifactId>-->
|
||
<!-- <version>1.6.1</version>-->
|
||
<!-- </dependency>-->
|
||
|
||
<!-- <!– https://mvnrepository.com/artifact/com.alibaba/fastjson –>-->
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>com.alibaba</groupId>-->
|
||
<!-- <artifactId>fastjson</artifactId>-->
|
||
<!-- <version>1.2.80</version>-->
|
||
<!-- </dependency>-->
|
||
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>org.jetbrains.kotlin</groupId>-->
|
||
<!-- <artifactId>kotlin-stdlib-jdk8</artifactId>-->
|
||
<!-- <version>${kotlin.version}</version>-->
|
||
<!-- </dependency>-->
|
||
|
||
|
||
<!--<dependency>-->
|
||
<!--<groupId>com.sunyard</groupId>-->
|
||
<!--<artifactId>Converter</artifactId>-->
|
||
<!--<version>[1.0.201807251700, 1.1-SNAPSHOT)</version>-->
|
||
<!--</dependency>-->
|
||
|
||
<dependency>
|
||
<groupId>com.sunyard</groupId>
|
||
<artifactId>proto</artifactId>
|
||
<version>1.0-20220412</version>
|
||
</dependency>
|
||
|
||
|
||
<dependency>
|
||
<groupId>org.bouncycastle</groupId>
|
||
<artifactId>bcpkix-jdk15on</artifactId>
|
||
<version>1.65</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.bouncycastle</groupId>
|
||
<artifactId>bcprov-jdk15on</artifactId>
|
||
<version>1.65</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
<version>5.8.4.M1</version>
|
||
</dependency>
|
||
|
||
<!--<dependency>-->
|
||
<!--<groupId>club.fullstack</groupId>-->
|
||
<!--<artifactId>serialize</artifactId>-->
|
||
<!--<version>[1.0.201806051035, 1.1.SNAPSHOT)</version>-->
|
||
<!--</dependency>-->
|
||
|
||
|
||
<!-- https://mvnrepository.com/artifact/com.github.wvengen/proguard-maven-plugin -->
|
||
<!-- https://mvnrepository.com/artifact/com.github.wvengen/proguard-maven-plugin -->
|
||
</dependencies>
|
||
<build>
|
||
<finalName>sydapi4j</finalName>
|
||
<plugins>
|
||
|
||
<plugin>
|
||
<groupId>org.codehaus.groovy</groupId>
|
||
<artifactId>groovy-eclipse-compiler</artifactId>
|
||
<version>2.9.2-01</version>
|
||
<extensions>true</extensions>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.3</version>
|
||
<executions>
|
||
<execution>
|
||
<id>compile</id>
|
||
<phase>compile</phase>
|
||
<goals>
|
||
<goal>compile</goal>
|
||
</goals>
|
||
</execution>
|
||
<execution>
|
||
<id>testCompile</id>
|
||
<phase>test-compile</phase>
|
||
<goals>
|
||
<goal>testCompile</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
<configuration>
|
||
<source>1.6</source>
|
||
<target>1.6</target>
|
||
<compilerId>groovy-eclipse-compiler</compilerId>
|
||
<verbose>true</verbose>
|
||
<fork>true</fork>
|
||
</configuration>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.codehaus.groovy</groupId>
|
||
<artifactId>groovy-eclipse-compiler</artifactId>
|
||
<version>2.9.2-01</version>
|
||
</dependency> <!-- for 2.8.0-01 and later you must have an explicit dependency on groovy-eclipse-batch -->
|
||
<dependency>
|
||
<groupId>org.codehaus.groovy</groupId>
|
||
<artifactId>groovy-eclipse-batch</artifactId>
|
||
<version>2.4.3-01</version>
|
||
</dependency>
|
||
</dependencies>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-javadoc-plugin</artifactId>
|
||
<version>3.1.1</version>
|
||
<configuration>
|
||
<reportOutputDirectory>./public/</reportOutputDirectory>
|
||
<destDir>html</destDir>
|
||
<additionalOptions>html5</additionalOptions>
|
||
<excludePackageNames>com.sunyard.SydApi:com.sunyard.inf.*:com.sunyard.cert.*</excludePackageNames>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>2.4</version>
|
||
|
||
<!-- 进行package命令时就可以将源码同时进行打包 -->
|
||
<!-- 所以我们需要绑定source插件到我们default生命周期的package阶段 -->
|
||
<executions>
|
||
<execution>
|
||
<!-- 定义一个阶段,这个阶段是package -->
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>jar-no-fork</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-jar-plugin</artifactId>
|
||
<configuration>
|
||
<archive>
|
||
<manifest>
|
||
<addClasspath>true</addClasspath>
|
||
<classpathPrefix>lib/</classpathPrefix>
|
||
<mainClass>com.xxx.uploadFile</mainClass>
|
||
</manifest>
|
||
</archive>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-dependency-plugin</artifactId>
|
||
<configuration>
|
||
<includeScope>runtime</includeScope>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>copy</id>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>copy-dependencies</goal>
|
||
</goals>
|
||
<configuration>
|
||
<outputDirectory>
|
||
${project.build.directory}/lib
|
||
</outputDirectory>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
|
||
<plugin>
|
||
<artifactId>maven-assembly-plugin</artifactId>
|
||
<configuration>
|
||
<archive>
|
||
<manifest>
|
||
<mainClass>racal.sunyard.main.Version</mainClass>
|
||
</manifest>
|
||
</archive>
|
||
<descriptorRefs>
|
||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||
</descriptorRefs>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>single</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
<!-- <plugin>-->
|
||
<!-- <groupId>org.jetbrains.kotlin</groupId>-->
|
||
<!-- <artifactId>kotlin-maven-plugin</artifactId>-->
|
||
<!-- <version>${kotlin.version}</version>-->
|
||
<!-- <executions>-->
|
||
<!-- <execution>-->
|
||
<!-- <id>compile</id>-->
|
||
<!-- <phase>compile</phase>-->
|
||
<!-- <goals>-->
|
||
<!-- <goal>compile</goal>-->
|
||
<!-- </goals>-->
|
||
<!-- <configuration>-->
|
||
<!-- <sourceDirs>-->
|
||
<!-- <source>src/main/java</source>-->
|
||
<!-- </sourceDirs>-->
|
||
<!-- </configuration>-->
|
||
<!-- </execution>-->
|
||
<!-- <execution>-->
|
||
<!-- <id>test-compile</id>-->
|
||
<!-- <phase>test-compile</phase>-->
|
||
<!-- <goals>-->
|
||
<!-- <goal>test-compile</goal>-->
|
||
<!-- </goals>-->
|
||
<!-- </execution>-->
|
||
<!-- </executions>-->
|
||
<!-- <configuration>-->
|
||
<!-- <jvmTarget>1.6</jvmTarget>-->
|
||
<!-- </configuration>-->
|
||
<!-- </plugin>-->
|
||
|
||
|
||
</plugins>
|
||
<!-- 主资源目录 -->
|
||
<resources>
|
||
<resource>
|
||
<!-- 设定主资源目录 -->
|
||
<directory>src/main/resources</directory>
|
||
</resource>
|
||
</resources>
|
||
</build>
|
||
|
||
<distributionManagement>
|
||
<snapshotRepository>
|
||
<id>nexus-own</id>
|
||
<name>repo-snapshot</name>
|
||
<url>${SnapshotRepository}</url>
|
||
</snapshotRepository>
|
||
<repository>
|
||
<id>nexus-own</id>
|
||
<name>repo-release</name>
|
||
<url>${ReleaseRepository}</url>
|
||
</repository>
|
||
</distributionManagement>
|
||
|
||
|
||
</project>
|