Skip to content

Commit 0f80e75

Browse files
committed
Start moving to maven modules
1 parent 292bf29 commit 0f80e75

File tree

31 files changed

+294
-227
lines changed

31 files changed

+294
-227
lines changed

api/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<project>
2+
<modelVersion>4.0.0</modelVersion>
3+
<parent>
4+
<groupId>net.techcable.spawnshield</groupId>
5+
<artifactId>parent</artifactId>
6+
<version>1.1.0-SNAPSHOT</version>
7+
<relativePath>../pom.xml</relativePath>
8+
</parent>
9+
<artifactId>api</artifactId>
10+
</project>

src/main/java/net/techcable/spawnshield/forcefield/BlockPos.java renamed to api/src/main/java/net/techcable/spawnshield/compat/BlockPos.java

File renamed without changes.

src/main/java/net/techcable/spawnshield/forcefield/Region.java renamed to api/src/main/java/net/techcable/spawnshield/compat/Region.java

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
/**
2-
* The MIT License
3-
* Copyright (c) 2014-2015 Techcable
4-
*
5-
* Permission is hereby granted, free of charge, to any person obtaining a copy
6-
* of this software and associated documentation files (the "Software"), to deal
7-
* in the Software without restriction, including without limitation the rights
8-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
* copies of the Software, and to permit persons to whom the Software is
10-
* furnished to do so, subject to the following conditions:
11-
*
12-
* The above copyright notice and this permission notice shall be included in
13-
* all copies or substantial portions of the Software.
14-
*
15-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21-
* THE SOFTWARE.
22-
*/
23-
package net.techcable.spawnshield.forcefield;
24-
25-
import org.bukkit.World;
26-
27-
import java.util.Collection;
28-
29-
public interface Region {
30-
public boolean contains(BlockPos point);
31-
public boolean contains(int x, int y, int z);
32-
public Collection<BlockPos> getPoints();
33-
public World getWorld();
34-
public BlockPos getMin();
35-
public BlockPos getMax();
36-
}
1+
/**
2+
* The MIT License
3+
* Copyright (c) 2014-2015 Techcable
4+
*
5+
* Permission is hereby granted, free of charge, to any person obtaining a copy
6+
* of this software and associated documentation files (the "Software"), to deal
7+
* in the Software without restriction, including without limitation the rights
8+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
* copies of the Software, and to permit persons to whom the Software is
10+
* furnished to do so, subject to the following conditions:
11+
*
12+
* The above copyright notice and this permission notice shall be included in
13+
* all copies or substantial portions of the Software.
14+
*
15+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
* THE SOFTWARE.
22+
*/
23+
package net.techcable.spawnshield.compat;
24+
25+
import org.bukkit.World;
26+
27+
import java.util.Collection;
28+
29+
public interface Region {
30+
public boolean contains(BlockPos point);
31+
public boolean contains(int x, int y, int z);
32+
public Collection<BlockPos> getPoints();
33+
public World getWorld();
34+
public BlockPos getMin();
35+
public BlockPos getMax();
36+
}

api/target/SpawnShield.jar

1.52 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#Generated by Maven
2+
#Tue May 05 02:58:19 UTC 2015
3+
version=1.1.0-SNAPSHOT
4+
groupId=net.techcable.spawnshield
5+
artifactId=api

api/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/home/techcable/git/SpawnShield/api/src/main/java/net/techcable/spawnshield/compat/BlockPos.java
2+
/home/techcable/git/SpawnShield/api/src/main/java/net/techcable/spawnshield/compat/Region.java
1.4 KB
Binary file not shown.

base/pom.xml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<project>
2+
<modelVersion>4.0.0</modelVersion>
3+
<parent>
4+
<groupId>net.techcable.spawnshield</groupId>
5+
<artifactId>parent</artifactId>
6+
<version>1.1.0-SNAPSHOT</version>
7+
</parent>
8+
<artifactId>base</artifactId>
9+
<dependencies>
10+
<dependency>
11+
<groupId>net.techcable</groupId>
12+
<artifactId>techutils</artifactId>
13+
<version>1.1.0-SNAPSHOT</version>
14+
<scope>compile</scope>
15+
</dependency>
16+
<dependency>
17+
<groupId>com.trc202</groupId>
18+
<artifactId>combattag</artifactId>
19+
<version>6.4.0</version>
20+
<scope>provided</scope>
21+
<optional>true</optional>
22+
</dependency>
23+
<dependency>
24+
<groupId>net.techcable</groupId>
25+
<artifactId>combattag</artifactId>
26+
<version>1.0.13-SNAPSHOT</version>
27+
<scope>provided</scope>
28+
<optional>true</optional>
29+
</dependency>
30+
<dependency>
31+
<groupId>PvPManager</groupId>
32+
<artifactId>PvPManager</artifactId>
33+
<version>2.4.7</version>
34+
<scope>provided</scope>
35+
<optional>true</optional>
36+
</dependency>
37+
<!-- Compatibility -->
38+
<dependency>
39+
<groupId>net.techcable.spawnshield</groupId>
40+
<artifactId>api</artifactId>
41+
<version>${project.parent.version}</version>
42+
</dependency>
43+
<dependency>
44+
<groupId>net.techcable.spawnshield</groupId>
45+
<artifactId>worldguard6</artifactId>
46+
<version>${project.parent.version}</version>
47+
</dependency>
48+
<dependency>
49+
<groupId>net.techcable.spawnshield</groupId>
50+
<artifactId>worldguard5</artifactId>
51+
<version>${project.parent.version}</version>
52+
</dependency>
53+
</dependencies>
54+
</project>

src/main/java/net/techcable/spawnshield/BlockMode.java renamed to base/src/main/java/net/techcable/spawnshield/BlockMode.java

File renamed without changes.

0 commit comments

Comments
 (0)