How to import Apache Flink SNAPSHOT artifacts?

I want to add Gelly docs to my project, but it gives me this error:

Sources not found for: org.apache.flink: flink-gelly_2.10: 1.2-SNAPSHOT

This is in my pom.xml

<dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-gelly_2.10</artifactId> <version>1.2-SNAPSHOT</version> </dependency> 

I tried looking for another version of the gel to solve this problem, but could not find it. is there any other way to get the documentation?

+5
source share
1 answer

Apache publishes SNAPSHOT artifacts only for the dedicated Maven repository. Please note that these artifacts are for development purposes only. They are not part of the official release of Apache Flink!

You need to add the following repository configuration to pom.xml to receive SNAPSHOT artifacts:

 <repositories> <repository> <id>apache.snapshots</id> <name>Apache Development Snapshot Repository</name> <url>https://repository.apache.org/content/repositories/snapshots/</url> <releases><enabled>false</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> </repositories> 

Alternatively, you can download the latest Flink code and create it on your local machine.

+4
source

All Articles