`
learnmore
  • 浏览: 589512 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

springboot maven项目多模块,打包时需要包含本地第三方jar包

    博客分类:
  • j2ee
阅读更多
如果需要在打出来的jar包中包含本地第三方jar包,需要在web模块(也就是target目录所在的模块)中,加入如下的配置

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
              <includeSystemScope>true</includeSystemScope>
                </configuration>
            </plugin>
        </plugins>
    </build>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics