126 lines
4.5 KiB
XML
126 lines
4.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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">
|
|
<parent>
|
|
<artifactId>neutrino-proxy</artifactId>
|
|
<groupId>fun.asgc.neutrino</groupId>
|
|
<version>${revision}</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>jar</packaging>
|
|
|
|
<artifactId>neutrino-proxy-server</artifactId>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.noear</groupId>
|
|
<artifactId>solon-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.noear</groupId>
|
|
<artifactId>mybatis-plus-solon-plugin</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.noear</groupId>
|
|
<artifactId>mybatis-pagehelper-solon-plugin</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.noear</groupId>
|
|
<artifactId>activerecord-solon-plugin</artifactId>
|
|
</dependency>
|
|
<!--orika-->
|
|
<dependency>
|
|
<groupId>fun.asgc</groupId>
|
|
<artifactId>orika-solon-plugin</artifactId>
|
|
<version>2.2.2</version>
|
|
</dependency>
|
|
<!--job-->
|
|
<dependency>
|
|
<groupId>fun.asgc</groupId>
|
|
<artifactId>job-solon-plugin</artifactId>
|
|
<version>2.2.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>fun.asgc.neutrino</groupId>
|
|
<artifactId>neutrino-proxy-core</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xerial</groupId>
|
|
<artifactId>sqlite-jdbc</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.zaxxer</groupId>
|
|
<artifactId>HikariCP</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<!-- <build>-->
|
|
<!-- <finalName>${artifactId}</finalName>-->
|
|
<!-- <plugins>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
|
<!-- <version>2.1.3.RELEASE</version>-->
|
|
<!-- <configuration>-->
|
|
<!-- <mainClass>fun.asgc.neutrino.proxy.server.ProxyServer</mainClass>-->
|
|
<!-- </configuration>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>repackage</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
<!-- </plugins>-->
|
|
<!-- </build>-->
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
<filtering>false</filtering>
|
|
|
|
<excludes>
|
|
<exclude>app-*.yml</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
<finalName>${artifactId}</finalName>
|
|
<archive>
|
|
<manifest>
|
|
<!--这里指定要运行的main类-->
|
|
<mainClass>fun.asgc.neutrino.proxy.server.ProxyServer</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|