Parameterize versions of site build dependencies (and go back to 3.4.)
<scm.plugin.version>1.9.5</scm.plugin.version>
<jxr.plugin.version>2.5</jxr.plugin.version>
<clirr.plugin.version>2.8</clirr.plugin.version>
- <site.plugin.version>3.7</site.plugin.version>
+ <!-- Maven site 3.7 uses the wrong stylesheet? -->
+ <site.plugin.version>3.4</site.plugin.version>
+ <!-- Maven site depends on Velocity and the escaping rules are different in newer versions. -->
+ <!-- See https://maven.apache.org/plugins/maven-site-plugin/migrate.html -->
+ <velocity.plugin.version>1.5</velocity.plugin.version>
<remote.resources.plugin.version>1.5</remote.resources.plugin.version>
<manifestfile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestfile>
<maven.compiler.source>1.7</maven.compiler.source>
<artifactId>maven-site-plugin</artifactId>
<version>${site.plugin.version}</version>
<dependencies>
+ <dependency>
+ <groupId>org.apache.velocity</groupId>
+ <artifactId>velocity</artifactId>
+ <version>${velocity.plugin.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
