Author: tchemit Date: 2008-10-12 16:48:38 +0000 (Sun, 12 Oct 2008) New Revision: 1166 Modified: maven-license-switcher-plugin/trunk/pom.xml Log: copy licenses to site Modified: maven-license-switcher-plugin/trunk/pom.xml =================================================================== --- maven-license-switcher-plugin/trunk/pom.xml 2008-10-12 16:47:18 UTC (rev 1165) +++ maven-license-switcher-plugin/trunk/pom.xml 2008-10-12 16:48:38 UTC (rev 1166) @@ -79,6 +79,29 @@ </executions> </plugin> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <!--Copy licenses files for site--> + <execution> + <id>CopySiteFiles2</id> + <phase>pre-site</phase> + <configuration> + <tasks> + <mkdir dir="${maven.site.gen.dir}/resources"/> + <copy todir="${maven.site.gen.dir}/resources" verbose="${maven.verbose}" overwrite="false"> + <fileset dir="${maven.src.dir}/main/resources/META-INF"> + <include name="licenses/**"/> + </fileset> + </copy> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build>