查看: 1034|回复: 3

打包问题

升级   0.06%

88

主题

135

回帖

6

积分

注册会员

Rank: 2

积分
6
发表于 2024-8-29 16:32:34 | 显示全部楼层 |阅读模式
本帖最后由 欢乐树 于 2024-8-30 09:53 编辑

我加了个接口想单独打包x.organization.assemble.authentication模块,maven提示这些,是什么原因呀。。
找不到符号,都是entity.xxx_下划线这个,
还有这个Could not find artifact o2oa:x_base_core_project:pom:7.0 in aliyunmaven (https://maven.aliyun.com/repository/public)

'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 123, column 12
Some problems were encountered while building the effective model for o2oa:x_organization_assemble_express:war:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 138, column 12
Some problems were encountered while building the effective model for o2oa:x_organization_assemble_personal:war:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 124, column 12
Some problems were encountered while building the effective model for o2oa:x_portal_assemble_designer:war:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 123, column 12
Some problems were encountered while building the effective model for o2oa:x_portal_assemble_surface:war:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 135, column 12
Some problems were encountered while building the effective model for o2oa:x_processplatform_assemble_bam:war:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 131, column 12
Some problems were encountered while building the effective model for o2oa:x_processplatform_assemble_designer:war:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 152, column 12
Some problems were encountered while building the effective model for o2oa:x_processplatform_assemble_surface:war:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 168, column 12
Some problems were encountered while building the effective model for o2oa:x_processplatform_service_processing:war:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 141, column 12
Some problems were encountered while building the effective model for o2oa:x_query_assemble_designer:war:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 147, column 12
Some problems were encountered while building the effective model for o2oa:x_query_assemble_surface:war:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 147, column 12
Some problems were encountered while building the effective model for o2oa:x_query_service_processing:war:7.0
'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: o2oa:x_query_core_entity:jar -> duplicate declaration of version (?) @ line 27, column 15
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 147, column 12
Some problems were encountered while building the effective model for o2oa:x_program_center:war:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 168, column 12
Some problems were encountered while building the effective model for o2oa:x_console:jar:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 106, column 12
Some problems were encountered while building the effective model for o2oa:x_imut_syn_unit:war:7.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 206, column 21
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

升级   100%

0

主题

662

回帖

2

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2
发表于 2024-8-30 14:08:44 | 显示全部楼层
你首先需要经过一次全局打包即在o2server目录下执行mvn install,然后才可以对单个应用修改后打包
回复

使用道具 举报

升级   0.06%

88

主题

135

回帖

6

积分

注册会员

Rank: 2

积分
6
发表于 2024-8-30 14:36:38 | 显示全部楼层
启蒙星 发表于 2024-8-30 14:08
你首先需要经过一次全局打包即在o2server目录下执行mvn install,然后才可以对单个应用修改后打包 ...

这次好了, 我把我的maven的仓库地址D/pro/worksxx从我自定义的地方,换成了默认的c盘的.m2/xxx就好了。但是那些带下换线的实体类还是爆红,这是什么原因呀。。
回复

使用道具 举报

升级   100%

0

主题

662

回帖

2

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2
发表于 2024-9-2 09:48:46 | 显示全部楼层
带下划线的实体类是编译以后生成的
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系客服 关注微信 下载APP 返回顶部 返回列表
viewthread