Skip to content

Commit

Permalink
Updated this project to use maven.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbass86 committed Dec 9, 2013
1 parent ff88d85 commit 4251098
Show file tree
Hide file tree
Showing 445 changed files with 183 additions and 58,436 deletions.
27 changes: 24 additions & 3 deletions basic_poker_utils/.classpath
@@ -1,7 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry including="**/*.java" kind="src" path="src/main/resources"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="output" path="bin"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
1 change: 1 addition & 0 deletions basic_poker_utils/.gitignore
@@ -1 +1,2 @@
/bin
/target
6 changes: 6 additions & 0 deletions basic_poker_utils/.project
Expand Up @@ -10,8 +10,14 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
5 changes: 5 additions & 0 deletions basic_poker_utils/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,5 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
5 changes: 5 additions & 0 deletions basic_poker_utils/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,5 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.7
4 changes: 4 additions & 0 deletions basic_poker_utils/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
34 changes: 34 additions & 0 deletions basic_poker_utils/pom.xml
@@ -0,0 +1,34 @@
<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>basic_poker_utils</groupId>
<artifactId>basic_poker_utils</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Basic_Poker_Utils</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>

</project>
Expand Up @@ -95,7 +95,7 @@ public static PokerHand determineStraight(List<ICard> pHand){

PokerHand hand = PokerHand.INVALID;

List<ICard> sortedList = new ArrayList<>(pHand);
List<ICard> sortedList = new ArrayList<ICard>(pHand);
Collections.sort(sortedList);

List<ICard> consecutiveCards = new ArrayList<ICard>();
Expand Down
17 changes: 11 additions & 6 deletions poker.front_end.2d/.classpath
@@ -1,13 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/test/java"/>
<classpathentry kind="src" path="src/main/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry combineaccessrules="false" kind="src" path="/basic_poker_utils"/>
<classpathentry kind="lib" path="lib/slick.jar" sourcepath="slick_src"/>
<classpathentry kind="lib" path="lib/lwjgl.jar">
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="poker.front_end.2d/lib"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
1 change: 1 addition & 0 deletions poker.front_end.2d/.gitignore
@@ -1 +1,2 @@
/bin
/target
6 changes: 6 additions & 0 deletions poker.front_end.2d/.project
Expand Up @@ -10,8 +10,14 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
1 change: 1 addition & 0 deletions poker.front_end.2d/.settings/org.eclipse.jdt.core.prefs
Expand Up @@ -8,4 +8,5 @@ org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.7
4 changes: 4 additions & 0 deletions poker.front_end.2d/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
Binary file removed poker.front_end.2d/lib/META-INF/LWJGL.RSA
Binary file not shown.
15 changes: 0 additions & 15 deletions poker.front_end.2d/lib/META-INF/LWJGL.SF

This file was deleted.

13 changes: 0 additions & 13 deletions poker.front_end.2d/lib/META-INF/MANIFEST.MF

This file was deleted.

Binary file removed poker.front_end.2d/lib/OpenAL32.dll
Binary file not shown.
Binary file removed poker.front_end.2d/lib/OpenAL64.dll
Binary file not shown.
Binary file removed poker.front_end.2d/lib/jinput-dx8.dll
Binary file not shown.
Binary file removed poker.front_end.2d/lib/jinput-dx8_64.dll
Binary file not shown.
Binary file removed poker.front_end.2d/lib/jinput-raw.dll
Binary file not shown.
Binary file removed poker.front_end.2d/lib/jinput-raw_64.dll
Binary file not shown.
Binary file removed poker.front_end.2d/lib/libjinput-linux.so
Binary file not shown.
Binary file removed poker.front_end.2d/lib/libjinput-linux64.so
Binary file not shown.
Binary file removed poker.front_end.2d/lib/libjinput-osx.jnilib
Binary file not shown.
Binary file removed poker.front_end.2d/lib/liblwjgl.jnilib
Binary file not shown.
Binary file removed poker.front_end.2d/lib/liblwjgl.so
Binary file not shown.
Binary file removed poker.front_end.2d/lib/liblwjgl64.so
Binary file not shown.
Binary file removed poker.front_end.2d/lib/libopenal.so
Binary file not shown.
Binary file removed poker.front_end.2d/lib/libopenal64.so
Binary file not shown.
Binary file removed poker.front_end.2d/lib/lwjgl.dll
Binary file not shown.
Binary file removed poker.front_end.2d/lib/lwjgl.jar
Binary file not shown.
Binary file removed poker.front_end.2d/lib/lwjgl64.dll
Binary file not shown.
Binary file removed poker.front_end.2d/lib/openal.dylib
Binary file not shown.
Binary file removed poker.front_end.2d/lib/slick.jar
Binary file not shown.
78 changes: 78 additions & 0 deletions poker.front_end.2d/pom.xml
@@ -0,0 +1,78 @@
<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>poker.front_end.2d</groupId>
<artifactId>poker.front_end.2d</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Poker_2d</name>

<repositories>
<repository>
<id>mavenNatives</id>
<name>Maven Natives Repository</name>
<url>http://mavennatives.googlecode.com/svn/repo</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>


<dependencies>
<dependency>
<groupId>org.lwjgl.lwjgl</groupId>
<artifactId>lwjgl</artifactId>
<version>2.9.0</version>
</dependency>
<dependency>
<groupId>java3d</groupId>
<artifactId>vecmath</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>basic_poker_utils</groupId>
<artifactId>basic_poker_utils</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>org.slick2d</groupId>
<artifactId>slick2d-core</artifactId>
<version>2013.10-SNAPSHOT</version>
</dependency>
</dependencies>

<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>com.googlecode.mavennatives</groupId>
<artifactId>maven-nativedependencies-plugin</artifactId>
<version>0.0.6</version>
<executions>
<execution>
<id>unpacknatives</id>
<phase>generate-resources</phase>
<goals>
<!--suppress MavenModelInspection (this line is for IDEA)-->
<goal>copy</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 4251098

Please sign in to comment.