Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6639: Adding spotless for the rest of the java code #8

Closed
wants to merge 9 commits into from
@@ -18,6 +18,9 @@ workspace/
# Useful for local m2 cache when docker building
.m2

# Ignore UltraEdit .bak files
*.bak

# Ignore dependency reduced pom
dependency-reduced-pom.xml

@@ -42,6 +42,11 @@
<artifactId>coverage</artifactId>
<name>Code coverage report jmc/application</name>
<packaging>pom</packaging>

<properties>
<spotless.config.path>${basedir}/../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>

<dependencies>
<!-- First all the modules in application/ -->
<dependency>
@@ -510,6 +515,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>${spotless.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.alert.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.alert.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.browser.attach.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.browser.attach.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.browser.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.browser.jdp.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.browser.jdp.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.browser.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.console.persistence.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.console.persistence.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.console.ui.diagnostic.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.console.ui.diagnostic.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.console.ui.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.console.ui.mbeanbrowser.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.console.ui.mbeanbrowser.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.console.ui.notification.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.console.ui.notification.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.console.ui.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.docs.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.docs.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.feature.ja</artifactId>
<packaging>eclipse-feature</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.feature.rcp.ja</artifactId>
<packaging>eclipse-feature</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.feature.rcp.zh_CN</artifactId>
<packaging>eclipse-feature</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.feature.zh_CN</artifactId>
<packaging>eclipse-feature</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.flightrecorder.controlpanel.ui.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.flightrecorder.controlpanel.ui.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.flightrecorder.ui.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.flightrecorder.ui.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.greychart.ui.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.greychart.ui.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.ide.jdt.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.ide.jdt.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.ide.ui.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.ide.ui.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.rcp.application.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.rcp.application.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.rcp.intro.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.rcp.intro.zh_CN</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.rjmx.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
@@ -40,4 +40,8 @@
</parent>
<artifactId>org.openjdk.jmc.rjmx.ui.ja</artifactId>
<packaging>eclipse-plugin</packaging>

<properties>
<spotless.config.path>${basedir}/../../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path>
</properties>
</project>
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.