Skip to content

Commit b5e56f3

Browse files
hazendazmikesamuel
authored andcommitted
Retooling overall build with hugely improved site page (#11)
* [pom] Add xml tag with UTF-8 encoding * [pom] Correct maven xsd location * [pom] Remove prerequisites as its valid only for plugins If there is a need to force maven version on build, use enforcer plugin per maven requirements. Maven 3.5.0+ will warn with prerequisites being used. * [pom] Update nexus-staging-maven-plugin to 1.6.8 * [pom] Update maven source plugin to 3.0.1 * [pom] Update maven javadoc plugin to 2.10.4 * [pom] Update jacoco maven plugin to 0.7.9 * [pom] Use ${project.basedir} * [pom] Properly configure java version * [pom] Fix jsr305 so it stays with single version This was causing unnecessary problems by blindly allowing any version then continually looking for new on builds. This is never a good idea to use this maven feature. * [pom] Switch findbugs to spotbugs Findbugs project is currently stuck. Spotbugs is the current replacement with hopes findbugs will come back to life. As such, I am currently supporting spotbugs maven plugin as the same situation exists for the findbugs maven plugin. Same deal, hopes of making it back to the old one at some point. This however continues off earlier findbugs in both cases and adds additional support. * [pom] Finish off encoding proper maven 3 way * [lib] Delete the entire thing, not very git like nor required * [javadoc] JDK 8 is not spammy unless badly written, fixed only bad javadoc * [git] Add Full Eclipse/Intellij/Sonar files to ignore and drop ANT bin * [eclipse] Drop project files as unnecessary in any modern eclipse (m2e) While this will affect current users simply delete project from eclipse, delete remaining traces of ecipse from project, then reimport it. m2e will properly import the project. * [pom] Raise to require java 6 Because the following code with Override Annotation is already requiring java 6. from EvalMinifier @OverRide public int compareTo(Token t) { * [git] Add default gitattributes * [ci] Cleanup RELEASE-checklist as command is 'mvn' not 'mvn3' * [ci] Remove unnecessary eclipse suppress warnings These are only issues if checks are turned on and if those checks are turned on the project owner would likely be wanting to fix the issues. So this generally is a bad idea to introduce and specific to an IDE. * [site] Overhaul site with fluido * [pom] Add support for running against sonarqube Sonarqube 6.4 tested. There are 2 bugs and 51 code smells at this revision against this codebase that should be eventually looked at.
1 parent b6810f2 commit b5e56f3

21 files changed

+100
-872
lines changed

.classpath

Lines changed: 0 additions & 9 deletions
This file was deleted.

.gitattributes

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
7+
# Standard to msysgit
8+
*.doc diff=astextplain
9+
*.DOC diff=astextplain
10+
*.docx diff=astextplain
11+
*.DOCX diff=astextplain
12+
*.dot diff=astextplain
13+
*.DOT diff=astextplain
14+
*.pdf diff=astextplain
15+
*.PDF diff=astextplain
16+
*.rtf diff=astextplain
17+
*.RTF diff=astextplain

.gitignore

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
1+
# Eclipse
2+
.classpath
3+
.settings
4+
.project
5+
.tern-project
16
target
2-
bin
7+
8+
# Intellij
9+
.idea
10+
.iml
11+
12+
# sonarqube
13+
.sonar_lock

.project

Lines changed: 0 additions & 17 deletions
This file was deleted.

RELEASE-checklist.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
and make sure that the current POM release number is max.
1717

1818
7. Check that it builds clean and the reports are ok.
19-
$ mvn3 clean release:clean package site
19+
$ mvn clean release:clean package site
2020
Browse to file://$PWD/target/site and check the findbugs and jacoco reports.
2121

2222
8. Prepare a release which will check that the release plugin can
2323
do its job and sanity check by running unit-tests.
24-
$ mvn3 release:prepare
24+
$ mvn release:prepare
2525

2626
9. Perform the release which creates a commit in github for the release
2727
and updates master to the new development snapshot version.
28-
$ mvn3 release:perform
28+
$ mvn release:perform
2929

3030
10. Checkout the release branch being sure to use the appropriate release
3131
version tag.
@@ -36,7 +36,7 @@
3636
$ cd json-sanitizer-release
3737

3838
11. Deploy to nexus
39-
$ mvn3 deploy
39+
$ mvn deploy
4040

4141
12. Log in to https://oss.sonatype.org/ then close and release.
4242
a. Click "Staging Repositories" in the left hand bar.

lib/jsr305/COPYING

Lines changed: 0 additions & 11 deletions
This file was deleted.

lib/jsr305/jsr305.jar

-32.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)