Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

步骤二构建失败 #226

Open
Echo-xzp opened this issue Sep 26, 2022 · 2 comments
Open

步骤二构建失败 #226

Echo-xzp opened this issue Sep 26, 2022 · 2 comments

Comments

@Echo-xzp
Copy link

BUG描述
具体步骤2
安装公共库到本地仓库:

mvn -pl ./common,./auth/authentication-client install

执行后报错。
分析后发现少了一个facade的jar包

修改为 mvn -pl ./common,./facade,./auth/authentication-client install

执行又报错。

分析发现的父文件中maven插件打包时执行repackage,暂时注释后,再执行成功构建。

-- 构建环境为 mvn9

截图

环境

操作系统、组件版本、数据库等

@ET-stack
Copy link

BUG描述
具体步骤2
安装公共库到本地仓库:

mvn -pl ./common,./auth/authentication-client install

执行后报错。
分析后发现少了一个facade的jar包
打包facade 发现报 Unable to find main class
找到facade pom文件增加
<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build>

才能打包成功
-- 构建环境为 apache-maven-3.6.0

截图
环境

操作系统、组件版本、数据库等

@gaofrank
Copy link

gaofrank commented Jan 18, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants