Selaa lähdekoodia

修改项目信息

gjs 4 vuotta sitten
vanhempi
commit
47c2ff5993

+ 27 - 27
pom.xml

@@ -2,11 +2,11 @@
 <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>
-    <groupId>com.macro.mall</groupId>
-    <artifactId>mall-tiny</artifactId>
+    <groupId>com.jiashun.gao</groupId>
+    <artifactId>power-system</artifactId>
     <version>1.0.0-SNAPSHOT</version>
-    <name>mall-tiny</name>
-    <description>mall-tiny project</description>
+    <name>power-system</name>
+    <description>power-system project</description>
 
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -154,29 +154,29 @@
                 <groupId>com.spotify</groupId>
                 <artifactId>docker-maven-plugin</artifactId>
                 <version>${docker.maven.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>build-image</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>build</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <imageName>mall-tiny/${project.artifactId}:${project.version}</imageName>
-                    <dockerHost>${docker.host}</dockerHost>
-                    <baseImage>java:8</baseImage>
-                    <entryPoint>["java", "-jar","/${project.build.finalName}.jar"]
-                    </entryPoint>
-                    <resources>
-                        <resource>
-                            <targetPath>/</targetPath>
-                            <directory>${project.build.directory}</directory>
-                            <include>${project.build.finalName}.jar</include>
-                        </resource>
-                    </resources>
-                </configuration>
+<!--                <executions>-->
+<!--                    <execution>-->
+<!--                        <id>build-image</id>-->
+<!--                        <phase>package</phase>-->
+<!--                        <goals>-->
+<!--                            <goal>build</goal>-->
+<!--                        </goals>-->
+<!--                    </execution>-->
+<!--                </executions>-->
+<!--                <configuration>-->
+<!--                    <imageName>power-system/${project.artifactId}:${project.version}</imageName>-->
+<!--                    <dockerHost>${docker.host}</dockerHost>-->
+<!--                    <baseImage>java:8</baseImage>-->
+<!--                    <entryPoint>["java", "-jar","/${project.build.finalName}.jar"]-->
+<!--                    </entryPoint>-->
+<!--                    <resources>-->
+<!--                        <resource>-->
+<!--                            <targetPath>/</targetPath>-->
+<!--                            <directory>${project.build.directory}</directory>-->
+<!--                            <include>${project.build.finalName}.jar</include>-->
+<!--                        </resource>-->
+<!--                    </resources>-->
+<!--                </configuration>-->
             </plugin>
         </plugins>
     </build>

+ 2 - 2
src/main/java/com/macro/mall/tiny/MallTinyApplication.java → src/main/java/com/macro/mall/tiny/PowerSystemApplication.java

@@ -4,10 +4,10 @@ import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 
 @SpringBootApplication
-public class MallTinyApplication {
+public class PowerSystemApplication {
 
     public static void main(String[] args) {
-        SpringApplication.run(MallTinyApplication.class, args);
+        SpringApplication.run(PowerSystemApplication.class, args);
     }
 
 }

+ 1 - 1
src/main/resources/application.yml

@@ -3,7 +3,7 @@ server:
 
 spring:
   application:
-    name: mall-tiny
+    name: power-system
   profiles:
     active: dev
 

+ 1 - 1
src/test/java/com/macro/mall/tiny/MallTinyApplicationTests.java → src/test/java/com/macro/mall/tiny/PowerSystemApplicationTests.java

@@ -7,7 +7,7 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 @RunWith(SpringRunner.class)
 @SpringBootTest
-public class MallTinyApplicationTests {
+public class PowerSystemApplicationTests {
 
     @Test
     public void contextLoads() {