richard1230 commented on issue #1931: URL: https://github.com/apache/servicecomb-java-chassis/issues/1931#issuecomment-679920833
@liubao68 There is a [dead link](https://github.com/apache/servicecomb-java-chassis/blob/master/java-chassis-dependencies/pom.xml) in http://servicecomb.apache.org/cn/docs/maven_dependency_management/; Now I use dependency management to manage dependency; now the pom.xml is as follows: ``` <?xml version="1.0" encoding="UTF-8"?> <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>org.example</groupId> <artifactId>HelloWorldService</artifactId> <version>1.0-SNAPSHOT</version> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <compilerArgument>-parameters</compilerArgument> <encoding>UTF-8</encoding> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build> <dependencyManagement> <dependencies> <dependency> <groupId>org.apache.servicecomb</groupId> <artifactId>java-chassis-dependencies</artifactId> <version>${java-chassis-dependencies.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <!-- https://mvnrepository.com/artifact/org.apache.servicecomb/solution-basic --> <dependency> <groupId>org.apache.servicecomb</groupId> <artifactId>solution-basic</artifactId> <!-- <version>2.0.0</version>--> </dependency> </dependencies> </project> ``` But build is failing, the error is: ``` Cannot resolve org.apache.servicecomb:solution-basic:unknown ``` the steps to reproduce the error: https://github.com/richard1230/helloService ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
