From d4ed8d7fed5a0932aa46a40fbd6d7e0b3acdf2a5 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 4 Apr 2021 10:41:52 -0700 Subject: Remove Maven support --- build.gradle | 7 + gradle/wrapper/gradle-wrapper.properties | 2 +- pom.xml | 448 ------------------------------- 3 files changed, 8 insertions(+), 449 deletions(-) delete mode 100644 pom.xml diff --git a/build.gradle b/build.gradle index 93871b36d..595bb8484 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,7 @@ plugins { id "java" id "checkstyle" id "com.google.protobuf" version "0.8.12" + id "org.kordamp.gradle.project-enforcer" version "0.9.0" id "application" } @@ -34,6 +35,12 @@ protobuf { } } +enforce { + rule(enforcer.rules.EnforceBytecodeVersion) { r -> + r.maxJdkVersion = "1.8" + } +} + dependencies { implementation "commons-codec:commons-codec:1.15" implementation "com.h2database:h2:1.4.200" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 1f3fdbc52..8cf6eb5ad 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/pom.xml b/pom.xml deleted file mode 100644 index 7c4846e7c..000000000 --- a/pom.xml +++ /dev/null @@ -1,448 +0,0 @@ - - - 4.0.0 - org.traccar - traccar - 4.12-SNAPSHOT - - traccar - https://www.traccar.org - - - UTF-8 - 4.2.3 - 9.4.36.v20210114 - 2.33 - 2.12.1 - 3.14.0 - - - - - junit - junit - 4.13.1 - test - - - commons-codec - commons-codec - 1.15 - - - com.h2database - h2 - 1.4.200 - - - mysql - mysql-connector-java - 8.0.21 - - - org.postgresql - postgresql - 42.2.18 - - - com.microsoft.sqlserver - mssql-jdbc - 9.2.0.jre8 - - - com.zaxxer - HikariCP - 4.0.1 - - - io.netty - netty-all - 4.1.58.Final - - - org.slf4j - slf4j-jdk14 - 1.7.30 - - - com.google.inject - guice - ${guice.version} - - - com.google.inject.extensions - guice-assistedinject - ${guice.version} - - - org.owasp.encoder - encoder - 1.2.3 - - - org.glassfish - javax.json - 1.1.4 - - - org.eclipse.jetty - jetty-server - ${jetty.version} - - - org.eclipse.jetty - jetty-servlet - ${jetty.version} - - - org.eclipse.jetty - jetty-webapp - ${jetty.version} - - - org.eclipse.jetty - jetty-jndi - ${jetty.version} - - - org.eclipse.jetty - jetty-proxy - ${jetty.version} - - - org.eclipse.jetty.websocket - websocket-server - ${jetty.version} - - - org.glassfish.jersey.containers - jersey-container-servlet - ${jersey.version} - - - org.glassfish.jersey.media - jersey-media-json-jackson - ${jersey.version} - - - org.glassfish.jersey.inject - jersey-hk2 - ${jersey.version} - - - com.fasterxml.jackson.jaxrs - jackson-jaxrs-json-provider - ${jackson.version} - - - com.fasterxml.jackson.datatype - jackson-datatype-jsr353 - ${jackson.version} - - - org.liquibase - liquibase-core - 3.10.3 - - - ch.qos.logback - logback-classic - - - - - com.sun.mail - javax.mail - 1.6.2 - - - org.jxls - jxls - 2.4.7 - - - org.jxls - jxls-poi - 1.0.16 - - - org.apache.velocity - velocity - 1.7 - - - org.apache.velocity - velocity-tools - 2.0 - - - org.apache.commons - commons-collections4 - 4.4 - - - org.mnode.ical4j - ical4j - 3.0.22 - - - org.locationtech.spatial4j - spatial4j - 0.8 - - - org.locationtech.jts - jts-core - 1.18.0 - - - net.java.dev.jna - jna-platform - 5.6.0 - - - com.github.jnr - jnr-posix - 3.1.4 - - - com.google.protobuf - protobuf-java - ${protobuf.version} - - - javax.xml.bind - jaxb-api - 2.3.1 - - - com.sun.xml.bind - jaxb-core - 2.3.0.1 - - - com.sun.xml.bind - jaxb-impl - 2.3.3 - - - javax.activation - activation - 1.1.1 - - - com.amazonaws - aws-java-sdk - 1.11.967 - - - - - commons-logging - commons-logging - 1.1.1 - - - org.slf4j - slf4j-api - 1.7.30 - - - jakarta.activation - jakarta.activation-api - 1.2.2 - - - com.fasterxml.jackson.core - jackson-annotations - 2.12.1 - - - com.fasterxml.jackson.core - jackson-databind - 2.12.1 - - - com.fasterxml.jackson.module - jackson-module-jaxb-annotations - 2.12.1 - - - - - tracker-server - target/classes - - - - maven-dependency-plugin - 3.1.1 - - - package - - copy-dependencies - - - ${project.build.directory}/lib - runtime - - - - - - maven-jar-plugin - 3.1.1 - - - - org.traccar.Main - true - lib/ - true - true - - - - - - maven-compiler-plugin - 3.8.0 - - 1.8 - 1.8 - -Xlint:unchecked - - - - maven-enforcer-plugin - 1.4.1 - - - - enforce-bytecode-version - - enforce - - - - - 1.8 - - - true - - - - - - org.codehaus.mojo - extra-enforcer-rules - 1.1 - - - - - com.github.os72 - protoc-jar-maven-plugin - 3.8.0 - - - generate-sources - - run - - - com.google.protobuf:protoc:${protobuf.version} - - src/main/proto - - src/main/java - - - - - - maven-site-plugin - 3.7.1 - - - - - - - jar-with-dependencies - - - - maven-assembly-plugin - 3.1.1 - - - jar-with-dependencies - - - - org.traccar.Main - - - - - - assemble-all - package - - single - - - - - - - - - - - - - maven-project-info-reports-plugin - 3.0.0 - - - maven-jxr-plugin - 3.0.0 - - - org.codehaus.mojo - findbugs-maven-plugin - 3.0.5 - - gradle/findbugs.xml - - - - maven-pmd-plugin - 3.11.0 - - - - pmd - - - - - - - - -- cgit v1.2.3