Java/Wicket: Compile Basic Hello World with Resources
The solution, if you want your HTML in the wicket best practice place (with your classes) is to add this to the build section of your pom.
<build>
<resources>
<resource>
<filtering>false</filtering>
<directory>src/main/resources</directory>
</resource>
<resource>
<filtering>false</filtering>
<directory>src/main/java</directory>
<includes>
<include>**</include>
</includes>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
</build>
</project>