Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
Build with maven
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebruckert committed Jan 20, 2019
1 parent 73a474b commit cb59178
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 10 deletions.
25 changes: 25 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="img">
<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.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
23 changes: 23 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>JMines</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<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>
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 1.0.0 - 2019-01-20

### Added

- Changelog
- Maven

### Changed

- Run instructions in README

## 0.1.0 - 2013-06-22

### Added

- Client
- Server
- Can play 1on1 games
- Lounge section
37 changes: 27 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,30 @@
JMines
======
# JMines

Java version of the Minesweeper Flags MSN game.
Remake of 1on1 Minesweeper Flags by MSN games

How to test:
------------
- Step 1. Download binaries: https://dl.dropboxusercontent.com/u/55179154/JMines.zip
- Step 2. Launch the server.
- Step 3. Launch one client and enter the player name
- Step 4. Reproduce step 2 as many times as you want.
![menubar-preview](https://user-images.githubusercontent.com/1932338/51440750-2ca8bd80-1cc2-11e9-973b-991f5bdc643a.png)

By Stéphane Bruckert & Donovan Charpin
## Build

mvn package

## Run

After building (or downloading from the releases section) the .jar:

### Server

Run this once.

java -cp targets/JMines-1.0.0.jar server.RunServer

### Client

You can start multiple clients.

java -cp targets/JMines-1.0.0.jar client.RunClient


## Authors

By Stéphane Bruckert & Donovan Charpin for ENSICAEN
29 changes: 29 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<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>JMines</groupId>
<artifactId>JMines</artifactId>
<version>1.0.0</version>
<name>JMines</name>
<description>Remake of 1on1 Minesweeper Flags by MSN games</description>
<build>
<sourceDirectory>src</sourceDirectory>
<resources>
<resource>
<directory>img</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit cb59178

Please sign in to comment.