Skip to content

Commit 8dc001a

Browse files
committed
preparing maven
1 parent fd2c8a4 commit 8dc001a

File tree

116 files changed

+128
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+128
-8
lines changed

.classpath

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,31 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="src" path="src/java"/>
4-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
3+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
4+
<attributes>
5+
<attribute name="maven.pomderived" value="true"/>
6+
</attributes>
7+
</classpathentry>
8+
<classpathentry kind="src" output="target/classes" path="src/main/java">
59
<attributes>
10+
<attribute name="optional" value="true"/>
611
<attribute name="maven.pomderived" value="true"/>
712
</attributes>
813
</classpathentry>
9-
<classpathentry kind="lib" path="/libraries/craftbukkit/craftbukkit-1.6.4-R2.0.jar">
14+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
1015
<attributes>
11-
<attribute name="javadoc_location" value="http://jd.bukkit.org/rb/apidocs/"/>
16+
<attribute name="maven.pomderived" value="true"/>
17+
</attributes>
18+
</classpathentry>
19+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
20+
<attributes>
21+
<attribute name="optional" value="true"/>
22+
<attribute name="maven.pomderived" value="true"/>
23+
</attributes>
24+
</classpathentry>
25+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
26+
<attributes>
27+
<attribute name="maven.pomderived" value="true"/>
1228
</attributes>
1329
</classpathentry>
14-
<classpathentry kind="output" path="bin/classes"/>
30+
<classpathentry kind="output" path="target/classes"/>
1531
</classpath>

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
/.externalToolBuilders
44
/.settings
55
/archive
6+
/target

.project

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,14 @@
7171
</dictionary>
7272
</arguments>
7373
</buildCommand>
74+
<buildCommand>
75+
<name>org.eclipse.m2e.core.maven2Builder</name>
76+
<arguments>
77+
</arguments>
78+
</buildCommand>
7479
</buildSpec>
7580
<natures>
81+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
7682
<nature>org.eclipse.jdt.core.javanature</nature>
7783
</natures>
7884
</projectDescription>

builder/version.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#Fri, 15 Nov 2013 15:13:02 +0100
1+
#Tue, 10 Dec 2013 10:48:56 +0100
22

33
version.number=6
4-
version.build=25
5-
version.timestamp=201311151513
4+
version.build=33
5+
version.timestamp=201312101048

pom.xml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>de.ntcomputer</groupId>
5+
<artifactId>controllable-mobs-api</artifactId>
6+
<version>0.0.1-SNAPSHOT</version>
7+
<name>Controllable Mobs API</name>
8+
<url>http://dev.bukkit.org/bukkit-plugins/controllable-mobs-api/</url>
9+
10+
<properties>
11+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12+
<minecraft.version>1.6.4</minecraft.version>
13+
<minecraft_version>1_6_R3</minecraft_version>
14+
<github.global.server>github</github.global.server>
15+
</properties>
16+
17+
<repositories>
18+
<repository>
19+
<id>repobo-snap</id>
20+
<url>http://repo.bukkit.org/content/groups/public</url>
21+
</repository>
22+
</repositories>
23+
24+
<dependencies>
25+
<dependency>
26+
<groupId>org.bukkit</groupId>
27+
<artifactId>craftbukkit</artifactId>
28+
<version>1.6.4-R2.0</version>
29+
<scope>provided</scope>
30+
</dependency>
31+
</dependencies>
32+
33+
<build>
34+
<plugins>
35+
36+
<plugin>
37+
<groupId>org.apache.maven.plugins</groupId>
38+
<artifactId>maven-jar-plugin</artifactId>
39+
<version>2.1</version>
40+
<configuration>
41+
<archive>
42+
<manifestEntries>
43+
<Implementation-Title>Controllable-Mobs-API</Implementation-Title>
44+
<Implementation-Version>${describe}</Implementation-Version>
45+
<Implementation-Vendor>DevCybran</Implementation-Vendor>
46+
<Sealed>false</Sealed>
47+
</manifestEntries>
48+
</archive>
49+
</configuration>
50+
</plugin>
51+
52+
<plugin>
53+
<groupId>com.github.github</groupId>
54+
<artifactId>site-maven-plugin</artifactId>
55+
<version>0.8</version>
56+
<configuration>
57+
<message>Maven artifacts for ${project.version}</message> <!-- git commit message -->
58+
<noJekyll>true</noJekyll> <!-- disable webpage processing -->
59+
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> <!-- matches distribution management repository url above -->
60+
<branch>refs/heads/mvn-repo</branch> <!-- remote branch name -->
61+
<includes>
62+
<include>**/*</include>
63+
</includes>
64+
<repositoryName>Controllable-Mobs-API</repositoryName> <!-- github repo name -->
65+
<repositoryOwner>DevCybran</repositoryOwner> <!-- github username -->
66+
</configuration>
67+
<executions>
68+
<execution>
69+
<goals>
70+
<goal>site</goal>
71+
</goals>
72+
<phase>deploy</phase>
73+
</execution>
74+
</executions>
75+
</plugin>
76+
77+
<plugin>
78+
<artifactId>maven-deploy-plugin</artifactId>
79+
<version>2.7</version>
80+
<configuration>
81+
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
82+
</configuration>
83+
</plugin>
84+
85+
<plugin>
86+
<artifactId>maven-compiler-plugin</artifactId>
87+
<version>3.0</version>
88+
<configuration>
89+
<source>1.6</source>
90+
<target>1.6</target>
91+
</configuration>
92+
</plugin>
93+
94+
</plugins>
95+
</build>
96+
97+
</project>

src/java/de/ntcomputer/minecraft/controllablemobs/api/ControllableMob.java renamed to src/main/java/de/ntcomputer/minecraft/controllablemobs/api/ControllableMob.java

File renamed without changes.

src/java/de/ntcomputer/minecraft/controllablemobs/api/ControllableMobAI.java renamed to src/main/java/de/ntcomputer/minecraft/controllablemobs/api/ControllableMobAI.java

File renamed without changes.

src/java/de/ntcomputer/minecraft/controllablemobs/api/ControllableMobActions.java renamed to src/main/java/de/ntcomputer/minecraft/controllablemobs/api/ControllableMobActions.java

File renamed without changes.

src/java/de/ntcomputer/minecraft/controllablemobs/api/ControllableMobAttributes.java renamed to src/main/java/de/ntcomputer/minecraft/controllablemobs/api/ControllableMobAttributes.java

File renamed without changes.

src/java/de/ntcomputer/minecraft/controllablemobs/api/ControllableMobs.java renamed to src/main/java/de/ntcomputer/minecraft/controllablemobs/api/ControllableMobs.java

File renamed without changes.

0 commit comments

Comments
 (0)