Skip to content

Commit

Permalink
Added call to spotless:apply for compile phase
Browse files Browse the repository at this point in the history
  • Loading branch information
jottinger committed Apr 5, 2024
1 parent 6a4f888 commit 8577b31
Showing 1 changed file with 20 additions and 56 deletions.
76 changes: 20 additions & 56 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
<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/maven-v4_0_0.xsd">
<?xml version="1.0"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.antwerkz</groupId>
<artifactId>antwerkz-parent</artifactId>
<version>34</version>
</parent>

<groupId>com.antwerkz.javabot</groupId>
<artifactId>javabot</artifactId>
<packaging>jar</packaging>
<version>7.0.0</version>

<name>javabot</name>

<scm>
<connection>scm:git:git://localhost/${basedir}</connection>
<url>https://github.com/evanchooly/javabot</url>
</scm>

<repositories>
<repository>
<id>sonatype-snapshots</id>
Expand All @@ -29,7 +24,6 @@
</snapshots>
</repository>
</repositories>

<build>
<defaultGoal>install</defaultGoal>
<finalName>javabot</finalName>
Expand All @@ -44,6 +38,19 @@
<sourceDirectory>src/main/kotlin</sourceDirectory>
<testSourceDirectory>src/test/kotlin</testSourceDirectory>
<plugins>
<plugin>
<!-- no version necessary because it comes from the parent project -->
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>apply</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
Expand Down Expand Up @@ -87,7 +94,6 @@
</sourceDirs>
</configuration>
</execution>

<execution>
<id>test-compile</id>
<phase>test-compile</phase>
Expand Down Expand Up @@ -145,7 +151,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
Expand All @@ -156,7 +161,6 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.2.0</version>

<configuration>
<mainClass>javabot.Javabot</mainClass>
<classpathScope>test</classpathScope>
Expand Down Expand Up @@ -261,7 +265,6 @@
<artifactId>morphia-core</artifactId>
<version>${morphia.version}</version>
</dependency>

<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
Expand All @@ -277,61 +280,51 @@
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>

<dependency>
<groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId>
<version>4.1.2</version>
</dependency>

<dependency>
<groupId>org.zeroturnaround</groupId>
<groupId>org.zeroturnaround</groupId>
<artifactId>zt-exec</artifactId>
<version>1.12</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.14.0</version>
</dependency>

<dependency>
<groupId>org.pircbotx</groupId>
<artifactId>pircbotx</artifactId>
<version>2.3-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>com.rosaloves</groupId>
<artifactId>bitlyj</artifactId>
<version>2.0.0</version>
</dependency>

<dependency>
<groupId>ca.grimoire.maven</groupId>
<artifactId>maven-utils</artifactId>
<version>2.0</version>
</dependency>

<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>${guice.version}</version>
</dependency>

<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-assistedinject</artifactId>
<version>${guice.version}</version>
</dependency>

<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.10.2</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand All @@ -342,37 +335,31 @@
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>

<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>${jsoup.version}</version>
</dependency>

<dependency>
<groupId>net.htmlparser.jericho</groupId>
<artifactId>jericho-html</artifactId>
<version>3.4</version>
</dependency>

<dependency>
<groupId>net.iakovlev</groupId>
<artifactId>timeshape</artifactId>
<version>2022g.17</version>
</dependency>

<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.2</version>
</dependency>

<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>1.82</version>
</dependency>

<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
Expand All @@ -383,42 +370,36 @@
<artifactId>kotlin-reflect</artifactId>
<version>${kotlin.version}</version>
</dependency>

<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-core</artifactId>
<version>1.8.0</version>
</dependency>

<!-- dropwizard deps -->
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-core</artifactId>
<version>${dropwizard.version}</version>
</dependency>

<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-auth</artifactId>
<version>${dropwizard.version}</version>
</dependency>

<!-- dropwizard deps -->
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-assets</artifactId>
<version>${dropwizard.version}</version>
</dependency>
<!-- dropwizard deps -->

<!-- OAuth library -->
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-views-freemarker</artifactId>
<version>${dropwizard.version}</version>
</dependency>
<!-- dropwizard deps -->

<!-- OAuth library -->
<dependency>
<groupId>org.brickred</groupId>
Expand All @@ -431,7 +412,6 @@
<version>2.4</version>
</dependency>
<!-- OAuth library -->

<!-- webjars -->
<dependency>
<groupId>org.webjars</groupId>
Expand All @@ -449,54 +429,45 @@
<version>5.3.3</version>
</dependency>
<!-- webjars -->

<dependency>
<groupId>com.jayway.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>1.7.0</version>
</dependency>

<dependency>
<groupId>net.thauvin.erik</groupId>
<artifactId>bitly-shorten</artifactId>
<version>1.0.1</version>
</dependency>

<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-youtube</artifactId>
<version>v3-rev20240310-2.0.0</version>
</dependency>

<dependency>
<groupId>org.aeonbits.owner</groupId>
<artifactId>owner</artifactId>
<version>1.0.12</version>
</dependency>


<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version>
<type>maven-plugin</type>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version>
<type>maven-plugin</type>
</dependency>

<!-- Unit testing dependencies -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.7.1</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>4.15.0</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-firefox-driver</artifactId>
Expand All @@ -516,13 +487,11 @@
<scope>test</scope>
</dependency>
<!-- Unit testing dependencies -->

<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>

<!-- java 11 required dependencies thanks to JPMS -->
<dependency>
<groupId>javax.xml.bind</groupId>
Expand All @@ -534,20 +503,17 @@
<artifactId>activation</artifactId>
<version>${activation.version}</version>
</dependency>

<dependency>
<groupId>org.tukaani</groupId>
<artifactId>xz</artifactId>
<version>1.9</version>
</dependency>

<dependency>
<groupId>com.enigmastation</groupId>
<artifactId>kgpt</artifactId>
<version>${kgpt.version}</version>
</dependency>
</dependencies>

<properties>
<activation.version>1.1.1</activation.version>
<critter.version>4.4.4</critter.version>
Expand All @@ -564,9 +530,7 @@
<slf4j.version>2.0.12</slf4j.version>
<sofia.version>0.25</sofia.version>
<kgpt.version>1.0.1</kgpt.version>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kotlin-maven-symbol-processing.version>1.6</kotlin-maven-symbol-processing.version>
</properties>

</project>

0 comments on commit 8577b31

Please sign in to comment.