From 140897701cc9d1fb20d873a8589747a195b4b3cb Mon Sep 17 00:00:00 2001 From: Michael Zhou Date: Sun, 13 Mar 2016 20:59:07 -0400 Subject: [PATCH] Add pom-linter.xml to build closure-compiler-linter.jar with Maven --- pom-linter.xml | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++ pom-main.xml | 3 +- 2 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 pom-linter.xml diff --git a/pom-linter.xml b/pom-linter.xml new file mode 100644 index 00000000000..132e36914d2 --- /dev/null +++ b/pom-linter.xml @@ -0,0 +1,90 @@ + + + 4.0.0 + + com.google.javascript + closure-compiler-linter + jar + + Closure Compiler Linter + 1.0-SNAPSHOT + + https://developers.google.com/closure/compiler/ + + Closure Compiler is a JavaScript optimizing compiler. It parses your + JavaScript, analyzes it, removes dead code and rewrites and minimizes + what's left. It also checks syntax, variable references, and types, and + warns about common JavaScript pitfalls. It is used in many of Google's + JavaScript apps, including Gmail, Google Web Search, Google Maps, and + Google Docs. + + This binary checks for style issues such as incorrect or missing JSDoc + usage, and missing goog.require() statements. It does not do more advanced + checks such as typechecking. + + 2009 + + + com.google.javascript + closure-compiler-main + 1.0-SNAPSHOT + pom-main.xml + + + + + + maven-clean-plugin + 3.0.0 + + true + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.19.1 + + true + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + + shade + + + + + com.google.javascript.jscomp.Linter + + + + + + + + + + diff --git a/pom-main.xml b/pom-main.xml index 443722857f6..7ee90e824da 100644 --- a/pom-main.xml +++ b/pom-main.xml @@ -55,8 +55,9 @@ - pom-main-unshaded.xml + pom-linter.xml pom-main-shaded.xml + pom-main-unshaded.xml