Index: /FCKeditor.Java/branches/2.4/pom.xml
===================================================================
--- /FCKeditor.Java/branches/2.4/pom.xml	(revision 1887)
+++ /FCKeditor.Java/branches/2.4/pom.xml	(revision 1888)
@@ -101,4 +101,29 @@
 				<version>2.0-beta-5</version>
 			</plugin>
+			 <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <tasks>
+				<echo message="Copying site.xml to ${pom.artifactId}" />
+                <copy overwrite="true" todir="src/site" flatten="true" file="../src/site/site.xml">
+                </copy>
+                <replace value="href=&quot;../" token="href=&quot;/" dir="..">
+                  <include name="${pom.artifactId}/src/site/site.xml" />
+                  <exclude name="displaytag-doc/src/site/site.xml" />
+                </replace>
+                <replace value="href=&quot;" token="href=&quot;../${pom.artifactId}/" dir="..">
+                  <include name="${pom.artifactId}/src/site/site.xml" />
+                  <exclude name="displaytag-doc/src/site/site.xml" />
+                </replace>
+              </tasks>
+            </configuration>
+          </execution>
+        </executions>
 		</plugins>
 	</build>
