Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Mirror of Apache Maven enforcer
Java Groovy

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
enforcer-api
enforcer-rules [MENFORCER-224] Regression from 1.3.1 to 1.4 with bannedDependencies …
maven-enforcer-plugin [MENFORCER-224] Regression from 1.3.1 to 1.4 with bannedDependencies …
src/site [MNGSITE-152] moved license and download links to release root
.gitignore Improved test code.
LICENSE [MENFORCER-157][MENFORCER-158]
NOTICE
README.TXT
deploySite.bat fixed site publication scripts: need reporting profile for site gener…
deploySite.sh fixed site publication scripts: need reporting profile for site gener…
pom.xml changed svnpubsub url from /content to /components

README.TXT

Deploying web site
-------------------
You can use the deploySite(.sh|.bat) script
Without any profile, the site will be deployed to http://maven.apache.org/enforcer-archives/enforcer-${project.version}
sh ./deploySite.sh -Preporting

To deploy main version http://maven.apache.org/enforcer, use
sh ./deploySite.sh -Preporting -Psite-release

Note you can add arguments to the script to pass your svn credentials:
-Dusername=
-Dpassword=

Workflow for site when releasing
--------------------------------
Once release staged, you can publish a staged site.
cd target/checkout
sh ./deploySite.sh -Preporting
content will be in http://maven.apache.org/enforcer-archives/enforcer-${project.version}

Once vote passed, redeploy main site:
cd target/checkout (or use the version tag)
sh ./deploySite.sh -Preporting -Psite-release

Something went wrong with that request. Please try again.