glh1991 opened a new issue #228: maven install fail
URL: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/228
 
 
   项目中的pom.xml文件添加了依赖
   ```
   <dependency>
       <groupId>com.alibaba.boot</groupId>
       <artifactId>dubbo-spring-boot-starter</artifactId>
       <version>0.0.2</version>
   </dependency>
   ```
   同时指定了仓库
   ```
   <repositories>
       <repository>
           <id>sonatype-nexus-snapshots</id>
           <url>https://oss.sonatype.org/content/repositories/snapshots</url>
           <releases>
               <enabled>false</enabled>
           </releases>
           <snapshots>
               <enabled>true</enabled>
           </snapshots>
       </repository>
   </repositories>
   ```
   但是执行maven install 报错.
   ```
   The following artifacts could not be resolved: 
com.alibaba.boot:dubbo-spring-boot-starter:jar:0.0.2, 
com.alibaba.boot:dubbo-spring-boot-actuator:jar:0.0.2: Could not find artifact 
com.alibaba.boot:dubbo-spring-boot-starter:jar:0.0.2 in artifactory
   ```
   想请教一下, 如何配置的settings.xml, 我的settings.xml就配置了一个mirror
   ```
   <mirror>
        <id>artifactory</id>
        <url>公司的仓库地址</url>
        <name>Artifactory</name>
        <mirrorOf>*</mirrorOf>
   </mirror>
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to