As the title says, I'm unable to generate a site unless I run 'mvn install' first. Also, note that 'mvn install site' doesn't work either. The two goals have to be run separately.
This is a multi module project.
If it's possible (and I'm sure it is) I would prefer to do this in one command from our jenkins server. Even more preferably without install, just 'mvn verify site'.
When I run
mvn clean verify site
I get this error at the root module, before any of the submodules have been built.
Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project X: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal on project something-domain: Could not resolve dependencies for project something:something-domain:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: something:something-services:jar:1.0-SNAPSHOT, something:something-services:jar:tests:1.0-SNAPSHOT: Could not find artifact something:something-services:jar:1.0-SNAPSHOT in third-party-snapshots (
http://local-nexus-mirror/content/groups/third-party-snapshots/
)