From 7552b0a524ed73d00c99cdde2e3c6d6a718ae59d Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期二, 16 七月 2024 11:02:34 +0800
Subject: [PATCH] 添加配置文件

---
 pom.xml |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/pom.xml b/pom.xml
index 24dec46..811dc2c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,6 +8,7 @@
         <version>2.7.18</version>
         <relativePath/>
     </parent>
+    <packaging>jar</packaging>
 
     <groupId>com.se</groupId>
     <artifactId>simu</artifactId>
@@ -114,12 +115,32 @@
         </dependency>
     </dependencies>
 
+    <profiles>
+        <profile>
+            <id>dev</id>
+            <properties>
+                <activatedProperties>dev</activatedProperties>
+            </properties>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+        </profile>
+        <profile>
+            <id>prod</id>
+            <properties>
+                <activatedProperties>prod</activatedProperties>
+            </properties>
+        </profile>
+    </profiles>
+
     <build>
+        <finalName>simu</finalName>
         <plugins>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
                 <configuration>
+                    <mainClass>com.se.simu.SimuApplication</mainClass>
                     <excludes>
                         <exclude>
                             <groupId>org.projectlombok</groupId>

--
Gitblit v1.9.3