From: Kai Moritz Date: Thu, 29 Nov 2012 12:03:07 +0000 (+0100) Subject: Documentation gets filterd now X-Git-Tag: hibernate4-maven-plugin-1.0~2 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=8b5942ab0d984ce1433d1c60c14e1d99ae1e2d5b;p=hibernate-maven-plugin Documentation gets filterd now That way, the project-version does not need to be hardcoded in the documentation any more. --- diff --git a/pom.xml b/pom.xml index 7bbb87b9..19180c96 100644 --- a/pom.xml +++ b/pom.xml @@ -165,11 +165,41 @@ install + + org.apache.maven.plugins + maven-resources-plugin + 2.3 + + + copy-resources + pre-site + + copy-resources + + + ${project.build.directory}/filtered-site + + + src/site + true + + + + + + + + maven-site-plugin + 2.1 + + ${project.build.directory}/filtered-site + + org.apache.maven.plugins maven-changes-plugin diff --git a/src/site/apt/examples.apt b/src/site/apt/examples.apt index da04a251..1c28320c 100644 --- a/src/site/apt/examples.apt +++ b/src/site/apt/examples.apt @@ -30,7 +30,7 @@ Configuration through a hibernate.properties-File de.juplo hibernate4-maven-plugin - 1.0-SNAPSHOT + ${project.version} @@ -54,7 +54,7 @@ Configuration through a hibernate.properties-File de.juplo hibernate4-maven-plugin - 1.0-SNAPSHOT + ${project.version} @@ -119,7 +119,7 @@ Configuration through maven-properties de.juplo hibernate4-maven-plugin - 1.0-SNAPSHOT + ${project.version} @@ -157,7 +157,7 @@ Configuration through the plugin-configuration de.juplo hibernate4-maven-plugin - 1.0-SNAPSHOT + ${project.version} @@ -222,7 +222,7 @@ Configuration through the plugin-configuration de.juplo hibernate4-maven-plugin - 1.0-SNAPSHOT + ${project.version} @@ -299,7 +299,7 @@ Known Pitfalls de.juplo hibernate4-maven-plugin - 1.0-SNAPSHOT + ${project.version}