diff --git a/.mvn/maven.config b/.mvn/maven.config deleted file mode 100644 index ccb1b15d51..0000000000 --- a/.mvn/maven.config +++ /dev/null @@ -1 +0,0 @@ --s .mvn/settings.xml diff --git a/.mvn/settings.xml b/.mvn/settings.xml deleted file mode 100644 index 0b273242bc..0000000000 --- a/.mvn/settings.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - github - ${env.GITHUB_TOKEN} - - - maven-central - ${env.OSS_SONATYPE_ORG_USERNAME} - ${env.OSS_SONATYPE_ORG_PASSWORD} - - - - diff --git a/.mvn/wrapper/maven-wrapper.jar b/.mvn/wrapper/maven-wrapper.jar deleted file mode 100644 index 0fe2eb9d3a..0000000000 Binary files a/.mvn/wrapper/maven-wrapper.jar and /dev/null differ diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties deleted file mode 100644 index cef844a77a..0000000000 --- a/.mvn/wrapper/maven-wrapper.properties +++ /dev/null @@ -1 +0,0 @@ -distributionUrl=https://repository.apache.org/content/repositories/releases/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index c7712d2955..7d4ab23989 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,6 @@ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ - - $HOME/.m2 env: global: diff --git a/ktlint-core/pom.xml b/ktlint-core/pom.xml deleted file mode 100644 index 94a722e949..0000000000 --- a/ktlint-core/pom.xml +++ /dev/null @@ -1,104 +0,0 @@ - - - 4.0.0 - - - com.pinterest.ktlint - pom - 0.0.0-SNAPSHOT - - - ktlint-core - - - - org.jetbrains.kotlin - kotlin-stdlib - ${kotlin.version} - provided - - - org.jetbrains.kotlin - kotlin-compiler-embeddable - ${kotlin.version} - - - org.ec4j.core - ec4j-core - ${ec4j.version} - - - junit - junit - ${junit.version} - test - - - org.assertj - assertj-core - ${assertj.version} - test - - - com.google.jimfs - jimfs - ${jimfs.version} - test - - - - - ${project.basedir}/src/main/kotlin - ${project.basedir}/src/test/kotlin - - - - - release - - - deploy - maven-central - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.0.2 - - - attach-javadocs - verify - - jar - - - javadoc - ${basedir}/javadoc - - - - - - - - - - diff --git a/ktlint-reporter-checkstyle/pom.xml b/ktlint-reporter-checkstyle/pom.xml deleted file mode 100644 index 29ec60990b..0000000000 --- a/ktlint-reporter-checkstyle/pom.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - 4.0.0 - - - com.pinterest.ktlint - pom - 0.0.0-SNAPSHOT - - - ktlint-reporter-checkstyle - - - - org.jetbrains.kotlin - kotlin-stdlib - ${kotlin.version} - provided - - - com.pinterest.ktlint - ktlint-core - 0.0.0-SNAPSHOT - provided - - - junit - junit - ${junit.version} - test - - - org.assertj - assertj-core - ${assertj.version} - test - - - - - ${project.basedir}/src/main/kotlin - ${project.basedir}/src/test/kotlin - - - - - release - - - deploy - maven-central - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.0.2 - - - attach-javadocs - verify - - jar - - - javadoc - ${basedir}/javadoc - - - - - - - - - - diff --git a/ktlint-reporter-json/pom.xml b/ktlint-reporter-json/pom.xml deleted file mode 100644 index ca5e29af99..0000000000 --- a/ktlint-reporter-json/pom.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - 4.0.0 - - - com.pinterest.ktlint - pom - 0.0.0-SNAPSHOT - - - ktlint-reporter-json - - - - org.jetbrains.kotlin - kotlin-stdlib - ${kotlin.version} - provided - - - com.pinterest.ktlint - ktlint-core - 0.0.0-SNAPSHOT - provided - - - junit - junit - ${junit.version} - test - - - org.assertj - assertj-core - ${assertj.version} - test - - - - - ${project.basedir}/src/main/kotlin - ${project.basedir}/src/test/kotlin - - - - - release - - - deploy - maven-central - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.0.2 - - - attach-javadocs - verify - - jar - - - javadoc - ${basedir}/javadoc - - - - - - - - - - diff --git a/ktlint-reporter-plain/pom.xml b/ktlint-reporter-plain/pom.xml deleted file mode 100644 index 12db51cb44..0000000000 --- a/ktlint-reporter-plain/pom.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - 4.0.0 - - - com.pinterest.ktlint - pom - 0.0.0-SNAPSHOT - - - ktlint-reporter-plain - - - - org.jetbrains.kotlin - kotlin-stdlib - ${kotlin.version} - provided - - - com.pinterest.ktlint - ktlint-core - 0.0.0-SNAPSHOT - provided - - - junit - junit - ${junit.version} - test - - - org.assertj - assertj-core - ${assertj.version} - test - - - - - ${project.basedir}/src/main/kotlin - ${project.basedir}/src/test/kotlin - - - - - release - - - deploy - maven-central - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.0.2 - - - attach-javadocs - verify - - jar - - - javadoc - ${basedir}/javadoc - - - - - - - - - - diff --git a/ktlint-ruleset-experimental/pom.xml b/ktlint-ruleset-experimental/pom.xml deleted file mode 100644 index 637803a407..0000000000 --- a/ktlint-ruleset-experimental/pom.xml +++ /dev/null @@ -1,100 +0,0 @@ - - - 4.0.0 - - - com.pinterest.ktlint - pom - 0.0.0-SNAPSHOT - - - ktlint-ruleset-experimental - - - - org.jetbrains.kotlin - kotlin-stdlib - ${kotlin.version} - provided - - - com.pinterest.ktlint - ktlint-core - 0.0.0-SNAPSHOT - provided - - - com.pinterest.ktlint - ktlint-test - 0.0.0-SNAPSHOT - test - - - junit - junit - ${junit.version} - test - - - org.assertj - assertj-core - ${assertj.version} - test - - - - - ${project.basedir}/src/main/kotlin - ${project.basedir}/src/test/kotlin - - - - - release - - - deploy - maven-central - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.0.2 - - - attach-javadocs - verify - - jar - - - javadoc - ${basedir}/javadoc - - - - - - - - - - diff --git a/ktlint-ruleset-standard/pom.xml b/ktlint-ruleset-standard/pom.xml deleted file mode 100644 index 54f74078cc..0000000000 --- a/ktlint-ruleset-standard/pom.xml +++ /dev/null @@ -1,100 +0,0 @@ - - - 4.0.0 - - - com.pinterest.ktlint - pom - 0.0.0-SNAPSHOT - - - ktlint-ruleset-standard - - - - org.jetbrains.kotlin - kotlin-stdlib - ${kotlin.version} - provided - - - com.pinterest.ktlint - ktlint-core - 0.0.0-SNAPSHOT - provided - - - com.pinterest.ktlint - ktlint-test - 0.0.0-SNAPSHOT - test - - - junit - junit - ${junit.version} - test - - - org.assertj - assertj-core - ${assertj.version} - test - - - - - ${project.basedir}/src/main/kotlin - ${project.basedir}/src/test/kotlin - - - - - release - - - deploy - maven-central - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.0.2 - - - attach-javadocs - verify - - jar - - - javadoc - ${basedir}/javadoc - - - - - - - - - - diff --git a/ktlint-test/pom.xml b/ktlint-test/pom.xml deleted file mode 100644 index 1d352d4d4d..0000000000 --- a/ktlint-test/pom.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - 4.0.0 - - - com.pinterest.ktlint - pom - 0.0.0-SNAPSHOT - - - ktlint-test - - - - org.jetbrains.kotlin - kotlin-stdlib - ${kotlin.version} - provided - - - com.pinterest.ktlint - ktlint-core - 0.0.0-SNAPSHOT - provided - - - org.assertj - assertj-core - ${assertj.version} - - - junit - junit - ${junit.version} - - - - - ${project.basedir}/src/main/kotlin - ${project.basedir}/src/test/kotlin - - - - - release - - - deploy - maven-central - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.0.2 - - - attach-javadocs - verify - - jar - - - javadoc - ${basedir}/javadoc - - - - - - - - - - diff --git a/ktlint/pom.xml b/ktlint/pom.xml deleted file mode 100644 index 51216aed95..0000000000 --- a/ktlint/pom.xml +++ /dev/null @@ -1,343 +0,0 @@ - - - 4.0.0 - - - com.pinterest.ktlint - pom - 0.0.0-SNAPSHOT - - - com.pinterest - ktlint - - - scm:git:git@github.com:pinterest/ktlint.git - scm:git:git@github.com:pinterest/ktlint.git - git@github.com:pinterest/ktlint.git - - - - - org.jetbrains.kotlin - kotlin-stdlib - ${kotlin.version} - - - - - org.jetbrains - annotations - 13.0 - provided - - - - com.pinterest.ktlint - ktlint-core - 0.0.0-SNAPSHOT - - - com.pinterest.ktlint - ktlint-ruleset-standard - 0.0.0-SNAPSHOT - - - com.pinterest.ktlint - ktlint-ruleset-experimental - 0.0.0-SNAPSHOT - - - com.pinterest.ktlint - ktlint-reporter-plain - 0.0.0-SNAPSHOT - - - com.pinterest.ktlint - ktlint-reporter-json - 0.0.0-SNAPSHOT - - - com.pinterest.ktlint - ktlint-reporter-checkstyle - 0.0.0-SNAPSHOT - - - com.pinterest.ktlint - ktlint-test - 0.0.0-SNAPSHOT - - - com.github.shyiko.klob - klob - ${klob.version} - - - info.picocli - picocli - ${picocli.version} - - - junit - junit - ${junit.version} - test - - - org.assertj - assertj-core - ${assertj.version} - test - - - - - ${project.basedir}/src/main/kotlin - ${project.basedir}/src/test/kotlin - - - org.apache.maven.plugins - maven-antrun-plugin - 1.8 - - - ktlint - verify - - - - - - - - - run - - - - ktlint-format - - - - - - - - - run - - - - - - org.codehaus.mojo - exec-maven-plugin - 1.6.0 - - com.pinterest.ktlint.Main - - - - - - - - release - - - deploy - maven-central - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.0.2 - - - attach-javadocs - verify - - jar - - - javadoc - ${basedir}/javadoc - - - - - - - - - capsule - - - deploy - github - - - - clean deploy - - - org.apache.maven.plugins - maven-shade-plugin - 3.1.0 - - - package - - shade - - - - - - com.pinterest.ktlint.Main - - - true - false - - - - *:* - - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - - - - org.jetbrains.kotlin:kotlin-compiler-embeddable - - ** - - - - - - - - - org.skife.maven - really-executable-jar-maven-plugin - 1.4.1 - - - -Xmx512m - ktlint - - - - package - - really-executable-jar - - - - - - - - - deploy-to-github - - - deploy - github - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.8 - - - ktlint - verify - - ${gpg.skip} - - - - - - - - - run - - - - - - de.jutzig - github-release-plugin - 1.2.0 - - ${github.description} - ${project.version} - ${project.version} - ${project.build.directory}/${project.artifactId} - true - - - ${project.build.directory} - - ${project.artifactId}.asc - - - - - - - deploy - - release - - - - - - - - - - diff --git a/mvnw b/mvnw deleted file mode 100755 index e5d1bcb03b..0000000000 --- a/mvnw +++ /dev/null @@ -1,155 +0,0 @@ -#!/bin/bash -# -# The Maven Wrapper 0.1.0 (https://github.com/shyiko/mvnw). -# Based on https://github.com/gradle/gradle/blob/62925785791e2487c43d19d234c2fced6d750412/gradlew. -# - -# Add default JVM options here. You can also use JAVA_OPTS and MAVEN_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS="-Dfile.encoding=UTF-8" - -APP_BASE_NAME=`basename "$0"` - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn ( ) { - echo "$*" -} - -die ( ) { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; -esac - -# For Cygwin, ensure paths are in UNIX format before anything is touched. -if $cygwin ; then - [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` -fi - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" -APP_HOME="`pwd -P`" -cd "$SAVED" - -CLASSPATH=$APP_HOME/.mvn/wrapper/maven-wrapper.jar - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query businessSystem maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Cygwin, switch paths to Windows format before running java -if $cygwin ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$MAVEN_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($MAVEN_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=$((i+1)) - done - case $i in - (0) set -- ;; - (1) set -- "$args0" ;; - (2) set -- "$args0" "$args1" ;; - (3) set -- "$args0" "$args1" "$args2" ;; - (4) set -- "$args0" "$args1" "$args2" "$args3" ;; - (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# taken from https://github.com/takari/maven-wrapper/blob/69f3c6dd1b07620f28c1fc8cb20e392afcd9e95b/mvnw -ld() { if [ -f "$1" ]; then echo "$(tr -s '\n' ' ' < "$1")"; fi } - -JVM_CONFIG="$(ld "$APP_HOME/.mvn/jvm.config")" -MAVEN_CONFIG="$(ld "$APP_HOME/.mvn/maven.config")" - -exec "$JAVACMD" $DEFAULT_JVM_OPTS $JVM_CONFIG $JAVA_OPTS $MAVEN_OPTS -classpath "$CLASSPATH" -Dmaven.multiModuleProjectDirectory="$APP_HOME" org.apache.maven.wrapper.MavenWrapperMain $MAVEN_CONFIG "$@" \ No newline at end of file diff --git a/mvnw.bat b/mvnw.bat deleted file mode 100644 index 0c202e147e..0000000000 --- a/mvnw.bat +++ /dev/null @@ -1,108 +0,0 @@ -@if "%DEBUG%" == "" @echo off -@rem -@rem The Maven Wrapper 0.1.0 (https://github.com/shyiko/mvnw). -@rem Based on https://github.com/gradle/gradle/blob/62925785791e2487c43d19d234c2fced6d750412/gradlew.bat. -@rem - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -@rem Add default JVM options here. You can also use JAVA_OPTS and MAVEN_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS=-Dfile.encoding=UTF-8 - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto init - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto init - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:init -@rem Get command-line arguments, handling Windowz variants - -if not "%OS%" == "Windows_NT" goto win9xME_args -if "%@eval[2+2]" == "4" goto 4NT_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* -goto execute - -:4NT_args -@rem Get arguments from the 4NT Shell from JP Software -set CMD_LINE_ARGS=%$ - -:execute - -@rem taken from https://github.com/takari/maven-wrapper/blob/69f3c6dd1b07620f28c1fc8cb20e392afcd9e95b/mvnw - -IF NOT EXIST "%APP_HOME%\.mvn\jvm.config" goto endReadJvmConfig - -@setlocal EnableExtensions EnableDelayedExpansion -for /F "usebackq delims=" %%a in ("%APP_HOME%\.mvn\jvm.config") do set JVM_CONFIG=!JVM_CONFIG! %%a -@endlocal & set JVM_CONFIG=%JVM_CONFIG% - -:endReadJvmConfig - -IF NOT EXIST "%APP_HOME%\.mvn\maven.config" goto endReadMavenConfig - -@setlocal EnableExtensions EnableDelayedExpansion -for /F "usebackq delims=" %%a in ("%APP_HOME%\.mvn\maven.config") do set MAVEN_CONFIG=!MAVEN_CONFIG! %%a -@endlocal & set MAVEN_CONFIG=%MAVEN_CONFIG% - -:endReadMavenConfig - -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\.mvn\wrapper\maven-wrapper.jar - -@rem Execute Maven -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JVM_CONFIG% %JAVA_OPTS% %MAVEN_OPTS% -classpath "%CLASSPATH%" -Dmaven.multiModuleProjectDirectory="%APP_HOME%" org.apache.maven.wrapper.MavenWrapperMain %MAVEN_CONFIG% %CMD_LINE_ARGS% - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable MAVEN_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%MAVEN_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega diff --git a/pom.xml b/pom.xml deleted file mode 100644 index 00c3dff0fc..0000000000 --- a/pom.xml +++ /dev/null @@ -1,310 +0,0 @@ - - - 4.0.0 - - com.pinterest.ktlint - pom - 0.0.0-SNAPSHOT - pom - - pom - An anti-bikeshedding Kotlin linter with built-in formatter - https://github.com/pinterest/ktlint - - - MIT - https://opensource.org/licenses/MIT - repo - - - - scm:git:git@github.com:pinterest/ktlint.git - scm:git:git@github.com:pinterest/ktlint.git - git@github.com:pinterest/ktlint.git - - - - pinterest - Pinterest, Inc. - - - shyiko - stanley.shyiko@gmail.com - Stanley Shyiko - - - - - maven-central - Sonatype Nexus Staging - https://oss.sonatype.org/service/local/staging/deploy/maven2 - - - maven-central - Sonatype Nexus Snapshots - https://oss.sonatype.org/content/repositories/snapshots - - - - - UTF-8 - 1.3.60 - 1.3 - 1.3 - 0.2.1 - 3.9.6 - 0.2.0 - 4.12 - 3.12.2 - 1.1 - false - ${project.version} - - - - ktlint - ktlint-core - ktlint-reporter-checkstyle - ktlint-reporter-json - ktlint-reporter-html - ktlint-reporter-plain - ktlint-ruleset-experimental - ktlint-ruleset-standard - ktlint-test - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.7.0 - - 1.8 - 1.8 - - - - kotlin-maven-plugin - org.jetbrains.kotlin - ${kotlin.version} - - 1.8 - - -Xskip-runtime-version-check - - - - - compile - process-sources - - compile - - - - test-compile - process-test-sources - - test-compile - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.0.2 - - - - - ${project.version} - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.0.0-M1 - - - enforce - - - - - - - enforce - - - - - - org.apache.maven.plugins - maven-deploy-plugin - 2.8.2 - - true - - - - com.github.shyiko.usage-maven-plugin - usage-maven-plugin - 1.0.0 - - - # build "./ktlint/target/ktlint" (executable jar) - ./mvnw -Pcapsule clean package -Dmaven.test.skip=true - - # test (& check code style) - ./mvnw clean verify - - # run - ./mvnw -pl ktlint compile exec:java -Dexec.args="--help" - - # publish a new version - ./mvnw versions:set -DnewVersion=<version> - ./mvnw -Ddeploy=maven-central - ./mvnw -Ddeploy=github - ./mvnw -Ddeploy=github-release-notes -N - ./mvnw -Ddeploy=refs -N - - - - - - - com.github.shyiko.servers-maven-extension - servers-maven-extension - 1.3.1 - - - com.github.shyiko.usage-maven-plugin - usage-maven-plugin - 1.0.0 - - - - - - - deploy-to-maven-central - - - deploy - maven-central - - - - clean deploy - - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - sign-artifacts - verify - - sign - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.8 - true - - https://oss.sonatype.org/ - maven-central - - - - - - - - - deploy-to-github - - - deploy - github - - - - clean deploy - - - - - update-github-release-notes - - - deploy - github-release-notes - - - - antrun:run - - - org.apache.maven.plugins - maven-antrun-plugin - 1.8 - - - - - - - - - - - - - - - announce - - - deploy - refs - - - - exec:exec@announce - - - org.codehaus.mojo - exec-maven-plugin - 1.6.0 - - - announce - - ${project.basedir}/.announce - - ${project.version} - ${settings.servers.github.privateKey} - - - - - - - - - - -