[英]Adding a non stable release of a project to another maven project
I have a maven project where I add the dependencies for the flink libraries as follows: 我有一个Maven项目,在其中添加了flink库的依赖项,如下所示:
<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>
<dependencies>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
<version>${flink.version}</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-streaming-java_2.10</artifactId>
<version>${flink.version}</version>
</dependency>
</dependencies>
I have to switch to the upcoming version of these libraries which is not released in Maven yet. 我必须切换到这些库的即将发布的版本,该版本尚未在Maven中发布。
https://github.com/apache/flink provides the source code and instructions on how to build it but I am relatively unsure how do I linked the compiled projects to my maven project. https://github.com/apache/flink提供了有关如何构建它的源代码和说明,但是我不确定如何将编译后的项目链接到我的maven项目。
1.2-SNAPSHOT
). 1.2-SNAPSHOT
)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.