From ee5e114ea69a8ec8ddeb4d6d11961ebee44fc8d9 Mon Sep 17 00:00:00 2001
From: Nelson Tavares de Sousa <ntd@informatik.uni-kiel.de>
Date: Fri, 5 Dec 2014 14:24:13 +0100
Subject: [PATCH] added changes plugin

---
 pom.xml                       | 22 ++++++++++++++++++++++
 src/changes/changes.xml       | 14 ++++++++++++++
 src/site/markdown/download.md |  2 ++
 src/site/markdown/release.md  | 13 -------------
 src/site/site.xml             |  3 ++-
 5 files changed, 40 insertions(+), 14 deletions(-)
 create mode 100644 src/changes/changes.xml
 create mode 100644 src/site/markdown/download.md
 delete mode 100644 src/site/markdown/release.md

diff --git a/pom.xml b/pom.xml
index 69a64cd6..fb5f8ca0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,6 +23,11 @@
 		<java.version>1.6</java.version>
 	</properties>
 
+	<issueManagement>
+		<system>GitLab</system>
+		<url>https://build.se.informatik.uni-kiel.de/gitlab/chw/teetime/issues/</url>
+	</issueManagement>
+
 	<distributionManagement>
 		<site>
 			<id>teetime.sf.net</id>
@@ -299,6 +304,23 @@
 
 	<reporting>
 		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-changes-plugin</artifactId>
+				<version>2.11</version>
+				<configuration>
+					<issueLinkTemplatePerSystem>
+						<Gitlab>%URL%/%ISSUE%</Gitlab>
+					</issueLinkTemplatePerSystem>
+				</configuration>
+				<reportSets>
+					<reportSet>
+						<reports>
+							<report>changes-report</report>
+						</reports>
+					</reportSet>
+				</reportSets>
+			</plugin>
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-checkstyle-plugin</artifactId>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
new file mode 100644
index 00000000..98975195
--- /dev/null
+++ b/src/changes/changes.xml
@@ -0,0 +1,14 @@
+<document xmlns="http://maven.apache.org/changes/1.0.0"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd">
+  <properties>
+    <title>Release notes</title>
+  </properties>
+  <body>
+    <release version="1.0" date="15.12.2014" description="Initial Release">
+      <action dev="ntd" type="add" issue="66">
+      	Created a new site to promote TeeTime.
+      </action>
+    </release>
+  </body>
+</document>
\ No newline at end of file
diff --git a/src/site/markdown/download.md b/src/site/markdown/download.md
new file mode 100644
index 00000000..05ea9556
--- /dev/null
+++ b/src/site/markdown/download.md
@@ -0,0 +1,2 @@
+## How to get TeeTime
+
diff --git a/src/site/markdown/release.md b/src/site/markdown/release.md
deleted file mode 100644
index c17a8719..00000000
--- a/src/site/markdown/release.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# Release notes
-
-Added functionalities and fixed bugs are listed chronologically on this page.
-	
-## Snapshot
-
-- Non-stable nightly release
-
-## Release 1.0 / Soon
-
-### Major enhancements
-
-- Initial release
\ No newline at end of file
diff --git a/src/site/site.xml b/src/site/site.xml
index c80176e4..d665dcd8 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -39,7 +39,8 @@
 		</menu>
 		<menu name="Main">
 			<item name="Home" href="index.html" />
-			<item name="Release notes" href="release.html" />
+			<item name="Wiki" href="https://build.se.informatik.uni-kiel.de/gitlab/chw/teetime/wikis/home" />
+			<item name="Release notes" href="changes-report.html" />
 		</menu>
 		<!-- <menu ref="modules"/> -->
 		<!-- <menu ref="reports"/> -->
-- 
GitLab