Skip to content

Commit

Permalink
Add a pom file for building a RefasterJs jar.
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=202009498
  • Loading branch information
sparhami authored and brad4d committed Jun 26, 2018
1 parent 2543a8f commit 25f8973
Showing 1 changed file with 89 additions and 0 deletions.
89 changes: 89 additions & 0 deletions pom-refasterjs.xml
@@ -0,0 +1,89 @@
<!--
Copyright 2018 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>4.0.0</modelVersion>

<groupId>com.google.javascript</groupId>
<artifactId>closure-compiler-refasterjs</artifactId>
<packaging>jar</packaging>

<name>Closure Compiler RefasterJS</name>
<version>1.0-SNAPSHOT</version>

<url>https://developers.google.com/closure/compiler/</url>
<description>
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 allows for performing refactorings using Closure Compiler. See
https://github.com/google/closure-compiler/wiki/RefasterJS for more details.
</description>
<inceptionYear>2009</inceptionYear>

<parent>
<groupId>com.google.javascript</groupId>
<artifactId>closure-compiler-main</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>pom-main.xml</relativePath>
</parent>

<build>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.1</version>
<executions>
<execution>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.google.javascript.refactoring.RefasterJs</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 25f8973

Please sign in to comment.