Showing
1 changed file
with
17 additions
and
1 deletions
@@ -174,7 +174,7 @@ | @@ -174,7 +174,7 @@ | ||
174 | </profiles> | 174 | </profiles> |
175 | 175 | ||
176 | <build> | 176 | <build> |
177 | -<!-- <finalName>mj-aj-report_6.2.0</finalName>--> | 177 | + <finalName>mj-aj-report_6.3.0.${timestamp}</finalName> |
178 | <resources> | 178 | <resources> |
179 | <resource> | 179 | <resource> |
180 | <directory>src/main/resources</directory> | 180 | <directory>src/main/resources</directory> |
@@ -183,6 +183,22 @@ | @@ -183,6 +183,22 @@ | ||
183 | </resources> | 183 | </resources> |
184 | <plugins> | 184 | <plugins> |
185 | <plugin> | 185 | <plugin> |
186 | + <groupId>org.codehaus.mojo</groupId> | ||
187 | + <artifactId>buildnumber-maven-plugin</artifactId> | ||
188 | + <version>1.4</version> | ||
189 | + <configuration> | ||
190 | + <timestampFormat>yyyyMMdd</timestampFormat> | ||
191 | + </configuration> | ||
192 | + <executions> | ||
193 | + <execution> | ||
194 | + <goals> | ||
195 | + <goal>create-timestamp</goal> | ||
196 | + </goals> | ||
197 | + </execution> | ||
198 | + </executions> | ||
199 | + <inherited>false</inherited> | ||
200 | + </plugin> | ||
201 | + <plugin> | ||
186 | <groupId>org.springframework.boot</groupId> | 202 | <groupId>org.springframework.boot</groupId> |
187 | <artifactId>spring-boot-maven-plugin</artifactId> | 203 | <artifactId>spring-boot-maven-plugin</artifactId> |
188 | <configuration> | 204 | <configuration> |
-
Please register or login to post a comment