Authored by zhichao

修改maven配置

1、【无】打包添加时间戳
... ... @@ -24,7 +24,7 @@
</dependencies>
<build>
<finalName>nxweb-0.0.1-SNAPSHOT</finalName>
<finalName>nxweb_${timestamp}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
... ... @@ -35,6 +35,22 @@
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<configuration>
<timestampFormat>yyyyMMdd</timestampFormat>
</configuration>
<executions>
<execution>
<goals>
<goal>create-timestamp</goal>
</goals>
</execution>
</executions>
<inherited>false</inherited>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
... ...
... ... @@ -24,7 +24,7 @@
</dependencies>
<build>
<finalName>tjweb</finalName>
<finalName>tjweb_${timestamp}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
... ... @@ -35,6 +35,22 @@
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<configuration>
<timestampFormat>yyyyMMdd</timestampFormat>
</configuration>
<executions>
<execution>
<goals>
<goal>create-timestamp</goal>
</goals>
</execution>
</executions>
<inherited>false</inherited>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
... ...
... ... @@ -24,7 +24,7 @@
</dependencies>
<build>
<finalName>zjweb</finalName>
<finalName>zjweb_${timestamp}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
... ... @@ -38,6 +38,22 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<configuration>
<timestampFormat>yyyyMMdd</timestampFormat>
</configuration>
<executions>
<execution>
<goals>
<goal>create-timestamp</goal>
</goals>
</execution>
</executions>
<inherited>false</inherited>
</plugin>
<!-- 复制资源文件 -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
... ...