[Lutinbuilder-commits] r204 - lutinpluginproject/trunk lutinproject/trunk
Author: tchemit Date: 2008-10-08 21:33:08 +0000 (Wed, 08 Oct 2008) New Revision: 204 Modified: lutinpluginproject/trunk/pom.xml lutinproject/trunk/pom.xml Log: at least makes site works for multilanguage with no treak... the rst plugin will deal with his own resource, so do not copy any rst stuff from the ant task Modified: lutinpluginproject/trunk/pom.xml =================================================================== --- lutinpluginproject/trunk/pom.xml 2008-10-08 15:43:08 UTC (rev 203) +++ lutinpluginproject/trunk/pom.xml 2008-10-08 21:33:08 UTC (rev 204) @@ -247,7 +247,7 @@ <!--Ressources--> <resources> - + <resource> <directory>${maven.src.dir}/main/resources</directory> <includes> @@ -406,7 +406,7 @@ </execution> </executions> </plugin> - + <!-- - - - - - --> <!-- PHASE SITE --> <!-- - - - - - --> @@ -455,19 +455,44 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> </plugin> - + <!-- always launch plugin plugin on plugin ! --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> </plugin> - - <!-- Always process jrst files, but only called on pre-site phase --> + + <!--Tasks Ant--> <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <!--Copy files for site--> + <execution> + <id>CopySiteFiles</id> + <phase>pre-site</phase> + <configuration> + <tasks> + <mkdir dir="${maven.src.dir}/site"/> + <copy todir="${maven.site.gen.dir}" verbose="${maven.verbose}" overwrite="false"> + <fileset dir="${maven.src.dir}/site"> + <exclude name="**/rst/**"/> + </fileset> + </copy> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + + <!-- Always process jrst files, but only called on pre-site phase --> + <plugin> <groupId>org.codelutin</groupId> <artifactId>maven-jrst-plugin</artifactId> </plugin> - + </plugins> </build> @@ -551,9 +576,9 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> </plugin> - + <!-- Not official report plugins --> - <!-- and not working with viewCVS --> + <!-- and not working with viewCVS --> <!--plugin> <groupId>net.sf</groupId> <artifactId>stat-scm</artifactId> Modified: lutinproject/trunk/pom.xml =================================================================== --- lutinproject/trunk/pom.xml 2008-10-08 15:43:08 UTC (rev 203) +++ lutinproject/trunk/pom.xml 2008-10-08 21:33:08 UTC (rev 204) @@ -525,7 +525,9 @@ <tasks> <mkdir dir="${maven.src.dir}/site"/> <copy todir="${maven.site.gen.dir}" verbose="${maven.verbose}" overwrite="false"> - <fileset dir="${maven.src.dir}/site"/> + <fileset dir="${maven.src.dir}/site"> + <exclude name="**/rst/**"/> + </fileset> </copy> </tasks> </configuration>
participants (1)
-
tchemit@users.labs.libre-entreprise.org