Skip to content

Commit

Permalink
Fixed maven structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Duckelekuuk committed Aug 23, 2023
1 parent ef98424 commit 4de9b16
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 15 deletions.
20 changes: 15 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,28 @@

<groupId>com.rpcnis</groupId>
<artifactId>rpcnis-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<version>${revision}</version>
<packaging>pom</packaging>

<modules>
<module>rpcnis-serializer/</module>
<module>rpcnis-core/</module>
<module>rpcnis-serializer</module>
<module>rpcnis-core</module>
</modules>

<properties>
<maven.compiler.source>20</maven.compiler.source>
<maven.compiler.target>20</maven.compiler.target>
<revision>1.0.0</revision>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.10.0</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>
15 changes: 9 additions & 6 deletions rpcnis-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,29 @@
<artifactId>rpcnis-core</artifactId>
<version>1.0-SNAPSHOT</version>

<parent>
<groupId>com.rpcnis</groupId>
<artifactId>rpcnis-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.plugin.validation>verbose</maven.plugin.validation>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<rpcnis-serializer.version>${revision}</rpcnis-serializer.version>
</properties>

<dependencies>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.10.0</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.npcnis</groupId>
<artifactId>rpcnis-serializer</artifactId>
<version>1.0-SNAPSHOT</version>
<version>${rpcnis-serializer.version}</version>
</dependency>
</dependencies>

Expand Down
12 changes: 8 additions & 4 deletions rpcnis-serializer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@

<groupId>com.npcnis</groupId>
<artifactId>rpcnis-serializer</artifactId>
<version>1.0-SNAPSHOT</version>
<version>${revision}</version>

<parent>
<groupId>com.rpcnis</groupId>
<artifactId>rpcnis-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<properties>
<maven.compiler.source>20</maven.compiler.source>
<maven.compiler.target>20</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

</project>

0 comments on commit 4de9b16

Please sign in to comment.