Implement skeleton modules for our 5 initial commands.

This commit is contained in:
md_5 2014-01-10 09:34:06 +11:00
parent cb4f70ecc7
commit 7dba8c8a87
13 changed files with 163 additions and 2 deletions

4
.gitignore vendored
View File

@ -34,4 +34,6 @@ manifest.mf
# other files # other files
*.log* *.log*
*.yml
# delombok
*/src/main/lombok

20
module/cmd-alert/pom.xml Normal file
View File

@ -0,0 +1,20 @@
<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>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-module</artifactId>
<version>1.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-module-cmd-alert</artifactId>
<version>1.7-SNAPSHOT</version>
<packaging>pom</packaging>
<name>cmd_alert</name>
<description>Provides the alert and alertraw commands</description>
</project>

View File

@ -0,0 +1,4 @@
name: ${project.name}
main: foo
version: ${describe}
description: ${project.description}

20
module/cmd-find/pom.xml Normal file
View File

@ -0,0 +1,20 @@
<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>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-module</artifactId>
<version>1.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-module-cmd-find</artifactId>
<version>1.7-SNAPSHOT</version>
<packaging>pom</packaging>
<name>cmd_find</name>
<description>Provides the find command</description>
</project>

View File

@ -0,0 +1,4 @@
name: ${project.name}
main: foo
version: ${describe}
description: ${project.description}

20
module/cmd-list/pom.xml Normal file
View File

@ -0,0 +1,20 @@
<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>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-module</artifactId>
<version>1.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-module-cmd-list</artifactId>
<version>1.7-SNAPSHOT</version>
<packaging>pom</packaging>
<name>cmd_list</name>
<description>Provides the glist command</description>
</project>

View File

@ -0,0 +1,4 @@
name: ${project.name}
main: foo
version: ${describe}
description: ${project.description}

20
module/cmd-send/pom.xml Normal file
View File

@ -0,0 +1,20 @@
<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>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-module</artifactId>
<version>1.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-module-cmd-send</artifactId>
<version>1.7-SNAPSHOT</version>
<packaging>pom</packaging>
<name>cmd_send</name>
<description>Provides the gsend command</description>
</project>

View File

@ -0,0 +1,4 @@
name: ${project.name}
main: foo
version: ${describe}
description: ${project.description}

20
module/cmd-server/pom.xml Normal file
View File

@ -0,0 +1,20 @@
<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>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-module</artifactId>
<version>1.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-module-cmd-server</artifactId>
<version>1.7-SNAPSHOT</version>
<packaging>pom</packaging>
<name>cmd_server</name>
<description>Provides the server command</description>
</project>

View File

@ -0,0 +1,4 @@
name: ${project.name}
main: foo
version: ${describe}
description: ${project.description}

38
module/pom.xml Normal file
View File

@ -0,0 +1,38 @@
<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>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-parent</artifactId>
<version>1.7-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-module</artifactId>
<version>1.7-SNAPSHOT</version>
<packaging>pom</packaging>
<name>BungeeCord</name>
<description>Parent project for all BungeeCord modules.</description>
<modules>
<module>cmd-alert</module>
<module>cmd-find</module>
<module>cmd-list</module>
<module>cmd-send</module>
<module>cmd-server</module>
</modules>
<build>
<finalName>${project.name}</finalName>
<resources>
<resource>
<filtering>true</filtering>
<directory>${basedir}/src/main/resources</directory>
</resource>
</resources>
</build>
</project>

View File

@ -14,7 +14,7 @@
<version>1.7-SNAPSHOT</version> <version>1.7-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>BungeeCord</name> <name>BungeeCord-Parent</name>
<description>Parent project for all BungeeCord modules.</description> <description>Parent project for all BungeeCord modules.</description>
<url>https://github.com/SpigotMC/BungeeCord</url> <url>https://github.com/SpigotMC/BungeeCord</url>
<inceptionYear>2012</inceptionYear> <inceptionYear>2012</inceptionYear>
@ -41,6 +41,7 @@
<module>bootstrap</module> <module>bootstrap</module>
<module>config</module> <module>config</module>
<module>event</module> <module>event</module>
<module>module</module>
<module>protocol</module> <module>protocol</module>
<module>proxy</module> <module>proxy</module>
<module>query</module> <module>query</module>