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-eln/jnpf-eln-server/pom.xml | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 104 insertions(+), 0 deletions(-)
diff --git a/jnpf-eln/jnpf-eln-server/pom.xml b/jnpf-eln/jnpf-eln-server/pom.xml
new file mode 100644
index 0000000..5c4bcfc
--- /dev/null
+++ b/jnpf-eln/jnpf-eln-server/pom.xml
@@ -0,0 +1,104 @@
+<?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-eln</artifactId>
+ <groupId>com.jnpf</groupId>
+ <version>6.1.0-RELEASE</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>jnpf-eln-server</artifactId>
+
+ <dependencies>
+ <dependency>
+ <groupId>com.jnpf</groupId>
+ <artifactId>jnpf-eln-controller</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-web</artifactId>
+ </dependency>
+ </dependencies>
+
+
+ <profiles>
+ <profile>
+ <id>default-package</id>
+ <activation>
+ <jdk>[,]</jdk>
+ </activation>
+ <build>
+ <finalName>jnpf-eln-${project.version}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-maven-plugin</artifactId>
+ <configuration>
+ <!-- 鎸囧畾璇ain Class涓哄叏灞�鐨勫敮涓�鍏ュ彛 -->
+ <mainClass>jnpf.JnpfElnApplication</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-eln-${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.JnpfElnApplication</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>
--
Gitblit v1.8.0