Skip to content

Commit

Permalink
Merge pull request #36 from Diskmaster/master
Browse files Browse the repository at this point in the history
Maven adjustments. (2.0 Branch)
  • Loading branch information
mbax committed Feb 19, 2012
2 parents 64bd582 + e682b3f commit b7948ff
Show file tree
Hide file tree
Showing 32 changed files with 8,535 additions and 8,406 deletions.
56 changes: 41 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,41 @@
bin
META-INF
MANIFEST.MF
pircbot.jar
Minecraft_Mod.jar
Thumbs.db
CraftIRC.class
CraftIRCListener.class
Minebot.class
*.class
build.xml
build/
.classpath
.project
/dist/
# Eclipse stuff
/.classpath
/.project
/.settings
/.checkstyle

# netbeans
/nbproject

# we use maven!
/build.xml

# maven
/target

# vim
.*.sw[a-p]

# various other potential build files
/build
/bin
/dist
/manifest.mf

/world

# Mac filesystem dust
*.DS_Store

# intellij
*.iml
*.ipr
*.iws
.idea/

# Testing files:
debug.log

# Doxygen
/docs/html
debug.txt
103 changes: 103 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<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.ensifera</groupId>
<artifactId>CraftIRC</artifactId>
<packaging>jar</packaging>
<version>2.14-SNAPSHOT</version>
<name>CraftIRC</name>
<url>http://www.github.com/animosity/CraftIRC</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<scm>
<connection>scm:git:git://github.com/Animosity/CraftIRC/CraftIRC.git</connection>
<developerConnection>scm:git:ssh://git@github.com/Animosity/CraftIRC/CraftIRC.git</developerConnection>
<url>s://www.github.com/animosity/CraftIRC</url>
</scm>
<repositories>
<repository>
<id>bukkit-repo</id>
<url>http://repo.bukkit.org/content/groups/public</url>
</repository>
<repository>
<id>sk89q-mvn2</id>
<url>http://mvn2.sk89q.com/repo</url>
</repository>
<repository>
<id>gestdown</id>
<url>http://gestdown.info:8888/artifactory/repo</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.1-R5-SNAPSHOT</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>Vault</artifactId>
<version>1.2.9-SNAPSHOT</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>

<!-- This builds a completely 'ready to start' jar with all dependencies inside -->
<build>
<directory>target</directory>
<outputDirectory>target/classes</outputDirectory>
<finalName>${project.artifactId}</finalName>
<sourceDirectory>src</sourceDirectory>
<defaultGoal>clean install</defaultGoal>

<resources>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>${basedir}</directory>
<includes>
<include>plugin.yml</include>
</includes>
</resource>
<resource>
<targetPath>defaults/</targetPath>
<filtering>true</filtering>
<directory>${basedir}</directory>
<includes>
<include>config.yml</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.1</version>
<configuration>
<archive>
<manifestEntries>
<Main-Class>Main</Main-Class>
<Implementation-Title>CraftIRC</Implementation-Title>
<Implementation-Version>${describe}</Implementation-Version>
<Implementation-Vendor>Ensifera</Implementation-Vendor>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<inherited>true</inherited>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

Loading

0 comments on commit b7948ff

Please sign in to comment.