Showing
3 changed files
with
24 additions
and
5 deletions
| @@ -11,10 +11,10 @@ | @@ -11,10 +11,10 @@ | ||
| 11 | <baseDirectory>${build.directory}</baseDirectory> | 11 | <baseDirectory>${build.directory}</baseDirectory> |
| 12 | 12 | ||
| 13 | <fileSets> | 13 | <fileSets> |
| 14 | -<!-- <fileSet>--> | ||
| 15 | -<!-- <directory>conf/</directory>--> | ||
| 16 | -<!-- <outputDirectory>${project.artifactId}/conf</outputDirectory>--> | ||
| 17 | -<!-- </fileSet>--> | 14 | + <fileSet> |
| 15 | + <directory>conf/</directory> | ||
| 16 | + <outputDirectory>${project.artifactId}/conf</outputDirectory> | ||
| 17 | + </fileSet> | ||
| 18 | <fileSet> | 18 | <fileSet> |
| 19 | <directory>db/</directory> | 19 | <directory>db/</directory> |
| 20 | <outputDirectory>${project.artifactId}/db</outputDirectory> | 20 | <outputDirectory>${project.artifactId}/db</outputDirectory> |
| @@ -8,6 +8,9 @@ | @@ -8,6 +8,9 @@ | ||
| 8 | <artifactId>crp-operation</artifactId> | 8 | <artifactId>crp-operation</artifactId> |
| 9 | <version>1.0.0</version> | 9 | <version>1.0.0</version> |
| 10 | 10 | ||
| 11 | + | ||
| 12 | + <packaging>jar</packaging> | ||
| 13 | + | ||
| 11 | <parent> | 14 | <parent> |
| 12 | <groupId>org.springframework.boot</groupId> | 15 | <groupId>org.springframework.boot</groupId> |
| 13 | <artifactId>spring-boot-starter-parent</artifactId> | 16 | <artifactId>spring-boot-starter-parent</artifactId> |
| @@ -143,6 +146,13 @@ | @@ -143,6 +146,13 @@ | ||
| 143 | </dependencies> | 146 | </dependencies> |
| 144 | 147 | ||
| 145 | <build> | 148 | <build> |
| 149 | + | ||
| 150 | + <resources> | ||
| 151 | + <resource> | ||
| 152 | + <directory>src/main/resources</directory> | ||
| 153 | + <filtering>true</filtering> | ||
| 154 | + </resource> | ||
| 155 | + </resources> | ||
| 146 | <plugins> | 156 | <plugins> |
| 147 | <plugin> | 157 | <plugin> |
| 148 | <groupId>org.springframework.boot</groupId> | 158 | <groupId>org.springframework.boot</groupId> |
| @@ -157,6 +167,15 @@ | @@ -157,6 +167,15 @@ | ||
| 157 | </configuration> | 167 | </configuration> |
| 158 | </plugin> | 168 | </plugin> |
| 159 | 169 | ||
| 170 | + <!-- 跳过单元测试 --> | ||
| 171 | + <plugin> | ||
| 172 | + <groupId>org.apache.maven.plugins</groupId> | ||
| 173 | + <artifactId>maven-surefire-plugin</artifactId> | ||
| 174 | + <configuration> | ||
| 175 | + <skipTests>true</skipTests> | ||
| 176 | + </configuration> | ||
| 177 | + </plugin> | ||
| 178 | + | ||
| 160 | <plugin> | 179 | <plugin> |
| 161 | <groupId>org.apache.maven.plugins</groupId> | 180 | <groupId>org.apache.maven.plugins</groupId> |
| 162 | <artifactId>maven-assembly-plugin</artifactId> | 181 | <artifactId>maven-assembly-plugin</artifactId> |
-
Please register or login to post a comment