Skip to content

Commit

Permalink
mvn package : get the jar of the project ~
Browse files Browse the repository at this point in the history
  • Loading branch information
GoogTech authored Jun 30, 2019
1 parent 4c70425 commit 72b595d
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions memo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,37 @@
</dependency>
</dependencies>

<!-- 解决: org.apache.ibatis.binding.BindingException:Invalid bound statement (not found) -->
<build>
<build>
<plugins>
<!-- Quick start: mvn package -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<!-- IDEA-解决: org.apache.ibatis.binding.BindingException:Invalid bound statement (not found) -->
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
<!-- IDEA-解决: 项目打包后其jar中未包含'static/'及'application.properties'配置文件问题 -->
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/**</include>
</includes>
</resource>
</resources>
</build>

</project>
</project>

0 comments on commit 72b595d

Please sign in to comment.