kohlschutter / junixsocket

Unix Domain Sockets in Java 7 and newer (AF_UNIX), AF_TIPC, AF_VSOCK, and more
Apache License 2.0
438 stars 114 forks source link

junixsocket-core JAR missing from Maven Central #93

Closed itoijala-huld closed 2 years ago

itoijala-huld commented 3 years ago

Something appears to have gone wrong with the upload of junixsocket-core to maven Central. Maven only has the POM but not any JARs.

See https://repo1.maven.org/maven2/com/kohlschutter/junixsocket/junixsocket-core/2.4.0/

For comparison, here is 2.3.4: https://repo1.maven.org/maven2/com/kohlschutter/junixsocket/junixsocket-core/2.3.4/

This might also affect some other components, I didn't check exhaustively.

kohlschuetter commented 2 years ago

Thanks for reporting! Beginning with 2.4.0, junixsocket-core is now a POM-only artifact.

You have to specify the dependency like this:

<dependency>
  <groupId>com.kohlschutter.junixsocket</groupId>
  <artifactId>junixsocket-core</artifactId>
  <version>2.4.0</version>
  <type>pom</type>
</dependency>

Since this obviously was not clearly communicated, I've now added some more clear instructions (9c0145e).

kohlschuetter commented 2 years ago

@itoijala-huld Please verify if adding the "type" fixes the issue for you.

itoijala-huld commented 2 years ago

Thanks, that does fix the issue.

I'm using Gradle, so I followed the instructions at https://stackoverflow.com/a/55579207.