When I run mvn site:run and go to localhost:8080 i see only 3 folders:
- css
- images
- Web-Inf
How do I get the index.html file? or where should i create an index.html?
pm.xml in site/
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<port>9000</port>
<tempWebappDirectory>
${basedir}/src/documentation/src/site
</tempWebappDirectory>
</configuration>
</plugin>
</plugins>
</build>
</project>
Perhaps something like the following project structure could work for you:
Also configure the following to be able to deploy: