Skip to content
Permalink
Browse files

Init Project

  • Loading branch information...
BuildTools
BuildTools committed Apr 6, 2018
0 parents commit b8a14d8dec9b962e1fc8c369891f5e50112ad2c6
35 pom.xml
@@ -0,0 +1,35 @@
<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>
<groupId>my.package.test</groupId>
<artifactId>PluginName</artifactId>
<version>0.0.1-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>

</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.11.2-R0.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/lib/spigot-api-1.11.2-R0.1-SNAPSHOT.jar</systemPath>
</dependency>
<dependency>
<groupId>org.bukkit.shared</groupId>
<artifactId>bukkit_shared</artifactId>
<version>1.11.2-R0.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/lib/spigot-api-1.11.2-R0.1-SNAPSHOT-shaded.jar</systemPath>
</dependency>
</dependencies>
</project>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,15 @@
package io.github.yinquan.testplugin;

import org.bukkit.plugin.java.JavaPlugin;

public class MytestPlugin extends JavaPlugin{
@Override
public void onEnable() {
getLogger().info("onEnable has been invoked!");
}

@Override
public void onDisable() {
getLogger().info("onDisable has been invoked!");
}
}
@@ -0,0 +1,3 @@
name: MyfirstPlugin
main: io.github.yinquan.testplugin.MytestPlugin
version: 1.0

0 comments on commit b8a14d8

Please sign in to comment.
You can’t perform that action at this time.