Moved Towny here

This commit is contained in:
Norbi Peti 2016-10-24 19:28:39 +02:00
parent 3a793b76db
commit cbf091d31c
2 changed files with 125 additions and 110 deletions

10
jitpack.yml Normal file
View file

@ -0,0 +1,10 @@
jdk:
- oraclejdk8
#before_install:
# - ./prepareEnvironment.sh
install:
- echo "Downloading Towny JAR..."
- 'wget -O "Towny.jar" --header="Accept-Language: en-us,en;q=0.5" http://palmergames.com/file-repo/Towny%20Advanced/Development/0.91.1.5/Towny.jar'
- mvn install:install-file -Dfile=Towny.jar -DgroupId=com.github.TBMCPlugins.ButtonLib -DartifactId=Towny -Dversion=master-SNAPSHOT -Dpackaging=jar
- mvn clean install -DskipTests
# - rm -r ~/.m2/repository/com/palmergames/Towny/

225
pom.xml
View file

@ -1,111 +1,116 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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"> 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> <modelVersion>4.0.0</modelVersion>
<groupId>com.github.TBMCPlugins</groupId> <groupId>com.github.TBMCPlugins</groupId>
<artifactId>ButtonLib</artifactId> <artifactId>ButtonLib</artifactId>
<version>master-SNAPSHOT</version> <version>master-SNAPSHOT</version>
<name>ButtonLib</name> <name>ButtonLib</name>
<description>ButtonCore</description> <description>ButtonCore</description>
<build> <build>
<sourceDirectory>src/main/java</sourceDirectory> <sourceDirectory>src/main/java</sourceDirectory>
<resources> <resources>
<resource> <resource>
<directory>src</directory> <directory>src</directory>
<excludes> <excludes>
<exclude>**/*.java</exclude> <exclude>**/*.java</exclude>
</excludes> </excludes>
</resource> </resource>
<resource> <resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<includes> <includes>
<include>*.properties</include> <include>*.properties</include>
<include>*.yml</include> <include>*.yml</include>
<include>*.csv</include> <include>*.csv</include>
<include>*.txt</include> <include>*.txt</include>
</includes> </includes>
<filtering>true</filtering> <filtering>true</filtering>
</resource> </resource>
</resources> </resources>
<finalName>ButtonCore</finalName> <finalName>ButtonCore</finalName>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version> <version>3.3</version>
<configuration> <configuration>
<source>1.8</source> <source>1.8</source>
<target>1.8</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
<!-- <<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <!-- <<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId>
<version>2.4.2</version> <executions> <execution> <phase>package</phase> <version>2.4.2</version> <executions> <execution> <phase>package</phase>
<goals> <goal>shade</goal> </goals> <configuration> <artifactSet> <includes> <goals> <goal>shade</goal> </goals> <configuration> <artifactSet> <includes>
</includes> </artifactSet> <pluginExecution> <action> <execute /> </action> </includes> </artifactSet> <pluginExecution> <action> <execute /> </action>
</pluginExecution> </configuration> </execution> </executions> </plugin> --> </pluginExecution> </configuration> </execution> </executions> </plugin> -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
<version>3.0.1</version> <version>3.0.1</version>
<executions> <executions>
<execution> <execution>
<id>copy</id> <id>copy</id>
<phase>compile</phase> <phase>compile</phase>
<goals> <goals>
<goal>copy-resources</goal> <goal>copy-resources</goal>
</goals> </goals>
<configuration> <configuration>
<outputDirectory>target</outputDirectory> <outputDirectory>target</outputDirectory>
<resources> <resources>
<resource> <resource>
<directory>resources</directory> <directory>resources</directory>
</resource> </resource>
</resources> </resources>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<repositories> <repositories>
<repository> <repository>
<id>spigot-repo</id> <id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository> </repository>
<repository> <repository>
<id>jitpack.io</id> <id>jitpack.io</id>
<url>https://jitpack.io/</url> <url>https://jitpack.io/</url>
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.spigotmc</groupId> <groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId> <artifactId>spigot-api</artifactId>
<version>1.9.2-R0.1-SNAPSHOT</version> <version>1.9.2-R0.1-SNAPSHOT</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-io --> <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-io -->
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-io</artifactId> <artifactId>commons-io</artifactId>
<version>1.3.2</version> <version>1.3.2</version>
</dependency> </dependency>
</dependencies> <dependency>
<organization> <groupId>com.github.TBMCPlugins.ButtonLib</groupId>
<name>TBMCPlugins</name> <artifactId>Towny</artifactId>
<url>https://github.com/TBMCPlugins</url> <version>master-SNAPSHOT</version>
</organization> </dependency>
<distributionManagement> </dependencies>
<repository> <organization>
<id>internal.repo</id> <name>TBMCPlugins</name>
<name>Temporary Staging Repository</name> <url>https://github.com/TBMCPlugins</url>
<url>file://${project.build.directory}/mvn-repo/${project.name}</url> </organization>
</repository> <distributionManagement>
</distributionManagement> <repository>
<properties> <id>internal.repo</id>
<!-- github server corresponds to entry in ~/.m2/settings.xml --> <name>Temporary Staging Repository</name>
<github.global.server>github</github.global.server> <url>file://${project.build.directory}/mvn-repo/${project.name}</url>
</properties> </repository>
<scm> </distributionManagement>
<url>https://github.com/TBMCPlugins/mvn-repo</url> <properties>
<connection>scm:git:https://github.com/TBMCPlugins/mvn-repo.git</connection> <!-- github server corresponds to entry in ~/.m2/settings.xml -->
<developerConnection>scm:git:https://github.com/TBMCPlugins/mvn-repo.git</developerConnection> <github.global.server>github</github.global.server>
</scm> </properties>
<scm>
<url>https://github.com/TBMCPlugins/mvn-repo</url>
<connection>scm:git:https://github.com/TBMCPlugins/mvn-repo.git</connection>
<developerConnection>scm:git:https://github.com/TBMCPlugins/mvn-repo.git</developerConnection>
</scm>
</project> </project>