Is there a way to disable the generation and deployment of Maven sites in Maven 2.2.1? -


we in process of upgrading our build processes , infrastructure. majority of projects still stuck using maven 2.2.1 (we have hundreds of maven projects across number of environment on different hudson , jenkins servers). immediate upgrade 3.3.x most-certainly break things due number of teams affected , large amount of projects haven't been looked after, or have become obsolete.

as part of migration, temporarily disable generation , deployment of maven sites. in more recent versions of maven-site-plugin there there 2 properties have come quite handy - maven.site.skip , maven.site.deploy.skip, unfortunately stuck maven 2.2.1 these versions ignored.

is there way disable this?

there no "clean" way possibilities exist:

if don't add site section inside <distributionmanagement/> site not uploaded. see: http://maven.apache.org/pom.html#site_distribution remove section pom might in situation.

another try deploy site /tmp/maven-sites specifying file:///tmp/maven-sites site deployment url. unfortunately, deploying file:///dev/null not work, maven-site-plugin need able create files , directories. :)


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -