Skip to content

Commit

Permalink
post release cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
treblereel committed Nov 20, 2024
1 parent 04363e9 commit e172e03
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 53 deletions.
99 changes: 60 additions & 39 deletions closure-compiler/maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,40 @@
<name>Closure Compiler Unshaded</name>
<version>v20241106-1</version>

<issueManagement>
<system>GitHub Issues</system>
<url>http://github.com/vertispan/closure-compiler/issues</url>
</issueManagement>

<developers>
<developer>
<id>closure-compiler-authors</id>
<name>Closure Compiler Authors</name>
<email>[email protected]</email>
</developer>
<developer>
<name>Colin Alworth</name>
<email>[email protected]</email>
<organization>Vertispan LLC</organization>
<organizationUrl>https://www.vertispan.com/</organizationUrl>
</developer>
</developers>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<url>http://github.com/google/closure-compiler</url>
<connection>scm:git:git://github.com/google/closure-compiler.git</connection>
<developerConnection>scm:git:ssh://[email protected]/google/closure-compiler.git</developerConnection>
<tag>HEAD</tag>
</scm>

<url>https://developers.google.com/closure/compiler/</url>
<description>
Closure Compiler is a JavaScript optimizing compiler. It parses your
Expand Down Expand Up @@ -164,57 +198,44 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven.release.plugin}</version>
<configuration>
<localCheckout>true</localCheckout>
<pushChanges>false</pushChanges>
<mavenExecutorId>forked-path</mavenExecutorId>
<arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>${maven.scm.provider.gitexe}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin}</version>
<configuration>
<failOnError>false</failOnError>
</configuration>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
</configuration>
</execution>
<execution>
<id>sources-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>sources</classifier>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<!-- release profile to create sources, javadoc, and sign all artifacts before uploading -->
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.function.Function;
Expand Down Expand Up @@ -151,12 +152,6 @@ public class WatchMojo extends AbstractBuildMojo {
@Parameter(defaultValue = "SORT_ONLY")
protected String dependencyMode;

/**
* Arguments to pass to annotation processors, in the form of key-value pairs.
*/
@Parameter
protected Map<String, String> annotationProcessorsArgs = new TreeMap<>();

@Override
public void execute() throws MojoExecutionException, MojoFailureException {
PluginDescriptor pluginDescriptor = (PluginDescriptor) getPluginContext().get("pluginDescriptor");
Expand Down
6 changes: 0 additions & 6 deletions j2cl-maven-plugin/j2cl-tasks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
<groupId>org.kie.j2cl.tools</groupId>
<artifactId>transpiler</artifactId>
<version>${j2cl.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.javascript</groupId>
<artifactId>closure-compiler-unshaded</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.kie.j2cl.tools</groupId>
Expand Down
2 changes: 1 addition & 1 deletion j2cl/maven/backend-closure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>com.google.javascript</groupId>
<groupId>org.kie.j2cl.tools</groupId>
<artifactId>closure-compiler-unshaded</artifactId>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion j2cl/maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
</dependency>

<dependency>
<groupId>com.google.javascript</groupId>
<groupId>org.kie.j2cl.tools</groupId>
<artifactId>closure-compiler-unshaded</artifactId>
<version>v20241106-1</version>
<exclusions>
Expand Down

0 comments on commit e172e03

Please sign in to comment.