From 2118477ab8f273683134d63731de061f27eb235b Mon Sep 17 00:00:00 2001
From: Nelson Tavares de Sousa <ntd@informatik.uni-kiel.de>
Date: Sun, 30 Nov 2014 22:36:37 +0100
Subject: [PATCH] the site plugin is works recursive in the apt directory. The
 names and the structure will be applied for the generated pages.

---
 pom.xml                         | 18 +++++++++++++-----
 src/site/apt/tutorial/index.apt |  3 +++
 src/site/site.xml               |  5 ++++-
 3 files changed, 20 insertions(+), 6 deletions(-)
 create mode 100644 src/site/apt/tutorial/index.apt

diff --git a/pom.xml b/pom.xml
index 7076276c..9dbfd319 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,6 +24,10 @@
 	</properties>
 
 	<distributionManagement>
+		<site>
+			<id>teetime.sf.net</id>
+			<url>scp://shell.sourceforge.net/home/project-web/teetime/htdocs</url>
+		</site>
 		<snapshotRepository>
 			<id>teetime-deployment</id>
 			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
@@ -264,7 +268,11 @@
 				<artifactId>maven-site-plugin</artifactId>
 				<version>3.3</version>
 				<dependencies>
-
+					<dependency><!-- add support for ssh/scp -->
+						<groupId>org.apache.maven.wagon</groupId>
+						<artifactId>wagon-ssh</artifactId>
+						<version>1.0</version>
+					</dependency>
 					<dependency>
 						<groupId>lt.velykis.maven.skins</groupId>
 						<artifactId>reflow-velocity-tools</artifactId>
@@ -295,17 +303,17 @@
 					</reportSet>
 				</reportSets>
 			</plugin>
-			
+
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-javadoc-plugin</artifactId>
 				<version>2.10.1</version>
 				<configuration>
-<!-- 					<stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile> -->
-<!-- 					<show>public</show> -->
+					<!-- <stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile> -->
+					<!-- <show>public</show> -->
 				</configuration>
 			</plugin>
-			
+
 			<plugin>
 				<groupId>org.codehaus.mojo</groupId>
 				<artifactId>findbugs-maven-plugin</artifactId>
diff --git a/src/site/apt/tutorial/index.apt b/src/site/apt/tutorial/index.apt
new file mode 100644
index 00000000..352c99d8
--- /dev/null
+++ b/src/site/apt/tutorial/index.apt
@@ -0,0 +1,3 @@
+Tutorial
+
+	In the following links you can find tutorial to write your own analysis.
\ No newline at end of file
diff --git a/src/site/site.xml b/src/site/site.xml
index 5a0501bb..56403c40 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -6,12 +6,15 @@
     <version>1.1.1</version>
   </skin>
   <body>
+  	<menu name="Tutorial">
+  		<item name="Starting" href="tutorial/index.html"/>
+  	</menu>
   	<menu name="Documentation">
   		<item name="JavaDoc" href="apidocs/index.html" />
   		<item name="Dependencies" href="dependencies.html"/>
   	</menu>
   	<menu name="About">
-  		<item name="How to get it" href="dependency-info.html"/>
+  		<item name="Dependency Information" href="dependency-info.html"/>
   		<item name="License" href="license.html"/>
   		<item name="Team" href="team-list.html"/>
   	</menu>
-- 
GitLab