Skip to content

Commit

Permalink
Created new project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev7ex committed Jun 18, 2023
1 parent 6809863 commit 95392ce
Show file tree
Hide file tree
Showing 5 changed files with 306 additions and 88 deletions.
106 changes: 106 additions & 0 deletions multiworld-api/multiworld-api-bukkit/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
<?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>

<parent>
<artifactId>multiworld-api</artifactId>
<groupId>com.dev7ex</groupId>
<version>1.4.0-SNAPSHOT</version>
</parent>

<name>MultiWorld-API-Bukkit</name>
<artifactId>multiworld-api-bukkit</artifactId>

<properties>
<maven.compiler.source>16</maven.compiler.source>
<maven.compiler.target>16</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>${dependency-spigot-api-version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.dev7ex</groupId>
<artifactId>facilis-common-bukkit</artifactId>
<version>${dependency.facilis-common-version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${dependency.lombok-version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.dev7ex</groupId>
<artifactId>multiworld-api-core</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>${dependency.annotations-version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<finalName>${project.name}-${project.version}</finalName>
<defaultGoal>clean package</defaultGoal>

<resources>
<resource>
<targetPath>.</targetPath>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<excludes>
<!-- exclude hidden files starting with dot -->
<exclude>**/.*.*</exclude>
</excludes>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<debug>true</debug>
<debuglevel>lines,vars,source</debuglevel>
<encoding>UTF-8</encoding>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<source>${project.source.version}</source>
<target>${project.source.version}</target>
</configuration>
</plugin>
</plugins>
</build>

</project>
43 changes: 43 additions & 0 deletions multiworld-api/multiworld-api-core/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?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">
<parent>
<artifactId>multiworld-api</artifactId>
<groupId>com.dev7ex</groupId>
<version>1.4.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<name>MultiWorld-API-Core</name>
<artifactId>multiworld-api-core</artifactId>

<properties>
<maven.compiler.source>16</maven.compiler.source>
<maven.compiler.target>16</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>com.dev7ex</groupId>
<artifactId>facilis-common-core</artifactId>
<version>${dependency.facilis-common-version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${dependency.lombok-version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>${dependency.annotations-version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

</project>
27 changes: 27 additions & 0 deletions multiworld-api/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?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>

<parent>
<artifactId>multiworld</artifactId>
<groupId>com.dev7ex</groupId>
<version>1.4.0-SNAPSHOT</version>
</parent>

<name>MultiWorld-API</name>
<artifactId>multiworld-api</artifactId>
<packaging>pom</packaging>

<modules>
<module>multiworld-api-core</module>
<module>multiworld-api-bukkit</module>
</modules>

<properties>
<maven.compiler.source>16</maven.compiler.source>
<maven.compiler.target>16</maven.compiler.target>
</properties>

</project>
114 changes: 114 additions & 0 deletions multiworld-bukkit/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<?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>

<parent>
<artifactId>multiworld</artifactId>
<groupId>com.dev7ex</groupId>
<version>1.4.0-SNAPSHOT</version>
</parent>

<name>MultiWorld-Bukkit</name>
<artifactId>multiworld-bukkit</artifactId>

<properties>
<maven.compiler.source>16</maven.compiler.source>
<maven.compiler.target>16</maven.compiler.target>
</properties>

<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>${dependency-spigot-api-version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.dev7ex</groupId>
<artifactId>facilis-common-bukkit</artifactId>
<version>${dependency.facilis-common-version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.dev7ex</groupId>
<artifactId>multiworld-api-bukkit</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${dependency.lombok-version}</version>
<scope>provided</scope>
</dependency>


<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>${dependency.annotations-version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<finalName>${project.name}-${project.version}</finalName>
<defaultGoal>clean package</defaultGoal>

<resources>
<resource>
<targetPath>.</targetPath>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<excludes>
<!-- exclude hidden files starting with dot -->
<exclude>**/.*.*</exclude>
</excludes>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<debug>true</debug>
<debuglevel>lines,vars,source</debuglevel>
<encoding>UTF-8</encoding>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<source>${project.source.version}</source>
<target>${project.source.version}</target>
</configuration>
</plugin>
</plugins>
</build>

</project>
Loading

0 comments on commit 95392ce

Please sign in to comment.