forked from fangyidong/json-simple
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathREADME
65 lines (50 loc) · 1.8 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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:
<settings>
<servers>
<server>
<id>ossrh</id>
<username>account_name_with_group_id_control_in_maven_central</username>
<password>plain_text_password_so_ensure_file_has_restricted_permissions_and_access</password>
</server>
</servers>
</settings>
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.