Tuesday Sep 23

Key Concepts

Maven site issues

PDFPrintE-mail
Friday, 24 June 2011 15:18
AddThis Social Bookmark Button

Maven-site-plugin problems

If you are facing problems generating maven site with the maven-site-plugin using Maven 3 you have to upgrade to version 3 of Maven Site plugin

vmn site created only css and images

mvn site call only creates css and images in your target/site folder

mvn site call create only images and css solution If you are using Maven 3 or later you should upgrade your maven site to the 3.0-beta-3 at least
 

Update your maven site plugin of your project's pom.xml-file with the following parameters :

Maven plugin configuration
        
             GroupId :     org.apache.maven.plugins
             ArtifactId :    maven-site-plugin
             Version :      3.0
              
Tags: maven, build, site, plugins, include, snippet, maven-site-plugin, 3.0-beta-3

Add comment


Security code
Refresh

Java Tutorial on Facebook