1

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?

chrslg
  • 9,023
  • 5
  • 17
  • 31
Lisa Liu
  • 139
  • 1
  • 6

1 Answers1

1

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>
Wey Gu
  • 575
  • 1
  • 6
  • 11