Follow these steps to include commons-skin in a component's Maven 2 build.
src/site/site.xml
file of your component:
<project name="..."> ... <skin> <groupId>org.apache.commons</groupId> <artifactId>commons-skin</artifactId> <version>1.0</version> </skin> ... </project> |
pom.xml
:
<project ...> ... <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <configuration> <moduleExcludes> <xdoc>navigation.xml</xdoc> </moduleExcludes> </configuration> </plugin> </plugins> </reporting> ... </project> |
/commons/trunks-sandbox
. This is because trunks-sandbox has some build-in stylesheet customizations that might interfere with the stylesheet definitions in the skin. The solution is to check out the component on its own. This problem will be fixed if/when commons-skin is released.