[Arakhnę-Dev] [305] * Add getSiteDirectory() in the abstract replacer mojo.

[ Thread Index | Date Index | More arakhne.org/dev Archives ]


Revision: 305
Author:   galland
Date:     2011-11-05 11:31:29 +0100 (Sat, 05 Nov 2011)
Log Message:
-----------
* Add getSiteDirectory() in the abstract replacer mojo.

Modified Paths:
--------------
    trunk/tag-replacer/src/main/java/org/arakhne/maven/plugins/tagreplacer/AbstractReplaceMojo.java

Modified: trunk/tag-replacer/src/main/java/org/arakhne/maven/plugins/tagreplacer/AbstractReplaceMojo.java
===================================================================
--- trunk/tag-replacer/src/main/java/org/arakhne/maven/plugins/tagreplacer/AbstractReplaceMojo.java	2011-11-05 10:30:56 UTC (rev 304)
+++ trunk/tag-replacer/src/main/java/org/arakhne/maven/plugins/tagreplacer/AbstractReplaceMojo.java	2011-11-05 10:31:29 UTC (rev 305)
@@ -158,6 +158,12 @@
 	private File generatedSourceDirectory;
 
 	/**
+	 * @parameter expression="${project.build.directory}/site"
+	 * @since 2.3
+	 */
+	private File siteDirectory;
+
+	/**
 	 * Is the artifact id that should replace the project's artifact id.
 	 * 
 	 * @parameter default-value="${project.artifactId}"
@@ -722,6 +728,17 @@
 	}
 
 	/**
+	 * Replies the directory where generated site are located.
+	 * 
+	 * @return the directory where generated site are located.
+	 * @see #getSourceDirectory()
+	 * @see #getClassDirectory()
+	 */
+	protected File getSiteDirectory() {
+		return this.siteDirectory;
+	}
+
+	/**
 	 * Replies the directory where generated classes are located.
 	 * 
 	 * @return the directory where generated classes are located.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/