快速入门
使用 SNAPSHOT 版本
登录后可跨设备保存划线和私人笔记登录
尤其是在想确认你遇到的问题是否已经在开发版本中修复时,你可能需要或被要求试用 PLC4X 的最新版本。通常,你只需在 PLC4X 的版本号后加上 “-SNAPSHOT” 即可。
我们还提供了便捷构建的 SNAPSHOT 版本,但它们不会与 Maven Central 自动同步,因此 Maven 无法自动找到它们。
我们的 SNAPSHOT 版本部署在 Apache Maven repository 上。
要访问这些版本,你需要在 pom.xml 文件中添加以下代码块:
<!-- Make Snapshots of Apache projects available -->
<repositories>
<repository>
<id>apache-snapshots</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<!-- Make Snapshots of Apache plugins available -->
<pluginRepositories>
<pluginRepository>
<id>apache-snapshots</id>
<url>https://repository.apache.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>添加此代码块后,你应当也能够使用 SNAPSHOT 版本。
评论
登录后参与评论
正在加载评论…
KnowForge