Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Mirror of Apache Maven enforcer
Failed to load latest commit information.
enforcer-api [MENFORCER-227] Document nullability with @Nonnull on EnforcerRule 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 [MENFORCER-157] NOTICE file bad indentation & references software whi…
README.TXT Fix copy/paste URLs
deploySite.bat
deploySite.sh fixed site publication scripts: need reporting profile for site gener…
pom.xml [maven-release-plugin] prepare for next development iteration

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.