Is it necessary to have profiles javadoc and deploy? Since both are only activated when we do a deploy, why not move the javadoc plugin under the deploy profile and remove the below skipTests parameter so to do a deploy we would just do:
mvn clean site deploy -Pdeploy

instead of:
mvn clean site verify
mvn clean deploy -Pdeploy -Pjavadoc



<!--  Don't re-run tests as part of the deploy build.
Note we use skipTests, not maven.test.skip, since the latter skips
              compilation too and we want to deploy tests. -->
<skipTests>true</skipTests>

Reply via email to