From 34981c30a78e8bbd7791131059a9210f9928b62c Mon Sep 17 00:00:00 2001
From: 刘光辉 <347230014@qq.com>
Date: 星期四, 17 九月 2026 09:24:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into master

---
 jnpf-app/jnpf-app-server/pom.xml |  100 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 100 insertions(+), 0 deletions(-)

diff --git a/jnpf-app/jnpf-app-server/pom.xml b/jnpf-app/jnpf-app-server/pom.xml
new file mode 100644
index 0000000..fd85204
--- /dev/null
+++ b/jnpf-app/jnpf-app-server/pom.xml
@@ -0,0 +1,100 @@
+<?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>jnpf-app</artifactId>
+        <groupId>com.jnpf</groupId>
+        <version>6.1.0-RELEASE</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+
+    <artifactId>jnpf-app-server</artifactId>
+
+    <dependencies>
+
+        <dependency>
+            <groupId>com.jnpf</groupId>
+            <artifactId>jnpf-app-controller</artifactId>
+            <version>${project.version}</version>
+            <scope>compile</scope>
+        </dependency>
+    </dependencies>
+
+    <profiles>
+        <profile>
+            <id>default-package</id>
+            <activation>
+                <jdk>[,]</jdk>
+            </activation>
+            <build>
+                <finalName>jnpf-app-${project.version}</finalName>
+                <plugins>
+                    <plugin>
+                        <groupId>org.springframework.boot</groupId>
+                        <artifactId>spring-boot-maven-plugin</artifactId>
+                        <configuration>
+                            <!-- 鎸囧畾璇ain Class涓哄叏灞�鐨勫敮涓�鍏ュ彛 -->
+                            <mainClass>jnpf.JnpfApplication</mainClass>
+                            <layout>ZIP</layout>
+                        </configuration>
+                        <executions>
+                            <execution>
+                                <goals>
+                                    <goal>repackage</goal><!--鍙互鎶婁緷璧栫殑鍖呴兘鎵撳寘鍒扮敓鎴愮殑Jar鍖呬腑-->
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <id>external-package</id>
+            <build>
+                <finalName>jnpf-app-${project.version}</finalName>
+                <plugins>
+                    <!-- 澶嶅埗渚濊禆鍒板閮ㄧ洰褰� -->
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-dependency-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>copy-dependencies</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>copy-dependencies</goal>
+                                </goals>
+                                <configuration>
+                                    <outputDirectory>${external-lib-out-path}</outputDirectory>
+                                    <overWriteReleases>true</overWriteReleases>
+                                    <overWriteSnapshots>true</overWriteSnapshots>
+                                    <overWriteIfNewer>true</overWriteIfNewer>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-jar-plugin</artifactId>
+                        <configuration>
+                            <archive>
+                                <manifest>
+                                    <!--鍚姩绫籶ath-->
+                                    <mainClass>jnpf.JnpfApplication</mainClass>
+                                    <addClasspath>true</addClasspath>
+                                    <classpathPrefix>${external-lib-start-path}</classpathPrefix>
+                                </manifest>
+                                <manifestEntries>
+                                    <!--濡傛灉涓嶆寚瀹氾紝classpath 鍙兘浼氭壘涓嶅埌锛屽姞杞借祫婧愭湁闂-->
+                                    <Class-Path>.</Class-Path>
+                                </manifestEntries>
+                            </archive>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+</project>
\ No newline at end of file

--
Gitblit v1.8.0