Home > Mobile >  When I compile NebulaGraph Exchange, Connectors and Algorithm, the SNAPSHOT package can not be downl
When I compile NebulaGraph Exchange, Connectors and Algorithm, the SNAPSHOT package can not be downl

Time:12-09

When I compile NebulaGraph Exchange, Connectors and Algorithm, the SNAPSHOT package can not be downloaded. It gives the hint:

Could not find artifact com.vesoft:client:jar:xxx-SNAPSHOT

Want to know why this hint is given. Is there any solution for this?

CodePudding user response:

You need to add snapshots to the profiles of setting.xml to enable downloading SNAPSHOT from the repo.

  <profile>
     <activation>
        <activeByDefault>true</activeByDefault>
     </activation>
     <repositories>
        <repository>
            <id>snapshots</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
            <snapshots>
               <enabled>true</enabled>
            </snapshots>
      </repository>
     </repositories>
  </profile>
  • Related