|
@@ -2,15 +2,19 @@
|
|
|
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>org.noear.solon</groupId>
|
|
|
- <artifactId>solon-benchmark</artifactId>
|
|
|
+ <parent>
|
|
|
+ <groupId>org.noear</groupId>
|
|
|
+ <artifactId>solon-parent</artifactId>
|
|
|
+ <version>2.9.1</version>
|
|
|
+ </parent>
|
|
|
+
|
|
|
+ <groupId>hello</groupId>
|
|
|
+ <artifactId>hello-solon</artifactId>
|
|
|
<version>1.0</version>
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
<properties>
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
- <java.vertsion>11</java.vertsion>
|
|
|
- <solon.version>2.9.1</solon.version>
|
|
|
+ <java.version>21</java.version>
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
@@ -19,6 +23,7 @@
|
|
|
<artifactId>solon.boot.smarthttp</artifactId>
|
|
|
<version>${solon.version}</version>
|
|
|
</dependency>
|
|
|
+
|
|
|
<dependency>
|
|
|
<groupId>org.noear</groupId>
|
|
|
<artifactId>solon.serialization.snack3</artifactId>
|
|
@@ -26,66 +31,20 @@
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
- <repositories>
|
|
|
- <repository>
|
|
|
- <id>central</id>
|
|
|
- <name>Central Repository</name>
|
|
|
- <url>https://repo.maven.apache.org/maven2</url>
|
|
|
- </repository>
|
|
|
- <repository>
|
|
|
- <id>sonatype-nexus-snapshots</id>
|
|
|
- <name>Sonatype Nexus Snapshots</name>
|
|
|
- <url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
- </repository>
|
|
|
- </repositories>
|
|
|
-
|
|
|
- <pluginRepositories>
|
|
|
- <pluginRepository>
|
|
|
- <id>central</id>
|
|
|
- <name>Central Repository</name>
|
|
|
- <url>https://repo.maven.apache.org/maven2</url>
|
|
|
- </pluginRepository>
|
|
|
- <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>
|
|
|
- <snapshots>
|
|
|
- <enabled>true</enabled>
|
|
|
- </snapshots>
|
|
|
- </pluginRepository>
|
|
|
- </pluginRepositories>
|
|
|
-
|
|
|
<build>
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
|
<plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>3.11.0</version>
|
|
|
- <configuration>
|
|
|
- <compilerArgument>-parameters</compilerArgument>
|
|
|
- <source>${java.vertsion}</source>
|
|
|
- <target>${java.vertsion}</target>
|
|
|
- <encoding>UTF-8</encoding>
|
|
|
- <debug>false</debug>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
-
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
- <version>3.6.0</version>
|
|
|
<configuration>
|
|
|
<descriptorRefs>
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
</descriptorRefs>
|
|
|
<archive>
|
|
|
<manifest>
|
|
|
- <mainClass>pmg.Main</mainClass>
|
|
|
+ <mainClass>hello.Main</mainClass>
|
|
|
</manifest>
|
|
|
</archive>
|
|
|
</configuration>
|