Mavenized the project

Switched the project to Maven - you're now able to easily build
ChestShop.
This commit is contained in:
Acrobot 2013-03-08 20:31:15 +01:00
parent e5240729fc
commit a5bfa86bca
210 changed files with 507 additions and 6 deletions

31
.gitignore vendored Normal file
View File

@ -0,0 +1,31 @@
# Eclipse stuff
/.classpath
/.project
/.settings
# netbeans
/nbproject
# we use maven!
/build.xml
# maven
/target
# vim
.*.sw[a-p]
# various other potential build files
/build
/bin
/dist
/manifest.mf
# Mac filesystem dust
/.DS_Store
# intellij
*.iml
*.ipr
*.iws
.idea/

5
README
View File

@ -1,5 +0,0 @@
ChestShop
Shop plugin for Bukkit
http://forums.bukkit.org/threads/4150/

33
README.md Normal file
View File

@ -0,0 +1,33 @@
ChestShop
================================
ChestShop is an awesome plugin for managing your server's economy.
By using chests and signs, you can effectively create your own market!
ChestShop also makes admininstators' lives easier.
Simply drag-and-drop the .jar to your "plugins" folder and you're done!
If you need any help - just ask. There is a ticket system, in which you can report bugs, suggest improvements and more.
Don't be fooled though - you might think that your ticket disappeared, however that's not the case.
You should configure the system to show **"All tickets"**, instead of only **"All open"** - you can do that by clicking on the "Filters".
Building
--------------------------------
#### Installing
To build ChestShop, you'll need a Maven installation.
* [Maven download](http://maven.apache.org/download.cgi)
* Launch `mvn clean install` -- that's it!
#### Installing external dependencies
To install external dependencies, place your .jar into the main folder and launch the `install_dependency_to_repo.sh` script - it'll guide you through the process.
Links
--------------------------------
* [Forum Thread](http://forums.bukkit.org/threads/4150/)
* [BukkitDev site](http://dev.bukkit.org/server-mods/chestshop/)
* [Bug Tracker](http://dev.bukkit.org/server-mods/chestshop/tickets/?status=+)

View File

@ -0,0 +1,16 @@
#!/bin/sh
echo "[Dependency installer]"
read -p "What is your dependency's file name? " filename
if [ "$filename" = "" ]; then
return
fi
read -p "What is your dependency's group ID? " groupID
read -p "What is your dependency's artifact ID? " artifactID
read -p "What is your dependency's version? " version
mvn install:install-file -DlocalRepositoryPath=repo -DcreateChecksum=true -Dpackaging=jar -Dfile=$filename -DgroupId=$groupID -DartifactId=$artifactID -Dversion=$version
echo "[Dependency installed!]"

129
pom.xml Normal file
View File

@ -0,0 +1,129 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>com.acrobot.chestshop</groupId>
<artifactId>chestshop</artifactId>
<version>3.50-t0050</version>
<description>Chest-and-sign shop plugin for Bukkit</description>
<scm>
<connection>scm:git:git://github.com/Acrobot/ChestShop-3</connection>
<developerConnection>scm:git:ssh://git@github.com/Acrobot/ChestShop-3.git</developerConnection>
<url>https://github.com/Acrobot/ChestShop-3</url>
</scm>
<repositories>
<repository>
<id>bukkit-repo</id>
<url>http://repo.bukkit.org/content/repositories/releases/</url>
</repository>
<repository>
<id>odditem-repo</id>
<url>http://repo.somethingodd.info/content/groups/public/</url>
</repository>
<repository>
<id>sk89q-repo</id>
<url>http://maven.sk89q.com/repo/</url>
</repository>
<repository>
<id>local_repo</id>
<url>file://${project.basedir}/repo/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.4.7-R1.0</version>
</dependency>
<dependency>
<groupId>com.palmergames.towny</groupId>
<artifactId>towny</artifactId>
<version>0.82.1.0</version>
</dependency>
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>vault</artifactId>
<version>1.2.24</version>
</dependency>
<dependency>
<groupId>com.iCo6</groupId>
<artifactId>iConomy6</artifactId>
<version>6.0.10b</version>
</dependency>
<dependency>
<groupId>com.iConomy</groupId>
<artifactId>iConomy5</artifactId>
<version>5.0</version>
</dependency>
<dependency>
<groupId>cosine.boseconomy</groupId>
<artifactId>boseconomy</artifactId>
<version>0.7.0</version>
</dependency>
<dependency>
<groupId>info.somethingodd</groupId>
<artifactId>odditem</artifactId>
<version>0.9.5</version>
</dependency>
<dependency>
<groupId>com.herocraftonline.heroes</groupId>
<artifactId>heroes</artifactId>
<version>1.5.2-dev-b1705</version>
</dependency>
<dependency>
<groupId>com.griefcraft.lwc</groupId>
<artifactId>lwc</artifactId>
<version>4.3.1</version>
</dependency>
<dependency>
<groupId>com.daemitus.deadbolt</groupId>
<artifactId>deadbolt</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>com.sk89q</groupId>
<artifactId>worldguard</artifactId>
<version>5.6.4</version>
</dependency>
<dependency>
<groupId>com.webkonsept.bukkit.simplechestlock</groupId>
<artifactId>simplechestlock</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>org.yi.acru.bukkit.lockette</groupId>
<artifactId>lockette</artifactId>
<version>1.7.9</version>
</dependency>
<dependency>
<groupId>com.bekvon.bukkit.residence</groupId>
<artifactId>residence</artifactId>
<version>2.6.6.3</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<finalName>chestshop</finalName>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
</build>
</project>

View File

@ -0,0 +1 @@
c288abe5ad73d0d781b03462fedab859

View File

@ -0,0 +1 @@
b5cb3489880cba5e70cc0d630191c936994b6d7e

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.bekvon.bukkit.residence</groupId>
<artifactId>residence</artifactId>
<version>2.6.6.3</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -0,0 +1 @@
80eebf7358e0b24a1603c3d91c0084e0

View File

@ -0,0 +1 @@
d2ad2cfea6ac2ba9b897f8b2e3bc13d5fd3100d0

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.bekvon.bukkit.residence</groupId>
<artifactId>residence</artifactId>
<versioning>
<release>2.6.6.3</release>
<versions>
<version>2.6.6.3</version>
</versions>
<lastUpdated>20130308191747</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
0d631fa3e5f6be116e2894b875cb84a3

View File

@ -0,0 +1 @@
831ca82cccbfc921495544182212b3eed99e18ba

View File

@ -0,0 +1 @@
ef7c47b43c01c79ca1091e6656b74aa1

View File

@ -0,0 +1 @@
653e2ebbd2e120d97dafd45e73a53675c72b6404

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.daemitus.deadbolt</groupId>
<artifactId>deadbolt</artifactId>
<version>2.2</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -0,0 +1 @@
19c55c9ecdbd0cea4748c6be5ffbf521

View File

@ -0,0 +1 @@
09cb46dcc515d4dc98f02769aaefd44ccde9ec21

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.daemitus.deadbolt</groupId>
<artifactId>deadbolt</artifactId>
<versioning>
<release>2.2</release>
<versions>
<version>2.2</version>
</versions>
<lastUpdated>20130308184206</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
7e5f38a0e33a35601436faab507b0934

View File

@ -0,0 +1 @@
4151ea49a7737ca076a4c9045eded61cf6ea2ed5

Binary file not shown.

View File

@ -0,0 +1 @@
fe29bd77061f1ced861554d6d6d28cf7

View File

@ -0,0 +1 @@
d9c12329efa1b76057c6ec6eb9371823369e27f5

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.griefcraft.lwc</groupId>
<artifactId>lwc</artifactId>
<version>4.3.1</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -0,0 +1 @@
45ebcc66da30cab5c5d7b2c2e29651df

View File

@ -0,0 +1 @@
46707be3cc027277671520396501466157b6dcce

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.griefcraft.lwc</groupId>
<artifactId>lwc</artifactId>
<versioning>
<release>4.3.1</release>
<versions>
<version>4.3.1</version>
</versions>
<lastUpdated>20130308183115</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
eff48fcb809bfa5cef0a0660d8449ee3

View File

@ -0,0 +1 @@
e9c597ab4ce925154cad4e0d10aff5161d051a06

View File

@ -0,0 +1 @@
62bbfd2f6c00e279ce7b0c6e729c8f1d

View File

@ -0,0 +1 @@
20494ccd06c283006ea3717485497742e6cd00fc

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.herocraftonline.heroes</groupId>
<artifactId>heroes</artifactId>
<version>1.5.2-dev-b1705</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -0,0 +1 @@
1579404e474744f10a2901a6efad96c2

View File

@ -0,0 +1 @@
b95c6e4cae8a6eb8ac7a7de40288c0872a41f2a9

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.herocraftonline.heroes</groupId>
<artifactId>heroes</artifactId>
<versioning>
<release>1.5.2-dev-b1705</release>
<versions>
<version>1.5.2-dev-b1705</version>
</versions>
<lastUpdated>20130308184836</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
a7eedf44a90756864079ecbdd9b3d39b

View File

@ -0,0 +1 @@
eb08b30c9632880f06e1941a67c7707ca7f747f1

Binary file not shown.

View File

@ -0,0 +1 @@
5915bc7ea8dbca679f48cf86824e2038

View File

@ -0,0 +1 @@
8a39ec2659e93d760acf76d5e8be86f0898bfc16

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.iCo6</groupId>
<artifactId>iConomy6</artifactId>
<version>6.0.10b</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -0,0 +1 @@
4eac30e3d77164acfd7d66ded83266d1

View File

@ -0,0 +1 @@
08a4a7b5c5f790c52ff4cbc410946ef9c8f5bb41

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.iCo6</groupId>
<artifactId>iConomy6</artifactId>
<versioning>
<release>6.0.10b</release>
<versions>
<version>6.0.10b</version>
</versions>
<lastUpdated>20130308180716</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
0bbc352d94b1d5f735a99aeb97eea611

View File

@ -0,0 +1 @@
920204f95dc4466a71fa0fa31898d8fb7349ca8d

Binary file not shown.

View File

@ -0,0 +1 @@
b89610cd5b8c52ef31618e0f2e89be70

View File

@ -0,0 +1 @@
d9c774b9b0d8ffb79b56384182486606a80d0de9

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.iConomy</groupId>
<artifactId>iConomy5</artifactId>
<version>5.0</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -0,0 +1 @@
fdfe879a71e91a2dc29ff286ca865c03

View File

@ -0,0 +1 @@
f24e8d8f9c745dd4fc9ac7495dc9b386ab21b7ea

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.iConomy</groupId>
<artifactId>iConomy5</artifactId>
<versioning>
<release>5.0</release>
<versions>
<version>5.0</version>
</versions>
<lastUpdated>20130308180959</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
684532caf67c4ff37026eef929791fae

View File

@ -0,0 +1 @@
8e0461e21cf8fbefdc96851fde103d51ed0e60e8

View File

@ -0,0 +1 @@
1f026b8bb28af9161ed969ef91453f7b

View File

@ -0,0 +1 @@
c2eaa3434b416409c64aa80732ed84c8d39b722b

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.palmergames.towny</groupId>
<artifactId>towny</artifactId>
<version>0.82.1.0</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -0,0 +1 @@
038beb7501149be32f7bd560c4405b1b

View File

@ -0,0 +1 @@
4f2c2e61d03345355c45761c9d68c91bee724c22

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.palmergames.towny</groupId>
<artifactId>towny</artifactId>
<versioning>
<release>0.82.1.0</release>
<versions>
<version>0.82.1.0</version>
</versions>
<lastUpdated>20130308170030</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
a48c4828eebbbc48c8596ad2560aabfd

View File

@ -0,0 +1 @@
30ac43d50723f303854c95900870c387883b54fe

View File

@ -0,0 +1 @@
a36bbc8ae947383ae7c8dbcae4434efb

View File

@ -0,0 +1 @@
eec08654555cc9c9ee10f97164c0f465ce1f63c5

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.webkonsept.bukkit.simplechestlock</groupId>
<artifactId>simplechestlock</artifactId>
<version>1.2.1</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -0,0 +1 @@
88d397c14f5c5c9881084717ca2bb11c

View File

@ -0,0 +1 @@
bcfd1f93174403133809695299f537a3b0629951

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.webkonsept.bukkit.simplechestlock</groupId>
<artifactId>simplechestlock</artifactId>
<versioning>
<release>1.2.1</release>
<versions>
<version>1.2.1</version>
</versions>
<lastUpdated>20130308185823</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
20bf5b004d7d62ba7d844446144aa93e

View File

@ -0,0 +1 @@
6fd7c1a196f4f66982b261ffc852fff9a3e76ab2

View File

@ -0,0 +1 @@
f81f00911f28682dc84052c8acf9f199

View File

@ -0,0 +1 @@
df94cd31803987b6259e52ac678511ebbee48018

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>cosine.boseconomy</groupId>
<artifactId>boseconomy</artifactId>
<version>0.7.0</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -0,0 +1 @@
2b822afb7721e0f5160496367f62a495

View File

@ -0,0 +1 @@
d7d262a36326abcc169f4bc9c5308a9322727f1f

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>cosine.boseconomy</groupId>
<artifactId>boseconomy</artifactId>
<versioning>
<release>0.7.0</release>
<versions>
<version>0.7.0</version>
</versions>
<lastUpdated>20130308181235</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
8c0bd09b104b2b1a58e2748d60a5d14f

View File

@ -0,0 +1 @@
279b8bbb45fb57b40beba49b55873074da2ecad0

Binary file not shown.

View File

@ -0,0 +1 @@
b8e1aaf9e9414e3f2b4adee6d4305aa1

View File

@ -0,0 +1 @@
de57c0204dbaa90ea5b60b90088861b26191e1ef

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>net.milkbowl.vault</groupId>
<artifactId>vault</artifactId>
<version>1.2.24</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -0,0 +1 @@
9866ba9d041ad083790a548d2f83158e

View File

@ -0,0 +1 @@
39304372447ce440dac7d8197fd5bf9b324b2ce8

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>net.milkbowl.vault</groupId>
<artifactId>vault</artifactId>
<versioning>
<release>1.2.24</release>
<versions>
<version>1.2.24</version>
</versions>
<lastUpdated>20130308180430</lastUpdated>
</versioning>
</metadata>

View File

@ -0,0 +1 @@
d1cea699e9cae09d3e5f25cd2e09867e

View File

@ -0,0 +1 @@
ec52ab7e0c962ecbbbbd4b11ae0d334ce769d69c

View File

@ -0,0 +1 @@
3f8dbe5a64907311e085835fb9135a92

View File

@ -0,0 +1 @@
b267b8945a1bb9c79412d06d68369c5fa0d48776

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.yi.acru.bukkit.lockette</groupId>
<artifactId>lockette</artifactId>
<version>1.7.9</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -0,0 +1 @@
8638147e5e271533e25abcafb6d7f46d

Some files were not shown because too many files have changed in this diff Show More