环境:blade-boot 2.9.0 单体版本 ,同机器blade-boot 3.1.1 boot 可以打包
配置如下,密钥已配置,可以使用maven下载jar包,就是 mvn clean package 不行。仓库中有 2.9.0的jar包
<repositories>
<repository>
<id>aliyun-repos</id>
<name>Aliyun Public Repository</name>
<url>https://maven.aliyun.com/repository/public</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>bladex</id>
<name>BladeX Release Repository</name>
<url>https://center.javablade.com/api/packages/blade/maven</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>aliyun-plugin</id>
<name>Aliyun Public Plugin</name>
<url>https://maven.aliyun.com/repository/public</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<distributionManagement>
<repository>
<id>bladex</id>
<name>BladeX Release Repository</name>
<url>https://center.javablade.com/api/packages/blade/maven</url>
</repository>
<snapshotRepository>
<id>bladex</id>
<name>BladeX Snapshot Repository</name>
<url>https://center.javablade.com/api/packages/blade/maven</url>
</snapshotRepository>
</distributionManagement>
<mirror>
<id>aliyun-repos</id>
<name>Aliyun Public Repository</name>
<url>https://maven.aliyun.com/repository/public</url>
<mirrorOf>*,!bladex</mirrorOf>
</mirror>
<mirror>
<id>nexus</id>
<name>nexus repositories</name>
<url>https://repo1.maven.org/maven2</url>
<mirrorOf>*,!bladex</mirrorOf>
</mirror>
</mirrors>
报错信息如下:
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ...ore artifacts.\n |\n | Default: ${user.home}/.m2/repository\n <l... @53:5) @ /Users/zhangzhen/.m2/settings.xml, line 53, column 5
[WARNING]
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'dependencies.dependency.systemPath' for com.aspose:aspose-words:jar:jdk17 should not point at files within the project directory, ${project.basedir}/lib/aspose-words-20.12-jdk17-crack.jar will be unresolvable by dependent projects @ line 223, column 25
[WARNING] 'dependencies.dependency.systemPath' for com.aspose:aspose-slides:jar:jdk16 should not point at files within the project directory, ${project.basedir}/lib/aspose-slides-21.10-jdk16.jar will be unresolvable by dependent projects @ line 232, column 25
[WARNING] 'dependencies.dependency.systemPath' for com.aspose:aspose-cells:jar should not point at files within the project directory, ${project.basedir}/lib/aspose-cells-21.11.jar will be unresolvable by dependent projects @ line 240, column 25
[WARNING] 'dependencies.dependency.systemPath' for com.aspose:aspose-pdf:jar should not point at files within the project directory, ${project.basedir}/lib/aspose.pdf-21.11.jar will be unresolvable by dependent projects @ line 248, column 25
[ERROR] Non-resolvable import POM: Failure to find org.springblade.platform:blade-bom:pom:2.9.0.RELEASE in https://maven.aliyun.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of aliyun-repos has elapsed or updates are forced @ line 39, column 25
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-core-boot:jar is missing. @ line 65, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-http:jar is missing. @ line 75, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-api-crypto:jar is missing. @ line 79, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-datascope:jar is missing. @ line 83, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-tenant:jar is missing. @ line 87, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-develop:jar is missing. @ line 91, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-swagger:jar is missing. @ line 95, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-excel:jar is missing. @ line 99, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-social:jar is missing. @ line 103, column 21
[ERROR] 'dependencies.dependency.version' for com.github.xiaoymin:knife4j-spring-ui:jar is missing. @ line 107, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-core-auto:jar is missing. @ line 111, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-core-test:jar is missing. @ line 116, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-report:jar is missing. @ line 122, column 21
[ERROR] 'dependencies.dependency.version' for com.github.whvcse:easy-captcha:jar is missing. @ line 127, column 21
[ERROR] 'dependencies.dependency.version' for com.baomidou:mybatis-plus-generator:jar is missing. @ line 143, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-oss:jar is missing. @ line 155, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-sms:jar is missing. @ line 160, column 21
[ERROR] 'dependencies.dependency.version' for io.minio:minio:jar is missing. @ line 165, column 21
[ERROR] 'dependencies.dependency.version' for com.aliyun.oss:aliyun-sdk-oss:jar is missing. @ line 170, column 21
[ERROR] 'dependencies.dependency.version' for com.aliyun:aliyun-java-sdk-core:jar is missing. @ line 175, column 21
[ERROR] 'dependencies.dependency.version' for com.qcloud:cos_api:jar is missing. @ line 180, column 21
[ERROR] 'dependencies.dependency.version' for com.github.qcloudsms:qcloudsms:jar is missing. @ line 185, column 21
[ERROR] 'dependencies.dependency.version' for com.qiniu:qiniu-java-sdk:jar is missing. @ line 190, column 21
[ERROR] 'dependencies.dependency.version' for com.yunpian.sdk:yunpian-java-sdk:jar is missing. @ line 195, column 21
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.springblade:BladeX-Boot:2.9.0.RELEASE (/Users/zhangzhen/D/IDEA/project/2022/浪潮方案超市运营评价系统/03系统编码/serverpjxt/pom.xml) has 25 errors
[ERROR] Non-resolvable import POM: Failure to find org.springblade.platform:blade-bom:pom:2.9.0.RELEASE in https://maven.aliyun.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of aliyun-repos has elapsed or updates are forced @ line 39, column 25 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-core-boot:jar is missing. @ line 65, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-http:jar is missing. @ line 75, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-api-crypto:jar is missing. @ line 79, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-datascope:jar is missing. @ line 83, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-tenant:jar is missing. @ line 87, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-develop:jar is missing. @ line 91, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-swagger:jar is missing. @ line 95, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-excel:jar is missing. @ line 99, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-social:jar is missing. @ line 103, column 21
[ERROR] 'dependencies.dependency.version' for com.github.xiaoymin:knife4j-spring-ui:jar is missing. @ line 107, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-core-auto:jar is missing. @ line 111, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-core-test:jar is missing. @ line 116, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-report:jar is missing. @ line 122, column 21
[ERROR] 'dependencies.dependency.version' for com.github.whvcse:easy-captcha:jar is missing. @ line 127, column 21
[ERROR] 'dependencies.dependency.version' for com.baomidou:mybatis-plus-generator:jar is missing. @ line 143, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-oss:jar is missing. @ line 155, column 21
[ERROR] 'dependencies.dependency.version' for org.springblade:blade-starter-sms:jar is missing. @ line 160, column 21
[ERROR] 'dependencies.dependency.version' for io.minio:minio:jar is missing. @ line 165, column 21
[ERROR] 'dependencies.dependency.version' for com.aliyun.oss:aliyun-sdk-oss:jar is missing. @ line 170, column 21
[ERROR] 'dependencies.dependency.version' for com.aliyun:aliyun-java-sdk-core:jar is missing. @ line 175, column 21
[ERROR] 'dependencies.dependency.version' for com.qcloud:cos_api:jar is missing. @ line 180, column 21
[ERROR] 'dependencies.dependency.version' for com.github.qcloudsms:qcloudsms:jar is missing. @ line 185, column 21
[ERROR] 'dependencies.dependency.version' for com.qiniu:qiniu-java-sdk:jar is missing. @ line 190, column 21
[ERROR] 'dependencies.dependency.version' for com.yunpian.sdk:yunpian-java-sdk:jar is missing. @ line 195, column 21
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
https://sns.bladex.cn/q-762.html
不管用啊
2.9.0需要单独下载对应版本的bladex-tool,然后自行构建,因为之前2.9.0已经泄露在外网,所以我们把依赖删掉不在nexus仓库了,需要用户自己编译源码。
下载地址(找到对应版本的bladex-tool):https://center.javablade.com/blade/BladeX/releases
扫一扫访问 Blade技术社区 移动端