Closed skyxh closed 2 years ago
Hi @skyxh , I just tested on my laptop with a new fresh project with this pom below (opc-simple was not in my cache) and this worked just fine.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId>
<artifactId>test-opc-simple</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.Hurence</groupId>
<artifactId>opc-simple</artifactId>
<version>3.0.0-rc1</version>
</dependency>
</dependencies>
</project>
Whether the project is published to the maven repository?
It is not, that's why we add the jitpack repository in the pom.