[LIB-9] Separate chesshog-core module
authorgotty <gotty@hedgecode.org>
Fri, 19 Apr 2019 03:29:16 +0000 (06:29 +0300)
committergotty <gotty@hedgecode.org>
Fri, 19 Apr 2019 03:29:16 +0000 (06:29 +0300)
26 files changed:
chesshog-core/pom.xml [new file with mode: 0644]
chesshog-core/src/main/java/org/hedgecode/chess/ChessHogApp.java [moved from src/main/java/org/hedgecode/chess/ChessHogApp.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/ChessHogConstants.java [moved from src/main/java/org/hedgecode/chess/ChessHogConstants.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/game/AbstractMove.java [moved from src/main/java/org/hedgecode/chess/game/AbstractMove.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/game/Game.java [moved from src/main/java/org/hedgecode/chess/game/Game.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/game/GameMove.java [moved from src/main/java/org/hedgecode/chess/game/GameMove.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/game/GameMoves.java [moved from src/main/java/org/hedgecode/chess/game/GameMoves.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/game/Move.java [moved from src/main/java/org/hedgecode/chess/game/Move.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/game/Moves.java [moved from src/main/java/org/hedgecode/chess/game/Moves.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/Builder.java [moved from src/main/java/org/hedgecode/chess/position/Builder.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/Castle.java [moved from src/main/java/org/hedgecode/chess/position/Castle.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/Color.java [moved from src/main/java/org/hedgecode/chess/position/Color.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/ColorPiece.java [moved from src/main/java/org/hedgecode/chess/position/ColorPiece.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/DiagramPosition.java [moved from src/main/java/org/hedgecode/chess/position/DiagramPosition.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/GamePosition.java [moved from src/main/java/org/hedgecode/chess/position/GamePosition.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/ParseException.java [moved from src/main/java/org/hedgecode/chess/position/ParseException.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/Parser.java [moved from src/main/java/org/hedgecode/chess/position/Parser.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/Piece.java [moved from src/main/java/org/hedgecode/chess/position/Piece.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/Position.java [moved from src/main/java/org/hedgecode/chess/position/Position.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/PositionType.java [moved from src/main/java/org/hedgecode/chess/position/PositionType.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/Positions.java [moved from src/main/java/org/hedgecode/chess/position/Positions.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/Square.java [moved from src/main/java/org/hedgecode/chess/position/Square.java with 100% similarity]
chesshog-core/src/main/java/org/hedgecode/chess/position/SquareSort.java [moved from src/main/java/org/hedgecode/chess/position/SquareSort.java with 100% similarity]
chesshog-core/src/test/java/org/hedgecode/chess/AbstractPositionTest.java [moved from src/test/java/org/hedgecode/chess/AbstractPositionTest.java with 99% similarity]
chesshog-core/src/test/java/org/hedgecode/chess/AbstractXMLConfigTest.java [moved from src/test/java/org/hedgecode/chess/AbstractXMLConfigTest.java with 100% similarity]
pom.xml

diff --git a/chesshog-core/pom.xml b/chesshog-core/pom.xml
new file mode 100644 (file)
index 0000000..d1dda9e
--- /dev/null
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  ~ Copyright (c) 2018. Developed by Hedgecode.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~   http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<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>
+
+    <parent>
+        <groupId>org.hedgecode.chess</groupId>
+        <artifactId>chesshog</artifactId>
+        <version>0.1-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>chesshog-core</artifactId>
+    <version>0.1-SNAPSHOT</version>
+    <packaging>jar</packaging>
+
+    <name>Hedgecode ChessHog Core</name>
+    <description>
+        Hedgecode ChessHog Core Module.
+    </description>
+
+</project>
\ No newline at end of file
@@ -16,9 +16,7 @@
 
 package org.hedgecode.chess;
 
-import java.io.File;
 import java.util.Iterator;
-import java.util.LinkedList;
 import java.util.List;
 import java.util.Map;
 
@@ -28,7 +26,6 @@ import org.apache.commons.configuration.SubnodeConfiguration;
 
 import org.junit.Test;
 
-import org.hedgecode.chess.fen.FENBuilderTest;
 import org.hedgecode.chess.position.Castle;
 import org.hedgecode.chess.position.Color;
 import org.hedgecode.chess.position.ColorPiece;
diff --git a/pom.xml b/pom.xml
index 55e3409..4e23027 100644 (file)
--- a/pom.xml
+++ b/pom.xml
   ~ limitations under the License.
   -->
 
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<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>
 
+    <modules>
+        <module>chesshog-core</module>
+        <module>chesshog-format</module>
+        <module>chesshog-uci</module>
+        <module>chesshog-hedgefish</module>
+        <module>chesshog-dbetude</module>
+        <module>chesshog-qrcode</module>
+    </modules>
+
     <parent>
         <groupId>org.hedgecode.maven</groupId>
         <artifactId>lib-parent</artifactId>
     <groupId>org.hedgecode.chess</groupId>
     <artifactId>chesshog</artifactId>
     <version>0.1-SNAPSHOT</version>
-    <packaging>jar</packaging>
+    <packaging>pom</packaging>
 
-    <name>Hedgecode Chess</name>
+    <name>Hedgecode ChessHog</name>
     <description>
-        Hedgecode Chess.
+        Hedgecode ChessHog.
     </description>
     <inceptionYear>2018</inceptionYear>
 
-    <url>http://lib.hedgecode.org/${project.artifactId}/</url>
+    <url>https://lib.hedgecode.org/${project.artifactId}/</url>
 
     <scm>
         <connection>scm:svn:http://svn.hedgecode.org/lib/${project.artifactId}/trunk/</connection>
@@ -48,7 +58,7 @@
 
     <issueManagement>
         <system>JIRA</system>
-        <url>http://issues.hedgecode.org/browse/${issueKey}/component/${issueComponentId}</url>
+        <url>https://issues.hedgecode.org/browse/${issueKey}/component/${issueComponentId}</url>
     </issueManagement>
 
     <distributionManagement>