Skip to content

Commit

Permalink
junixsocket-core: Change from jar to pom
Browse files Browse the repository at this point in the history
When adding junixsocket-core as a dependency, you now need to specify
a type of "pom", e.g.:

   <dependency>
      <groupId>com.kohlschutter.junixsocket</groupId>
      <artifactId>junixsocket-core</artifactId>
      <version>2.4.0</version>
      <type>pom</type>
    </dependency>
  • Loading branch information
kohlschuetter committed Apr 17, 2021
1 parent 904a5fb commit 47795ec
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 18 deletions.
4 changes: 1 addition & 3 deletions junixsocket-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
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>
<artifactId>junixsocket-core</artifactId>

<!-- <packaging>pom</packaging> --> <!-- Blocked by MCOMPILER-360 -->
<packaging>jar</packaging>
<packaging>pom</packaging>

<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions junixsocket-core/src/main/java/module-info.java

This file was deleted.

2 changes: 1 addition & 1 deletion junixsocket-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-core</artifactId>
<version>${project.version}</version>
<!-- <type>pom</type> --> <!-- Blocked by MCOMPILER-360 -->
<type>pom</type>
</dependency>
<dependency>
<groupId>com.kohlschutter.junixsocket</groupId>
Expand Down
1 change: 1 addition & 0 deletions junixsocket-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-core</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.kohlschutter.junixsocket</groupId>
Expand Down
1 change: 1 addition & 0 deletions junixsocket-selftest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-core</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.kohlschutter.junixsocket</groupId>
Expand Down
2 changes: 2 additions & 0 deletions src/site/markdown/dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Add the following dependency to your Maven project
<type>pom</type>
</dependency>

> **NOTE:** In junixsocket versions older than 2.4.0, the `<type>pom</type>` declaration must be omitted.
[See here](customarch.html) how to add support for custom architectures that aren't supported out of the box.

If you're going to use AFUNIXSocketServer code, add the following dependency:
Expand Down

0 comments on commit 47795ec

Please sign in to comment.