更新配置文件.
This commit is contained in:
@@ -1 +1,262 @@
|
||||
<?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">␍ <modelVersion>4.0.0</modelVersion>␍␍ <parent>␍ <groupId>org.noear</groupId>␍ <artifactId>solon-parent</artifactId>␍ <version>2.5.12</version>␍ <relativePath />␍ </parent>␍␍ <groupId>org.dromara.neutrino-proxy</groupId>␍ <artifactId>neutrino-proxy</artifactId>␍ <packaging>pom</packaging>␍ <version>${revision}</version>␍␍ <modules>␍ <module>neutrino-proxy-core</module>␍ <module>neutrino-proxy-client</module>␍ <module>neutrino-proxy-server</module>␍ </modules>␍␍ <properties>␍ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>␍ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>␍ <maven.compiler.encoding>UTF-8</maven.compiler.encoding>␍ <revision>2.0.1-SNAPSHOT</revision>␍␍ <native.version>0.9.28</native.version>␍␍ <java.version>21</java.version>␍ <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>␍ <maven-flatten.version>1.1.0</maven-flatten.version>␍ </properties>␍␍ <dependencyManagement>␍ <dependencies>␍ <dependency>␍ <groupId>io.netty</groupId>␍ <artifactId>netty-all</artifactId>␍ <version>4.1.100.Final</version>␍ </dependency>␍ <dependency>␍ <groupId>org.yaml</groupId>␍ <artifactId>snakeyaml</artifactId>␍ <version>1.33</version>␍ </dependency>␍ <dependency>␍ <groupId>junit</groupId>␍ <artifactId>junit</artifactId>␍ <version>4.12</version>␍ <scope>test</scope>␍ </dependency>␍ <dependency>␍ <groupId>org.apache.commons</groupId>␍ <artifactId>commons-lang3</artifactId>␍ <version>3.9</version>␍ </dependency>␍ <dependency>␍ <groupId>com.google.guava</groupId>␍ <artifactId>guava</artifactId>␍ <version>28.0-jre</version>␍ </dependency>␍ <dependency>␍ <groupId>commons-fileupload</groupId>␍ <artifactId>commons-fileupload</artifactId>␍ <version>1.3.1</version>␍ </dependency>␍ <dependency>␍ <groupId>com.h2database</groupId>␍ <artifactId>h2</artifactId>␍ <version>2.2.224</version>␍ </dependency>␍ <dependency>␍ <groupId>mysql</groupId>␍ <artifactId>mysql-connector-java</artifactId>␍ <version>8.0.33</version>␍ </dependency>␍ <dependency>␍ <groupId>org.mariadb.jdbc</groupId>␍ <artifactId>mariadb-java-client</artifactId>␍ <version>2.7.4</version>␍ </dependency>␍ <dependency>␍ <groupId>com.zaxxer</groupId>␍ <artifactId>HikariCP</artifactId>␍ <version>4.0.3</version>␍ </dependency>␍ <dependency>␍ <groupId>org.dromara.solon-plugins</groupId>␍ <artifactId>job-solon-plugin</artifactId>␍ <version>0.1.1</version>␍ <exclusions>␍ <exclusion>␍ <groupId>cn.hutool</groupId>␍ <artifactId>hutool-core</artifactId>␍ </exclusion>␍ </exclusions>␍ </dependency>␍ </dependencies>␍ </dependencyManagement>␍␍ <dependencies>␍ <dependency>␍ <groupId>org.noear</groupId>␍ <artifactId>solon.logging.logback</artifactId>␍ </dependency>␍ <dependency>␍ <groupId>org.projectlombok</groupId>␍ <artifactId>lombok</artifactId>␍ <scope>provided</scope>␍ </dependency>␍ <dependency>␍ <groupId>org.apache.commons</groupId>␍ <artifactId>commons-lang3</artifactId>␍ </dependency>␍ <dependency>␍ <groupId>com.google.guava</groupId>␍ <artifactId>guava</artifactId>␍ </dependency>␍␍ <dependency>␍ <groupId>org.noear</groupId>␍ <artifactId>solon-test</artifactId>␍ <scope>test</scope>␍ </dependency>␍ </dependencies>␍␍ <build>␍ <resources>␍ <resource>␍ <directory>src/main/resources</directory>␍ </resource>␍ </resources>␍ <plugins>␍ <plugin>␍ <groupId>org.apache.maven.plugins</groupId>␍ <artifactId>maven-compiler-plugin</artifactId>␍ <version>${maven-compiler-plugin.version}</version>␍ <configuration>␍ <source>${java.version}</source>␍ <target>${java.version}</target>␍ <encoding>UTF-8</encoding>␍ <annotationProcessorPaths>␍ <path>␍ <groupId>org.projectlombok</groupId>␍ <artifactId>lombok</artifactId>␍ <version>${lombok.version}</version>␍ </path>␍ </annotationProcessorPaths>␍ </configuration>␍ </plugin>␍ <!-- 添加flatten-maven-plugin插件 -->␍ <plugin>␍ <groupId>org.codehaus.mojo</groupId>␍ <artifactId>flatten-maven-plugin</artifactId>␍ <version>${maven-flatten.version}</version>␍ <configuration>␍ <updatePomFile>true</updatePomFile>␍ <flattenMode>resolveCiFriendliesOnly</flattenMode>␍ </configuration>␍ <executions>␍ <execution>␍ <id>flatten</id>␍ <phase>process-resources</phase>␍ <goals>␍ <goal>flatten</goal>␍ </goals>␍ </execution>␍ <execution>␍ <id>flatten.clean</id>␍ <phase>clean</phase>␍ <goals>␍ <goal>clean</goal>␍ </goals>␍ </execution>␍ </executions>␍ </plugin>␍ </plugins>␍ </build>␍␍ <repositories>␍ <repository>␍ <id>tencent</id>␍ <url>https://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url>␍ <snapshots>␍ <enabled>false</enabled>␍ </snapshots>␍ </repository>␍ <repository>␍ <id>sonatype-nexus-snapshots</id>␍ <name>Sonatype Nexus Snapshots</name>␍ <url>https://oss.sonatype.org/content/repositories/snapshots</url>␍ <releases>␍ <enabled>false</enabled>␍ </releases>␍ </repository>␍ </repositories>␍ <pluginRepositories>␍ <pluginRepository>␍ <id>sonatype-nexus-snapshots</id>␍ <name>Sonatype Nexus Snapshots</name>␍ <url>https://oss.sonatype.org/content/repositories/snapshots</url>␍ <releases>␍ <enabled>false</enabled>␍ </releases>␍ </pluginRepository>␍ </pluginRepositories>␍␍ <profiles>␍ <profile>␍ <id>native</id>␍ <build>␍ <plugins>␍ <plugin>␍ <groupId>org.noear</groupId>␍ <artifactId>solon-maven-plugin</artifactId>␍ <version>${solon.version}</version>␍ <executions>␍ <execution>␍ <id>process-aot</id>␍ <goals>␍ <goal>process-aot</goal>␍ </goals>␍ </execution>␍ </executions>␍␍ <dependencies>␍ <dependency>␍ <groupId>org.codehaus.plexus</groupId>␍ <artifactId>plexus-utils</artifactId>␍ <version>3.5.1</version>␍ </dependency>␍ </dependencies>␍ </plugin>␍ <plugin>␍ <groupId>org.graalvm.buildtools</groupId>␍ <artifactId>native-maven-plugin</artifactId>␍ <version>${native.version}</version>␍ <!-- 使用graalvm提供的可达性元数据,很多第三方库就直接可以构建成可执行文件了 -->␍ <configuration>␍ <metadataRepository>␍ <enabled>true</enabled>␍ </metadataRepository>␍ </configuration>␍ <executions>␍ <execution>␍ <id>add-reachability-metadata</id>␍ <goals>␍ <goal>add-reachability-metadata</goal>␍ </goals>␍ </execution>␍ </executions>␍ </plugin>␍ </plugins>␍ </build>␍ </profile>␍ </profiles>␍</project>␍␍
|
||||
<?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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.noear</groupId>
|
||||
<artifactId>solon-parent</artifactId>
|
||||
<version>2.5.12</version>
|
||||
<relativePath />
|
||||
</parent>
|
||||
|
||||
<groupId>org.dromara.neutrino-proxy</groupId>
|
||||
<artifactId>neutrino-proxy</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>${revision}</version>
|
||||
|
||||
<modules>
|
||||
<module>neutrino-proxy-core</module>
|
||||
<module>neutrino-proxy-client</module>
|
||||
<module>neutrino-proxy-server</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||||
<revision>2.0.1-SNAPSHOT</revision>
|
||||
|
||||
<native.version>0.9.28</native.version>
|
||||
|
||||
<java.version>21</java.version>
|
||||
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
|
||||
<maven-flatten.version>1.1.0</maven-flatten.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-all</artifactId>
|
||||
<version>4.1.100.Final</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.yaml</groupId>
|
||||
<artifactId>snakeyaml</artifactId>
|
||||
<version>1.33</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.12</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.9</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>28.0-jre</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-fileupload</groupId>
|
||||
<artifactId>commons-fileupload</artifactId>
|
||||
<version>1.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
<version>2.2.224</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>8.0.33</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mariadb.jdbc</groupId>
|
||||
<artifactId>mariadb-java-client</artifactId>
|
||||
<version>2.7.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.zaxxer</groupId>
|
||||
<artifactId>HikariCP</artifactId>
|
||||
<version>4.0.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.dromara.solon-plugins</groupId>
|
||||
<artifactId>job-solon-plugin</artifactId>
|
||||
<version>0.1.1</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-core</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.noear</groupId>
|
||||
<artifactId>solon.logging.logback</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.noear</groupId>
|
||||
<artifactId>solon-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
<encoding>UTF-8</encoding>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- 添加flatten-maven-plugin插件 -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>flatten-maven-plugin</artifactId>
|
||||
<version>${maven-flatten.version}</version>
|
||||
<configuration>
|
||||
<updatePomFile>true</updatePomFile>
|
||||
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>flatten</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>flatten</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>flatten.clean</id>
|
||||
<phase>clean</phase>
|
||||
<goals>
|
||||
<goal>clean</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>tencent</id>
|
||||
<url>https://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>sonatype-nexus-snapshots</id>
|
||||
<name>Sonatype Nexus Snapshots</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>sonatype-nexus-snapshots</id>
|
||||
<name>Sonatype Nexus Snapshots</name>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>native</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.noear</groupId>
|
||||
<artifactId>solon-maven-plugin</artifactId>
|
||||
<version>${solon.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>process-aot</id>
|
||||
<goals>
|
||||
<goal>process-aot</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-utils</artifactId>
|
||||
<version>3.5.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.graalvm.buildtools</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<version>${native.version}</version>
|
||||
<!-- 使用graalvm提供的可达性元数据,很多第三方库就直接可以构建成可执行文件了 -->
|
||||
<configuration>
|
||||
<metadataRepository>
|
||||
<enabled>true</enabled>
|
||||
</metadataRepository>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-reachability-metadata</id>
|
||||
<goals>
|
||||
<goal>add-reachability-metadata</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user