README

February 5, 2020 ยท View on GitHub

For more information please visit: https://cliftonlabs.github.io/json-simple/

For the javadocs please visit: https://cliftonlabs.github.io/json-simple/target/apidocs/index.html

[DEVELOPERS] Use settings similar to those included in: eclipseCleanup.xml eclipseFormatter.xml eclipsePreferences.epf elcipseTemplates.xml

Code sorting should follow this priority with no preference on visibility: Types > Static Initializers > Initializers > Static Fields > Fields > Constructors > Static Methods > Methods.

Generate json-simple project files for eclipse: mvn eclipse:eclipse

Build the project: mvn compile

Run unit tests: mvn test

Build the project with javadocs and source: mvn package

Make the signed artifacts available to other local projects: mvn clean install

Guided deploy of project with signed artifacts: Automated source cleanup. Update CHANGELOG. Acquire release keys based on guidance from: https://central.sonatype.org/pages/working-with-pgp-signatures.html gpg2 --full-gen-key gpg2 --keyserver hkp://pool.sks-keyservers.net --send-keys KEYHASHTOSEND Ensure the settings.xml file is present in the maven repostiory. For example: ~/.m2/settings.xml should have the contents: ossrh account_name_with_group_id_control_in_maven_central plain_text_password_so_ensure_file_has_restricted_permissions_and_access

mvn release:clean mvn release:prepare mvn release:perform mvn release:clean

Update gh-pages:

  1. switch to gh-pages

  2. Delete target/

  3. switch to latest json-simple release tag

  4. mvn clean install

  5. switch back to gh-pages

  6. git add target/

  7. Update the index.html version references.

  8. commit and push to gh-pages.