Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 2.13 KB

CONTRIBUTING.md

File metadata and controls

32 lines (28 loc) · 2.13 KB

Contributing

Coding Rules

Follow these Java coding guidelines:

Testing

For every new major functionality, there must be unit tests added to some unit test class that is part of the automated test suite of pdp-engine's MainTest.java. If the functionality has any impact on XACML - any Request/Response/Policy(Set) element - processing and/or change XACML standard conformance in anyway, make sure you add relevant integration and/or conformance tests to the test suite run by pdp-testutils's MainTest.java.

Dependency management

  1. No SNAPSHOT dependencies on "develop" and obviously "master" branches

Releasing

  1. From the develop branch, prepare a release (example using a HTTP proxy):

    $ mvn -Dhttps.proxyHost=proxyhostname -Dhttps.proxyPort=80 jgitflow:release-start
  1. Update the CHANGELOG according to keepachangelog.com.
  2. To perform the release (example using a HTTP proxy):

    $ mvn -Dhttps.proxyHost=proxyhostname -Dhttps.proxyPort=80 jgitflow:release-finish
If, after deployment, the command does not succeed because of some issue with the branches. Fix the issue, then re-run the same command but with 'noDeploy' option set to true to avoid re-deployment:

    $ mvn -Dhttps.proxyHost=proxyhostname -Dhttps.proxyPort=80 -DnoDeploy=true jgitflow:release-finish
  1. Connect and log in to the OSS Nexus Repository Manager: https://oss.sonatype.org/
  2. Go to Staging Profiles and select the pending repository authzforce-*... you just uploaded with jgitflow:release-finish
  3. Click the Release button to release to Maven Central.

More info on jgitflow: http://jgitflow.bitbucket.org/