主题:sbp创建了一个子项目 打包的时候两个引用core和console missing怎么解决

opopopwqwqwq 2019年05月07日 97

sbp创建了一个子项目 打包的时候两个引用core和console missing怎么解决

是我打包的姿势不对吗 还是创建子项目后要手动修改一些pom配置?

创建完子项目是要改主项目的pom把新建的子项目以module加入到父级pom吗

现在子项目打包报这个错

[WARNING] The POM for com.ibeetl:admin-core:jar:1.2.1 is missing, no dependency information available[WARNING] The POM for com.ibeetl:admin-console:jar:1.2.1 is missing, no dependency information available


[ERROR] Failed to execute goal on project bill: Could not resolve dependencies for project com.mt:bill:jar:1.0: The following artifacts could not be resolved: com.ibeetl:admin-core:jar:1.2.1, com.ibeetl:admin-console:jar:1.2.1: Failure to find com.ibeetl:admin-core:jar:1.2.1 in http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced -> [Help 1]

opopopwqwqwq 2019年05月07日

贴一下子项目  自动生成的pom


---

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.mt</groupId> <artifactId>bill</artifactId> <version>1.0</version> <properties> <java.version>1.8</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <commons-lang3.version>3.3.2</commons-lang3.version> </properties> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.0.RELEASE</version> </parent> <packaging>jar</packaging> <dependencies> <dependency> <groupId>com.ibeetl</groupId> <artifactId>admin-core</artifactId> <version>1.2.1</version> </dependency> <!--  admin-console 包含了系统管理管理的所有功能,子系统可以不使用这部分 --> <dependency> <groupId>com.ibeetl</groupId> <artifactId>admin-console</artifactId> <version>1.2.1</version> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>6.0.5</version> </dependency> </dependencies> <build>     <plugins>         <plugin>             <groupId>org.springframework.boot</groupId>             <artifactId>spring-boot-maven-plugin</artifactId>         </plugin>     </plugins>    </build></project>

闲大赋 2019年05月07日

你缺少1.2.1 的包,你分别安装一下console和core包就行了啊,有人反映使用${plus.version}不识别,你手工改成1.2.1,在用maven install 打包看看

  • opopopwqwqwq :OK 3Q 已解决(2019年05月07日)