Skip to content

Commit

Permalink
Migrated project to Maven
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaEzzRa committed May 30, 2021
1 parent 8c6b1e7 commit 68767d6
Show file tree
Hide file tree
Showing 92 changed files with 328 additions and 4,294 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@ jobs:
with:
distribution: 'adopt'
java-version: 8
- name: Run JUnit tests
run: ant test
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run tests with Maven
run: mvn -B test --file pom.xml
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![](https://github.com/HamzaEzzRa/Super-Mario-Java-2D-Game/workflows/tests/badge.svg)

# About
This is a Super Mario 2D Clone written in java.

Expand Down
73 changes: 0 additions & 73 deletions build.xml

This file was deleted.

4 changes: 0 additions & 4 deletions build/built-jar.properties

This file was deleted.

Binary file removed build/classes/com/TETOSOFT/tilegame/MapLoader.class
Binary file not shown.
Binary file not shown.
444 changes: 0 additions & 444 deletions build/test/results/TEST-InputTest.xml

This file was deleted.

32 changes: 0 additions & 32 deletions dist/README.TXT

This file was deleted.

Binary file added dist/SuperMarioClone-1.1.jar
Binary file not shown.
Binary file removed dist/SuperMarioClone.jar
Binary file not shown.
Binary file removed dist/lib/JLayer-1.0.jar
Binary file not shown.
Binary file added dist/libs/hamcrest-core-1.3.jar
Binary file not shown.
Binary file added dist/libs/jlayer-1.0.1.4.jar
Binary file not shown.
Binary file added dist/libs/jlayer-1.0.1.jar
Binary file not shown.
Binary file added dist/libs/junit-4.13.2.jar
Binary file not shown.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions manifest.mf

This file was deleted.

18 changes: 18 additions & 0 deletions nb-configuration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-shared-configuration>
<!--
This file contains additional configuration written by modules in the NetBeans IDE.
The configuration is intended to be shared among all the users of project and
therefore it is assumed to be part of version control checkout.
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
-->
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
<!--
Properties that influence various parts of the IDE, especially code formatting and the like.
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
That way multiple projects can share the same settings (useful for formatting rules for example).
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
<netbeans.hint.jdkPlatform>JDK_1.8</netbeans.hint.jdkPlatform>
</properties>
</project-shared-configuration>
Loading

0 comments on commit 68767d6

Please sign in to comment.