diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..c70f1cf32 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# EditorConfig is awesome: http://EditorConfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore index 2d3200bcb..1b117bfe4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,36 @@ +### OSX ### +*.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + + +/build/ +/bin/ +/doc/ +# Created by https://www.gitignore.io + /build/ /bin/ # Created by https://www.gitignore.io @@ -77,6 +110,7 @@ local.properties ## Plugin-specific files: # IntelliJ +.idea/ out/ # mpeltonen/sbt-idea plugin @@ -114,3 +148,5 @@ gradle-app.setting hs_err_pid* +# Package jar files are excluded but gradle-wrapper is required. +!/gradle/wrapper/gradle-wrapper.jar diff --git a/.travis.yml b/.travis.yml index 6b771c452..3938f169f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ sudo: true language: java -install: gradle clean +install: ./gradlew clean jdk: - oraclejdk8 addons: diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..8dada3eda --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/readme.md b/README.md similarity index 99% rename from readme.md rename to README.md index 3f871e7c4..5fe0e587e 100644 --- a/readme.md +++ b/README.md @@ -1,6 +1,7 @@ # Microserver +[![Build Status](https://travis-ci.org/aol/micro-server.svg)](https://travis-ci.org/aol/micro-server) [![Join the chat at https://gitter.im/aol/micro-server](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aol/micro-server?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) A convenient modular engine for Microservices. Microserver plugins offer seamless integration with Spring (core), Jersey, Guava, Tomcat, Grizzly, reactive programming, Hibernate (& Spring Data), Spring Boot, Codahale Metrics, Swagger and more to come! diff --git a/build.gradle b/build.gradle index 17b2dc888..6df924ef2 100644 --- a/build.gradle +++ b/build.gradle @@ -1,76 +1,68 @@ -def custom ={ "$rootDir/gradle/${it}.gradle"} +def custom = { "$rootDir/gradle/${it}.gradle" } buildscript { - repositories { jcenter() - maven { - url 'https://github.com/serkan-ozal/maven-repository/raw/master/' - url "https://oss.sonatype.org/content/repositories/snapshots" - - } - - } - dependencies { - classpath 'com.bmuschko:gradle-nexus-plugin:2.2' - classpath 'com.github.lkishalmi.gradle:gradle-bom-plugin:0.3' - - } + repositories { + jcenter() + maven { + url 'https://github.com/serkan-ozal/maven-repository/raw/master/' + url "https://oss.sonatype.org/content/repositories/snapshots" + } + + } + dependencies { + classpath 'com.bmuschko:gradle-nexus-plugin:2.2' + classpath 'com.github.lkishalmi.gradle:gradle-bom-plugin:0.3' + + } } +subprojects { + apply plugin: 'java' + apply plugin: 'groovy' -task wrapper(type: Wrapper) { - gradleVersion = '2.3' -} + if (project.name != "micro-tutorial") { + apply plugin: 'com.bmuschko.nexus' + } -subprojects { + sourceCompatibility = 1.8 + targetCompatibility = 1.8 + jar { + manifest { + attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version + } + } + repositories { + mavenCentral() + maven { url "http://repo.maven.apache.org/maven2" } + jcenter() + } - apply plugin:'java' - apply plugin:'groovy' -// apply plugin: 'com.github.johnrengelman.shadow' - if(project.name != "micro-tutorial") { - apply plugin: 'com.bmuschko.nexus' - } - sourceCompatibility = 1.8 - targetCompatibility = 1.8 + dependencies { - jar { - manifest { - attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version - } - } + compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.16.18' + testCompile group: 'junit', name: 'junit', version: '4.12' + testCompile group: 'org.mockito', name: 'mockito-core', version: '1.9.5' + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion + testCompileOnly group: 'org.projectlombok', name: 'lombok', version: '1.16.18' - repositories { - mavenCentral() - maven { url "http://repo.maven.apache.org/maven2" } - jcenter() - } + } - dependencies { - + test { + systemProperties 'property': 'value' - testCompile group: 'junit', name: 'junit', version:'4.12' - testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.5' - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion - + testLogging { + events "started", "passed", "skipped", "failed" + } + } - compile(group: 'org.projectlombok', name: 'lombok', version:'1.16.2') { - /* This dependency was originally in the Maven provided scope, but the project was not of type war. - This behavior is not yet supported by Gradle, so this dependency has been converted to a compile dependency. - Please review and delete this closure when resolved. */ - } - } - - test { - systemProperties 'property': 'value' - - testLogging { - events "started","passed", "skipped", "failed"//, "standardOut", "standardError" - } - } +} +task wrapper(type: Wrapper) { + gradleVersion = '2.14.1' } diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 000000000..ed88a042a Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 71848d1eb..994ef2076 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Mon May 08 11:28:18 IST 2017 +#Sat Oct 21 00:10:43 EDT 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip diff --git a/gradlew b/gradlew new file mode 100755 index 000000000..cccdd3d51 --- /dev/null +++ b/gradlew @@ -0,0 +1,172 @@ +#!/usr/bin/env sh + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# 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\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS="" + +# 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 +nonstop=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; + NONSTOP* ) + nonstop=true + ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-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" -a "$nonstop" = "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 maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +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"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # 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 [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_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 + +# Escape application args +save () { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " +} +APP_ARGS=$(save "$@") + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong +if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then + cd "$(dirname "$0")" +fi + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat index aec99730b..e95643d6a 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -8,14 +8,14 @@ @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 GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= - set DIRNAME=%~dp0 if "%DIRNAME%" == "" set DIRNAME=. set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + @rem Find java.exe if defined JAVA_HOME goto findJavaFromJavaHome @@ -46,10 +46,9 @@ echo location of your Java installation. goto fail :init -@rem Get command-line arguments, handling Windowz variants +@rem Get command-line arguments, handling Windows 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. @@ -60,11 +59,6 @@ set _SKIP=2 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 Setup the command line diff --git a/licence.txt b/licence.txt deleted file mode 100644 index 5b1e02eaf..000000000 --- a/licence.txt +++ /dev/null @@ -1,13 +0,0 @@ -Copyright 2015 AOL - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/micro-application-register/readme.md b/micro-application-register/README.md similarity index 100% rename from micro-application-register/readme.md rename to micro-application-register/README.md diff --git a/micro-application-register/build.gradle b/micro-application-register/build.gradle index f6f78869b..7c57c502d 100644 --- a/micro-application-register/build.gradle +++ b/micro-application-register/build.gradle @@ -1,60 +1,59 @@ description = 'micro-application-register' + dependencies { - - compile 'commons-io:commons-io:'+commonsIOVersion - compile project(':micro-core') - compile project(':micro-client') - compile project(':micro-ip-tracker') - testCompile project(':micro-grizzly-with-jersey') - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion + compile 'commons-io:commons-io:' + commonsIOVersion + compile project(':micro-core') + compile project(':micro-client') + compile project(':micro-ip-tracker') + testCompile project(':micro-grizzly-with-jersey') + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion } modifyPom { - project { - name 'Microserver application register' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-application-register' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - } - - } + project { + name 'Microserver application register' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-application-register' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-async-data-loader/readme.md b/micro-async-data-loader/README.md similarity index 100% rename from micro-async-data-loader/readme.md rename to micro-async-data-loader/README.md diff --git a/micro-async-data-loader/build.gradle b/micro-async-data-loader/build.gradle index 487e00646..ee4f84f0d 100644 --- a/micro-async-data-loader/build.gradle +++ b/micro-async-data-loader/build.gradle @@ -1,74 +1,75 @@ description = 'micro-async-data-loader' + repositories { - - maven { url "https://jitpack.io" } + maven { url "https://jitpack.io" } } dependencies { - compile ("com.oath.cyclops:cyclops:$cyclopsVersion") - compile project(':micro-events') - compile project(':micro-manifest-comparator') - testCompile project(':micro-grizzly-with-jersey') - testCompile project(':micro-couchbase') - testCompile 'com.github.johnmcclean-aol:couchbasemock:master' + compile("com.oath.cyclops:cyclops:$cyclopsVersion") + compile project(':micro-events') + compile project(':micro-manifest-comparator') + testCompile project(':micro-grizzly-with-jersey') + testCompile project(':micro-couchbase') + testCompile 'com.github.johnmcclean-aol:couchbasemock:master' } modifyPom { - project { - name 'Microserver async data loading' - description 'Plugin for loading data asyncrhonously via a micro-manifest-comparator implementation' - url 'https://github.com/aol/micro-server' - inceptionYear '2016' - groupId 'com.aol.microservices' - artifactId 'micro-async-data-loader' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + project { + name 'Microserver async data loading' + description 'Plugin for loading data asyncrhonously via a micro-manifest-comparator implementation' + url 'https://github.com/aol/micro-server' + inceptionYear '2016' + + groupId 'com.aol.microservices' + artifactId 'micro-async-data-loader' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-async-data-writer/readme.md b/micro-async-data-writer/README.md similarity index 100% rename from micro-async-data-writer/readme.md rename to micro-async-data-writer/README.md diff --git a/micro-async-data-writer/build.gradle b/micro-async-data-writer/build.gradle index c69c7c9a7..87bc6bb18 100644 --- a/micro-async-data-writer/build.gradle +++ b/micro-async-data-writer/build.gradle @@ -1,74 +1,74 @@ description = 'micro-async-data-writer' + repositories { - - maven { url "https://jitpack.io" } + maven { url "https://jitpack.io" } } dependencies { - compile ("com.oath.cyclops:cyclops:$cyclopsVersion") - compile project(':micro-events') - compile project(':micro-manifest-comparator') - testCompile project(':micro-grizzly-with-jersey') - testCompile project(':micro-couchbase') - testCompile 'com.github.johnmcclean-aol:couchbasemock:master' + compile("com.oath.cyclops:cyclops:$cyclopsVersion") + compile project(':micro-events') + compile project(':micro-manifest-comparator') + testCompile project(':micro-grizzly-with-jersey') + testCompile project(':micro-couchbase') + testCompile 'com.github.johnmcclean-aol:couchbasemock:master' } modifyPom { - project { - name 'Microserver async data writing' - description 'Plugin for writing and cleaning data asyncrhonously via a micro-manifest-comparator implementation' - url 'https://github.com/aol/micro-server' - inceptionYear '2016' + project { + name 'Microserver async data writing' + description 'Plugin for writing and cleaning data asyncrhonously via a micro-manifest-comparator implementation' + url 'https://github.com/aol/micro-server' + inceptionYear '2016' + + groupId 'com.aol.microservices' + artifactId 'micro-async-data-writer' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-async-data-writer' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-boot/readme.md b/micro-boot/README.md similarity index 100% rename from micro-boot/readme.md rename to micro-boot/README.md diff --git a/micro-boot/build.gradle b/micro-boot/build.gradle index c78c0009e..f0ffd8942 100644 --- a/micro-boot/build.gradle +++ b/micro-boot/build.gradle @@ -1,67 +1,64 @@ description = 'micro-boot' -dependencies { - - - compile 'org.springframework.boot:spring-boot:'+springBootVersion - compile 'org.springframework.boot:spring-boot-autoconfigure:'+springBootVersion - compile project(':micro-core') - testCompile group: 'com.google.guava', name: 'guava', version:guavaVersion - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion - testCompile project(':micro-jackson-configuration') - testCompile project(':micro-grizzly') - testCompile project(':micro-swagger') - testCompile project(':micro-client') - testCompile project(':micro-events') - testCompile project(':micro-jersey') - testCompile project(':micro-metrics') - +dependencies { + compile 'org.springframework.boot:spring-boot:' + springBootVersion + compile 'org.springframework.boot:spring-boot-autoconfigure:' + springBootVersion + compile project(':micro-core') + testCompile group: 'com.google.guava', name: 'guava', version: guavaVersion + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion + testCompile project(':micro-jackson-configuration') + testCompile project(':micro-grizzly') + testCompile project(':micro-swagger') + testCompile project(':micro-client') + testCompile project(':micro-events') + testCompile project(':micro-jersey') + testCompile project(':micro-metrics') } modifyPom { - project { - name 'Microserver-boot' - description 'Opinionated rest microservices with Spring Boot' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver-boot' + description 'Opinionated rest microservices with Spring Boot' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-boot' + version "$version" - groupId 'com.aol.microservices' - artifactId 'micro-boot' - version "$version" - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-client/readme.md b/micro-client/README.md similarity index 100% rename from micro-client/readme.md rename to micro-client/README.md diff --git a/micro-client/build.gradle b/micro-client/build.gradle index c083cc2d5..bd39f38ac 100644 --- a/micro-client/build.gradle +++ b/micro-client/build.gradle @@ -1,67 +1,64 @@ description = 'micro-client' + dependencies { - - - compile group: 'org.glassfish.jersey.core', name: 'jersey-client', version:"$jerseyVersion" - compile group: 'org.apache.httpcomponents', name:'httpclient', version:apacheHttpClientVersion - compile group: 'org.apache.httpcomponents', name:'httpasyncclient', version:apacheHttpClientVersionAsync - - compile project(':micro-core') - compile project(':micro-jackson-configuration') - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion - testCompile group: 'com.google.guava', name: 'guava', version:guavaVersion - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') - testCompile project(':micro-events') - + compile group: 'org.glassfish.jersey.core', name: 'jersey-client', version: "$jerseyVersion" + compile group: 'org.apache.httpcomponents', name: 'httpclient', version: apacheHttpClientVersion + compile group: 'org.apache.httpcomponents', name: 'httpasyncclient', version: apacheHttpClientVersionAsync + compile project(':micro-core') + compile project(':micro-jackson-configuration') + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion + testCompile group: 'com.google.guava', name: 'guava', version: guavaVersion + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') + testCompile project(':micro-events') } modifyPom { - project { - name 'Microserver client' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver client' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-client' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-client' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-core/readme.md b/micro-core/README.md similarity index 100% rename from micro-core/readme.md rename to micro-core/README.md diff --git a/micro-core/build.gradle b/micro-core/build.gradle index c1f4b907a..73d44e19d 100644 --- a/micro-core/build.gradle +++ b/micro-core/build.gradle @@ -1,91 +1,90 @@ description = 'micro-core' + dependencies { - compile 'javax.servlet:javax.servlet-api:3.1.0' - - compile ("com.oath.cyclops:cyclops:$cyclopsVersion") - compile group: 'org.aspectj', name: 'aspectjrt', version:aspectJVersion - compile group: 'org.aspectj', name: 'aspectjweaver', version:aspectJVersion - - - compile group: 'org.springframework', name: 'spring-web', version:"${springVersion}" - compile group: 'org.springframework', name: 'spring-context', version:"${springVersion}" - compile group: 'org.springframework', name: 'spring-context-support', version:"${springVersion}" - compile group: 'ch.qos.logback', name: 'logback-classic', version:logbackVersion - compile group: 'ch.qos.logback', name: 'logback-core', version:logbackVersion - compile group: 'org.slf4j', name: 'jcl-over-slf4j', version:slf4jVersion - - - compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version:"$jacksonVersion" - compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version:"$jacksonVersion" - compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version:"$jacksonVersion" - compile group: 'com.fasterxml.jackson.jaxrs', name: 'jackson-jaxrs-json-provider', version:"$jacksonVersion" - compile group: 'com.fasterxml.jackson.jaxrs', name: 'jackson-jaxrs-base', version:"$jacksonVersion" - - compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-jaxb-annotations', version:"$jacksonVersion" - - compile group: 'javax.ws.rs', name: 'javax.ws.rs-api', version:'2.0' - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion - + compile 'javax.servlet:javax.servlet-api:3.1.0' + + compile("com.oath.cyclops:cyclops:$cyclopsVersion") + compile group: 'org.aspectj', name: 'aspectjrt', version: aspectJVersion + compile group: 'org.aspectj', name: 'aspectjweaver', version: aspectJVersion + + + compile group: 'org.springframework', name: 'spring-web', version: "${springVersion}" + compile group: 'org.springframework', name: 'spring-context', version: "${springVersion}" + compile group: 'org.springframework', name: 'spring-context-support', version: "${springVersion}" + compile group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion + compile group: 'ch.qos.logback', name: 'logback-core', version: logbackVersion + compile group: 'org.slf4j', name: 'jcl-over-slf4j', version: slf4jVersion + + + compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jdk8', version: "$jacksonVersion" + compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: "$jacksonVersion" + compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: "$jacksonVersion" + compile group: 'com.fasterxml.jackson.jaxrs', name: 'jackson-jaxrs-json-provider', version: "$jacksonVersion" + compile group: 'com.fasterxml.jackson.jaxrs', name: 'jackson-jaxrs-base', version: "$jacksonVersion" + + compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-jaxb-annotations', version: "$jacksonVersion" + compile group: 'javax.ws.rs', name: 'javax.ws.rs-api', version: '2.0' + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion } modifyPom { - project { - name 'Microserver' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-core' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com ' - } - } - - } + project { + name 'Microserver' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-core' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com ' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-cors/readme.md b/micro-cors/README.md similarity index 100% rename from micro-cors/readme.md rename to micro-cors/README.md diff --git a/micro-cors/build.gradle b/micro-cors/build.gradle index 7ae831560..c0689c6a1 100644 --- a/micro-cors/build.gradle +++ b/micro-cors/build.gradle @@ -1,61 +1,58 @@ description = 'micro-cors' -dependencies { - - compile project(':micro-core') - compile 'org.ebaysf.web:cors-filter:'+ebayCORSVersion - testCompile project(':micro-grizzly-with-jersey') - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion - - +dependencies { + compile project(':micro-core') + compile 'org.ebaysf.web:cors-filter:' + ebayCORSVersion + testCompile project(':micro-grizzly-with-jersey') + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion } modifyPom { - project { - name 'Microserver cors' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-cors' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'marcocast' - name 'Marco Castigliego' - email 'marcocast@gmail.com' - } - } - - } + project { + name 'Microserver cors' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-cors' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'marcocast' + name 'Marco Castigliego' + email 'marcocast@gmail.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-couchbase/readme.md b/micro-couchbase/README.md similarity index 100% rename from micro-couchbase/readme.md rename to micro-couchbase/README.md diff --git a/micro-couchbase/build.gradle b/micro-couchbase/build.gradle index 34f3b0326..d29ff2455 100644 --- a/micro-couchbase/build.gradle +++ b/micro-couchbase/build.gradle @@ -1,95 +1,98 @@ +description = 'micro-couchbase' + apply plugin: 'groovy' apply plugin: 'java' + repositories { - - maven { url "https://jitpack.io" } + maven { url "https://jitpack.io" } } -description = 'micro-couchbase' dependencies { - compile group: 'com.couchbase.client', name: 'couchbase-client', version:'1.4.8' - compile project(':micro-manifest-comparator') - compile project(':micro-core') - compile project(':micro-guava') - testCompile group: 'org.codehaus.groovy', name: 'groovy-all', version:'2.3.3' - testCompile(group: 'org.spockframework', name: 'spock-core', version:'0.7-groovy-2.0') { exclude(module: 'groovy-all') } - testCompile group: 'com.cyrusinnovation', name: 'mockito-groovy-support', version:'1.3' - testCompile 'cglib:cglib-nodep:2.2' - testCompile 'com.github.johnmcclean-aol:couchbasemock:master' - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion - testCompile project(':micro-grizzly-with-jersey') + compile group: 'com.couchbase.client', name: 'couchbase-client', version: '1.4.8' + compile project(':micro-manifest-comparator') + compile project(':micro-core') + compile project(':micro-guava') + testCompile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.3.3' + testCompile(group: 'org.spockframework', name: 'spock-core', version: '0.7-groovy-2.0') { + exclude(module: 'groovy-all') + } + testCompile group: 'com.cyrusinnovation', name: 'mockito-groovy-support', version: '1.3' + testCompile 'cglib:cglib-nodep:2.2' + testCompile 'com.github.johnmcclean-aol:couchbasemock:master' + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion + testCompile project(':micro-grizzly-with-jersey') } sourceSets { - main { - java { srcDirs = ['src/main/java']} - resources { srcDir 'src/main/resources' } - } - - test { - java { srcDirs = []} - groovy { srcDirs = ['src/test/java'] } - resources { srcDir 'src/test/resources' } - } - + main { + java { srcDirs = ['src/main/java'] } + resources { srcDir 'src/main/resources' } + } + + test { + java { srcDirs = [] } + groovy { srcDirs = ['src/test/java'] } + resources { srcDir 'src/test/resources' } + } + } modifyPom { - project { - name 'Microserver couchbase' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-couchbase' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'pbujko' - name 'Przemyslaw Bujko' - email 'przemyslaw.bujko@teamaol.com' - } - } - - } + project { + name 'Microserver couchbase' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-couchbase' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'pbujko' + name 'Przemyslaw Bujko' + email 'przemyslaw.bujko@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-curator/readme.md b/micro-curator/README.md similarity index 100% rename from micro-curator/readme.md rename to micro-curator/README.md diff --git a/micro-curator/build.gradle b/micro-curator/build.gradle index 5088e9610..ebd86d3a6 100644 --- a/micro-curator/build.gradle +++ b/micro-curator/build.gradle @@ -1,83 +1,84 @@ description = 'micro-curator' + sourceSets { - integTest { - java { - compileClasspath += main.output + test.output - runtimeClasspath += main.output + test.output - srcDir file('src/integration/java') - } - resources.srcDir file('src/integration/resources') + integTest { + java { + compileClasspath += main.output + test.output + runtimeClasspath += main.output + test.output + srcDir file('src/integration/java') } + resources.srcDir file('src/integration/resources') + } } task integTest(type: Test) { - testClassesDir = sourceSets.integTest.output.classesDir - classpath = sourceSets.integTest.runtimeClasspath + testClassesDir = sourceSets.integTest.output.classesDir + classpath = sourceSets.integTest.runtimeClasspath } check.dependsOn integTest integTest.dependsOn test dependencies { - compile 'org.apache.curator:curator-framework:' + curatorVersion - compile 'org.apache.curator:curator-recipes:' + curatorVersion - compile project(':micro-dist-lock') - - testCompile 'commons-io:commons-io:'+commonsIOVersion - testCompile project(':micro-grizzly-with-jersey') - integTestCompile sourceSets.main.output - integTestCompile sourceSets.test.output - - integTestCompile configurations.testCompile - integTestRuntime configurations.testRuntime + compile 'org.apache.curator:curator-framework:' + curatorVersion + compile 'org.apache.curator:curator-recipes:' + curatorVersion + compile project(':micro-dist-lock') + + testCompile 'commons-io:commons-io:' + commonsIOVersion + testCompile project(':micro-grizzly-with-jersey') + integTestCompile sourceSets.main.output + integTestCompile sourceSets.test.output + + integTestCompile configurations.testCompile + integTestRuntime configurations.testRuntime } modifyPom { - project { - name 'Microserver curator integration' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-curator' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - - } + project { + name 'Microserver curator integration' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-curator' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-dbcp/readme.md b/micro-dbcp/README.md similarity index 100% rename from micro-dbcp/readme.md rename to micro-dbcp/README.md diff --git a/micro-dbcp/build.gradle b/micro-dbcp/build.gradle index 8bbd8c105..4984ee4f3 100644 --- a/micro-dbcp/build.gradle +++ b/micro-dbcp/build.gradle @@ -1,72 +1,71 @@ description = 'micro-dbcp' + dependencies { - - compile 'org.apache.commons:commons-dbcp2:'+dbcp2Version - compile project(':micro-core') - compile project(':micro-jdbc') - - testCompile project(':micro-client') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') - testCompile group: 'org.hsqldb', name:'hsqldb', version:'2.0.0' + compile 'org.apache.commons:commons-dbcp2:' + dbcp2Version + compile project(':micro-core') + compile project(':micro-jdbc') + testCompile project(':micro-client') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') + testCompile group: 'org.hsqldb', name: 'hsqldb', version: '2.0.0' } modifyPom { - project { - name 'Microserver dbcp' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver dbcp' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-dbcp' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-dbcp' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-dist-lock/readme.md b/micro-dist-lock/README.md similarity index 100% rename from micro-dist-lock/readme.md rename to micro-dist-lock/README.md diff --git a/micro-dist-lock/build.gradle b/micro-dist-lock/build.gradle index 0504a1773..d990e3417 100644 --- a/micro-dist-lock/build.gradle +++ b/micro-dist-lock/build.gradle @@ -1,68 +1,68 @@ description = 'micro-dist-lock' + dependencies { - compile project(':micro-core') - - testCompile project(':micro-client') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') + compile project(':micro-core') + testCompile project(':micro-client') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') } modifyPom { - project { - name 'Microserver distributed lock' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver distributed lock' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-dist-lock' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-dist-lock' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-elasticache/readme.md b/micro-elasticache/README.md similarity index 100% rename from micro-elasticache/readme.md rename to micro-elasticache/README.md diff --git a/micro-elasticache/build.gradle b/micro-elasticache/build.gradle index 565bb2089..3100eb096 100644 --- a/micro-elasticache/build.gradle +++ b/micro-elasticache/build.gradle @@ -1,86 +1,90 @@ +description = 'micro-elasticache' + apply plugin: 'groovy' apply plugin: 'java' + repositories {} -description = 'micro-elasticache' dependencies { - compile group: 'com.amazonaws', name: 'aws-java-sdk-elasticache', version: '1.11.126' - compile group: 'net.spy', name: 'spymemcached', version: '2.12.3' - compile project(':micro-core') - compile project(':micro-guava') - testCompile group: 'org.codehaus.groovy', name: 'groovy-all', version:'2.3.3' - testCompile(group: 'org.spockframework', name: 'spock-core', version:'0.7-groovy-2.0') { exclude(module: 'groovy-all') } - testCompile group: 'com.cyrusinnovation', name: 'mockito-groovy-support', version:'1.3' - testCompile 'cglib:cglib-nodep:2.2' - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion - testCompile project(':micro-grizzly-with-jersey') + compile group: 'com.amazonaws', name: 'aws-java-sdk-elasticache', version: '1.11.126' + compile group: 'net.spy', name: 'spymemcached', version: '2.12.3' + compile project(':micro-core') + compile project(':micro-guava') + testCompile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.3.3' + testCompile(group: 'org.spockframework', name: 'spock-core', version: '0.7-groovy-2.0') { + exclude(module: 'groovy-all') + } + testCompile group: 'com.cyrusinnovation', name: 'mockito-groovy-support', version: '1.3' + testCompile 'cglib:cglib-nodep:2.2' + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion + testCompile project(':micro-grizzly-with-jersey') } sourceSets { - main { - java { srcDirs = ['src/main/java']} - resources { srcDir 'src/main/resources' } - } - - test { - java { srcDirs = []} - groovy { srcDirs = ['src/test/java'] } - resources { srcDir 'src/test/resources' } - } - + main { + java { srcDirs = ['src/main/java'] } + resources { srcDir 'src/main/resources' } + } + + test { + java { srcDirs = [] } + groovy { srcDirs = ['src/test/java'] } + resources { srcDir 'src/test/resources' } + } + } modifyPom { - project { - name 'Microserver elasticache' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-elasticache' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'morrowgi' - name 'Gordon Morrow' - email 'gordon.morrow@teamaol.com' - } - } - - } + project { + name 'Microserver elasticache' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-elasticache' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'morrowgi' + name 'Gordon Morrow' + email 'gordon.morrow@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-error-codes/readme.md b/micro-error-codes/README.md similarity index 100% rename from micro-error-codes/readme.md rename to micro-error-codes/README.md diff --git a/micro-error-codes/build.gradle b/micro-error-codes/build.gradle index 79ea37bfa..f0c5bfb36 100644 --- a/micro-error-codes/build.gradle +++ b/micro-error-codes/build.gradle @@ -1,69 +1,67 @@ description = 'micro-error-codes' dependencies { - - compile project(':micro-events') - testCompile project(':micro-grizzly-with-jersey') - testCompile project(':micro-application-register') - + compile project(':micro-events') + testCompile project(':micro-grizzly-with-jersey') + testCompile project(':micro-application-register') } modifyPom { - project { - name 'Microserver error handling' - description 'Plugin for handling errors in a standardized way' - url 'https://github.com/aol/micro-server' - inceptionYear '2016' + project { + name 'Microserver error handling' + description 'Plugin for handling errors in a standardized way' + url 'https://github.com/aol/micro-server' + inceptionYear '2016' - groupId 'com.aol.microservices' - artifactId 'micro-error-codes' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + groupId 'com.aol.microservices' + artifactId 'micro-error-codes' + version "$version" - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - - } + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-error-codes/gradle/wrapper/gradle-wrapper.properties b/micro-error-codes/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 0e9f37f4c..000000000 --- a/micro-error-codes/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Thu Jul 07 00:19:56 IST 2016 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-bin.zip diff --git a/micro-event-metrics/readme.md b/micro-event-metrics/README.md similarity index 100% rename from micro-event-metrics/readme.md rename to micro-event-metrics/README.md diff --git a/micro-event-metrics/build.gradle b/micro-event-metrics/build.gradle index 58eb23aed..becb1e0a8 100644 --- a/micro-event-metrics/build.gradle +++ b/micro-event-metrics/build.gradle @@ -1,59 +1,60 @@ description = 'micro-event-metrics' + dependencies { - compile project(':micro-events') - compile project(':micro-metrics') - compile project(':micro-error-codes') - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') + compile project(':micro-events') + compile project(':micro-metrics') + compile project(':micro-error-codes') + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') } modifyPom { - project { - name 'Microserver event metrics' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2016' - - groupId 'com.aol.microservices' - artifactId 'micro-event-metrics' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - } - - } + project { + name 'Microserver event metrics' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2016' + + groupId 'com.aol.microservices' + artifactId 'micro-event-metrics' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-events/readme.md b/micro-events/README.md similarity index 100% rename from micro-events/readme.md rename to micro-events/README.md diff --git a/micro-events/build.gradle b/micro-events/build.gradle index 49fb8c4ab..29b97346f 100644 --- a/micro-events/build.gradle +++ b/micro-events/build.gradle @@ -1,58 +1,59 @@ description = 'micro-events' + dependencies { - compile project(':micro-core') - compile project(':micro-guava') - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') + compile project(':micro-core') + compile project(':micro-guava') + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') } modifyPom { - project { - name 'Microserver events' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-events' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - } - - } + project { + name 'Microserver events' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-events' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-general-exception-mapper/readme.md b/micro-general-exception-mapper/README.md similarity index 100% rename from micro-general-exception-mapper/readme.md rename to micro-general-exception-mapper/README.md diff --git a/micro-general-exception-mapper/build.gradle b/micro-general-exception-mapper/build.gradle index a286b2fed..240fef986 100644 --- a/micro-general-exception-mapper/build.gradle +++ b/micro-general-exception-mapper/build.gradle @@ -1,68 +1,64 @@ description = 'micro-general-exception-mapper' -dependencies { - - compile project(':micro-jersey') - compile project(':micro-jackson-configuration') - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion - testCompile project(':micro-grizzly-with-jersey') - - testCompile group: 'org.glassfish.jersey.core', name: 'jersey-client', version:"$jerseyVersion" - - +dependencies { + compile project(':micro-jersey') + compile project(':micro-jackson-configuration') + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion + testCompile project(':micro-grizzly-with-jersey') + testCompile group: 'org.glassfish.jersey.core', name: 'jersey-client', version: "$jerseyVersion" } modifyPom { - project { - name 'Microserver Jersey general exception mapper' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver Jersey general exception mapper' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-general-exception-mapper' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-general-exception-mapper' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-grizzly-with-jersey/readme.md b/micro-grizzly-with-jersey/README.md similarity index 100% rename from micro-grizzly-with-jersey/readme.md rename to micro-grizzly-with-jersey/README.md diff --git a/micro-grizzly-with-jersey/build.gradle b/micro-grizzly-with-jersey/build.gradle index 667e9d86d..726b088d1 100644 --- a/micro-grizzly-with-jersey/build.gradle +++ b/micro-grizzly-with-jersey/build.gradle @@ -1,67 +1,64 @@ description = 'micro-grizzly-with-jersey' -dependencies { - - compile project(':micro-core') - compile project(':micro-grizzly') - compile project(':micro-jersey') - compile project(':micro-jackson-configuration') - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion - - +dependencies { + compile project(':micro-core') + compile project(':micro-grizzly') + compile project(':micro-jersey') + compile project(':micro-jackson-configuration') + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion } modifyPom { - project { - name 'Microserver Grizzly With Jersey' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver Grizzly With Jersey' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-grizzly-with-jersey' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-grizzly-with-jersey' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-grizzly/readme.md b/micro-grizzly/README.md similarity index 100% rename from micro-grizzly/readme.md rename to micro-grizzly/README.md diff --git a/micro-grizzly/build.gradle b/micro-grizzly/build.gradle index 38657397d..26683cd21 100644 --- a/micro-grizzly/build.gradle +++ b/micro-grizzly/build.gradle @@ -1,68 +1,65 @@ description = 'micro-grizzly' -dependencies { - compile group: 'org.glassfish.grizzly', name: 'grizzly-http-server', version:"$grizzlyVersion" - compile group: 'org.glassfish.grizzly', name: 'grizzly-http-all', version:"$grizzlyVersion" - - - compile project(':micro-core') - testCompile project(':micro-jersey') - testCompile project(':micro-jackson-configuration') - testCompile 'commons-io:commons-io:'+commonsIOVersion - +dependencies { + compile group: 'org.glassfish.grizzly', name: 'grizzly-http-server', version: "$grizzlyVersion" + compile group: 'org.glassfish.grizzly', name: 'grizzly-http-all', version: "$grizzlyVersion" + compile project(':micro-core') + testCompile project(':micro-jersey') + testCompile project(':micro-jackson-configuration') + testCompile 'commons-io:commons-io:' + commonsIOVersion } modifyPom { - project { - name 'Microserver Grizzly' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver Grizzly' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-grizzly' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-grizzly' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-guava/readme.md b/micro-guava/README.md similarity index 100% rename from micro-guava/readme.md rename to micro-guava/README.md diff --git a/micro-guava/build.gradle b/micro-guava/build.gradle index 28094849c..c8c8b1500 100644 --- a/micro-guava/build.gradle +++ b/micro-guava/build.gradle @@ -1,61 +1,61 @@ description = 'micro-guava' dependencies { - //compile 'com.aol.cyclops:cyclops-guava:'+cyclopsVersion - compile 'com.fasterxml.jackson.datatype:jackson-datatype-guava:'+guavaDatatypeVersion - compile project(':micro-core') - compile project(':micro-jackson-configuration') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') - - + //compile 'com.aol.cyclops:cyclops-guava:'+cyclopsVersion + compile 'com.fasterxml.jackson.datatype:jackson-datatype-guava:' + guavaDatatypeVersion + compile project(':micro-core') + compile project(':micro-jackson-configuration') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') + + } modifyPom { - project { - name 'Microserver guava' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-guava' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - } - - } + project { + name 'Microserver guava' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-guava' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-hibernate/readme.md b/micro-hibernate/README.md similarity index 100% rename from micro-hibernate/readme.md rename to micro-hibernate/README.md diff --git a/micro-hibernate/build.gradle b/micro-hibernate/build.gradle index ba680dff1..baad32c14 100644 --- a/micro-hibernate/build.gradle +++ b/micro-hibernate/build.gradle @@ -1,79 +1,80 @@ description = 'micro-hibernate' + dependencies { - - compile ('org.hibernate:hibernate-validator:'+hibernateValidator) { - exclude group: 'org.jboss.logging' - } - compile 'javax.transaction:jta:'+jtaVersion - compile (group: 'org.hibernate', name: 'hibernate-core', version:hibernateVersion) - compile group: 'org.hibernate', name: 'hibernate-entitymanager', version:hibernateVersion - compile group: 'org.springframework', name: 'spring-orm', version:"${springVersion}" - - compile project(':micro-jdbc') - testCompile project(':micro-jackson-configuration') - testCompile project(':micro-client') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') - testCompile project(':micro-hikaricp') - testCompile group: 'org.hsqldb', name:'hsqldb', version:'2.0.0' + + compile('org.hibernate:hibernate-validator:' + hibernateValidator) { + exclude group: 'org.jboss.logging' + } + compile 'javax.transaction:jta:' + jtaVersion + compile(group: 'org.hibernate', name: 'hibernate-core', version: hibernateVersion) + compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: hibernateVersion + compile group: 'org.springframework', name: 'spring-orm', version: "${springVersion}" + + compile project(':micro-jdbc') + testCompile project(':micro-jackson-configuration') + testCompile project(':micro-client') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') + testCompile project(':micro-hikaricp') + testCompile group: 'org.hsqldb', name: 'hsqldb', version: '2.0.0' } modifyPom { - project { - name 'Microserver hibernate' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver hibernate' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-hibernate' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-hibernate' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-hikaricp/readme.md b/micro-hikaricp/README.md similarity index 100% rename from micro-hikaricp/readme.md rename to micro-hikaricp/README.md diff --git a/micro-hikaricp/build.gradle b/micro-hikaricp/build.gradle index 868314565..c5a31a7f4 100644 --- a/micro-hikaricp/build.gradle +++ b/micro-hikaricp/build.gradle @@ -1,72 +1,71 @@ description = 'micro-hikaricp' + dependencies { - - compile 'com.zaxxer:HikariCP:'+hikariCPVersion - compile project(':micro-core') - compile project(':micro-jdbc') - - testCompile project(':micro-client') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') - testCompile group: 'org.hsqldb', name:'hsqldb', version:'2.0.0' + compile 'com.zaxxer:HikariCP:' + hikariCPVersion + compile project(':micro-core') + compile project(':micro-jdbc') + testCompile project(':micro-client') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') + testCompile group: 'org.hsqldb', name: 'hsqldb', version: '2.0.0' } modifyPom { - project { - name 'Microserver hikaricp' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver hikaricp' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-hikaricp' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-hikaricp' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-ip-tracker/readme.md b/micro-ip-tracker/README.md similarity index 100% rename from micro-ip-tracker/readme.md rename to micro-ip-tracker/README.md diff --git a/micro-ip-tracker/build.gradle b/micro-ip-tracker/build.gradle index 1145369de..1e547df9b 100644 --- a/micro-ip-tracker/build.gradle +++ b/micro-ip-tracker/build.gradle @@ -1,58 +1,58 @@ description = 'micro-ip-tracker' + dependencies { - - compile project(':micro-core') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') - testCompile project(':micro-jackson-configuration') + compile project(':micro-core') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') + testCompile project(':micro-jackson-configuration') } modifyPom { - project { - name 'Microserver ip tracker' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-ip-tracker' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - } - - } + project { + name 'Microserver ip tracker' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-ip-tracker' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-jackson-configuration/readme.md b/micro-jackson-configuration/README.md similarity index 100% rename from micro-jackson-configuration/readme.md rename to micro-jackson-configuration/README.md diff --git a/micro-jackson-configuration/build.gradle b/micro-jackson-configuration/build.gradle index e654033e4..732d22101 100644 --- a/micro-jackson-configuration/build.gradle +++ b/micro-jackson-configuration/build.gradle @@ -1,57 +1,56 @@ description = 'micro-jackson-configuration' + dependencies { - // compile 'com.fasterxml.jackson.datatype:jackson-datatype-pcollections'+pcollectionsDatatypeVersion - compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-pcollections', version: '2.8.4' - compile project(':micro-core') - + compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-pcollections', version: '2.8.4' + compile project(':micro-core') } modifyPom { - project { - name 'Microserver Jackson Configuration' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-jackson-configuration' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - } - - } + project { + name 'Microserver Jackson Configuration' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-jackson-configuration' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-jdbc/readme.md b/micro-jdbc/README.md similarity index 100% rename from micro-jdbc/readme.md rename to micro-jdbc/README.md diff --git a/micro-jdbc/build.gradle b/micro-jdbc/build.gradle index 33fafe1a4..e488e341e 100644 --- a/micro-jdbc/build.gradle +++ b/micro-jdbc/build.gradle @@ -1,72 +1,71 @@ description = 'micro-jdbc' -dependencies { - compile 'org.springframework.data:spring-data-jpa:'+springDataJPA - compile group: 'org.springframework', name: 'spring-jdbc', version:"${springVersion}" - - compile project(':micro-core') - testCompile project(':micro-client') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') - testCompile group: 'org.hsqldb', name:'hsqldb', version:'2.0.0' +dependencies { + compile 'org.springframework.data:spring-data-jpa:' + springDataJPA + compile group: 'org.springframework', name: 'spring-jdbc', version: "${springVersion}" + compile project(':micro-core') + testCompile project(':micro-client') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') + testCompile group: 'org.hsqldb', name: 'hsqldb', version: '2.0.0' } modifyPom { - project { - name 'Microserver jdbc' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver jdbc' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-jdbc' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-jdbc' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-jersey/readme.md b/micro-jersey/README.md similarity index 100% rename from micro-jersey/readme.md rename to micro-jersey/README.md diff --git a/micro-jersey/build.gradle b/micro-jersey/build.gradle index 936315311..1a5569466 100644 --- a/micro-jersey/build.gradle +++ b/micro-jersey/build.gradle @@ -1,79 +1,75 @@ description = 'micro-grizzly' + dependencies { - - compile project(':micro-core') - - - compile group: 'org.glassfish.jersey.core', name: 'jersey-server', version:"$jerseyVersion" - compile(group: 'org.glassfish.jersey.media', name: 'jersey-media-json-jackson', version:"$jerseyVersion") { - exclude(module: 'jackson-xc') - exclude(module: 'jackson-core-asl') - exclude(module: 'jackson-jaxrs') - exclude(module: 'jackson-mapper-asl') - } - compile group: 'org.glassfish.jersey.containers', name: 'jersey-container-servlet', version:"$jerseyVersion" - - compile "org.glassfish.jersey.media:jersey-media-multipart:$jerseyVersion" - compile "org.glassfish.jersey.ext:jersey-spring3:$jerseyVersion" - compile "org.glassfish.jersey.ext:jersey-bean-validation:$jerseyVersion" - testCompile group: 'org.glassfish.jersey.core', name: 'jersey-client', version:"$jerseyVersion" - testCompile project(':micro-jackson-configuration') - + compile project(':micro-core') + compile group: 'org.glassfish.jersey.core', name: 'jersey-server', version: "$jerseyVersion" + compile(group: 'org.glassfish.jersey.media', name: 'jersey-media-json-jackson', version: "$jerseyVersion") { + exclude(module: 'jackson-xc') + exclude(module: 'jackson-core-asl') + exclude(module: 'jackson-jaxrs') + exclude(module: 'jackson-mapper-asl') + } + compile group: 'org.glassfish.jersey.containers', name: 'jersey-container-servlet', version: "$jerseyVersion" + + compile "org.glassfish.jersey.media:jersey-media-multipart:$jerseyVersion" + compile "org.glassfish.jersey.ext:jersey-spring3:$jerseyVersion" + compile "org.glassfish.jersey.ext:jersey-bean-validation:$jerseyVersion" + testCompile group: 'org.glassfish.jersey.core', name: 'jersey-client', version: "$jerseyVersion" + testCompile project(':micro-jackson-configuration') } modifyPom { - project { - name 'Microserver Jersey' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver Jersey' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-jersey' + version "$version" + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-jersey' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-jmx-metrics/readme.md b/micro-jmx-metrics/README.md similarity index 100% rename from micro-jmx-metrics/readme.md rename to micro-jmx-metrics/README.md diff --git a/micro-jmx-metrics/build.gradle b/micro-jmx-metrics/build.gradle index e60658d0a..9ee293b84 100644 --- a/micro-jmx-metrics/build.gradle +++ b/micro-jmx-metrics/build.gradle @@ -2,64 +2,63 @@ description = 'micro-jmx-metrics' dependencies { + compile('com.ryantenney.metrics:metrics-spring:' + springMetricsVersion) { + exclude(module: 'org.springframework') + exclude(group: 'io.dropwizard.metrics', module: 'metrics-core') + } - compile ('com.ryantenney.metrics:metrics-spring:'+springMetricsVersion){ - exclude(module: 'org.springframework') - exclude(group: 'io.dropwizard.metrics', module: 'metrics-core') - } - - compile("io.dropwizard.metrics:metrics-core:3.2.2") + compile("io.dropwizard.metrics:metrics-core:3.2.2") - compile ("com.oath.cyclops:cyclops:$cyclopsVersion") - compile project(':micro-core') + compile("com.oath.cyclops:cyclops:$cyclopsVersion") + compile project(':micro-core') - testCompile project(':micro-grizzly-with-jersey') + testCompile project(':micro-grizzly-with-jersey') } modifyPom { - project { - name 'Microserver jmx metrics' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2016' + project { + name 'Microserver jmx metrics' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2016' - groupId 'com.aol.microservices' - artifactId 'micro-jmx-metrics' - version "$version" + groupId 'com.aol.microservices' + artifactId 'micro-jmx-metrics' + version "$version" - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - developers { - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } + developers { + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-log-streamer/readme.md b/micro-log-streamer/README.md similarity index 100% rename from micro-log-streamer/readme.md rename to micro-log-streamer/README.md diff --git a/micro-log-streamer/build.gradle b/micro-log-streamer/build.gradle index bdc7cad21..03a6ada31 100644 --- a/micro-log-streamer/build.gradle +++ b/micro-log-streamer/build.gradle @@ -1,59 +1,60 @@ description = 'micro-log-streamer' + dependencies { - compile project(':micro-reactive') - compile 'commons-io:commons-io:'+commonsIOVersion - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') - testCompile project(':micro-jackson-configuration') + compile project(':micro-reactive') + compile 'commons-io:commons-io:' + commonsIOVersion + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') + testCompile project(':micro-jackson-configuration') } modifyPom { - project { - name 'Microserver log streamer' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2016' - - groupId 'com.aol.microservices' - artifactId 'micro-log-streamer' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - } - - } + project { + name 'Microserver log streamer' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2016' + + groupId 'com.aol.microservices' + artifactId 'micro-log-streamer' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-log4j/readme.md b/micro-log4j/README.md similarity index 100% rename from micro-log4j/readme.md rename to micro-log4j/README.md diff --git a/micro-log4j/build.gradle b/micro-log4j/build.gradle index 9e8c12bb7..8b725c2ff 100644 --- a/micro-log4j/build.gradle +++ b/micro-log4j/build.gradle @@ -1,72 +1,73 @@ description = 'micro-log4j' -dependencies { - compile project(':micro-core') - compile ('log4j:log4j:' + log4jVersion) { - exclude(group: 'com.sun.jmx', module: 'jmxri') - exclude(group: 'javax.jms', module: 'jms') - exclude(group: 'com.sun.jdmk', module: 'jmxtools') - } - - testCompile project(':micro-client') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') + +dependencies { + compile project(':micro-core') + compile('log4j:log4j:' + log4jVersion) { + exclude(group: 'com.sun.jmx', module: 'jmxri') + exclude(group: 'javax.jms', module: 'jms') + exclude(group: 'com.sun.jdmk', module: 'jmxtools') + } + + testCompile project(':micro-client') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') } modifyPom { - project { - name 'Microserver log4j' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver log4j' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-log4j' + version "$version" + - groupId 'com.aol.microservices' - artifactId 'micro-log4j' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-logback/readme.md b/micro-logback/README.md similarity index 100% rename from micro-logback/readme.md rename to micro-logback/README.md diff --git a/micro-logback/build.gradle b/micro-logback/build.gradle index f60e1513e..1d37015a1 100644 --- a/micro-logback/build.gradle +++ b/micro-logback/build.gradle @@ -1,67 +1,67 @@ description = 'micro-logback' -dependencies { - compile project(':micro-core') - - testCompile project(':micro-client') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') + +dependencies { + compile project(':micro-core') + testCompile project(':micro-client') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') } modifyPom { - project { - name 'Microserver logback' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver logback' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-logback' + version "$version" + - groupId 'com.aol.microservices' - artifactId 'micro-logback' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-machine-stats/readme.md b/micro-machine-stats/README.md similarity index 100% rename from micro-machine-stats/readme.md rename to micro-machine-stats/README.md diff --git a/micro-machine-stats/build.gradle b/micro-machine-stats/build.gradle index 90669fedb..62867d29a 100644 --- a/micro-machine-stats/build.gradle +++ b/micro-machine-stats/build.gradle @@ -1,64 +1,61 @@ description = 'micro-machine-stats' -dependencies { - compile 'io.kamon:sigar-loader:1.6.6-rev002' - compile group: 'org.fusesource', name: 'sigar', version:'1.6.4' - compile group: 'org.fusesource', name: 'sigar', version:'1.6.4', classifier:'native' - compile project(':micro-core') - - testCompile project(':micro-grizzly-with-jersey') - +dependencies { + compile 'io.kamon:sigar-loader:1.6.6-rev002' + compile group: 'org.fusesource', name: 'sigar', version: '1.6.4' + compile group: 'org.fusesource', name: 'sigar', version: '1.6.4', classifier: 'native' + compile project(':micro-core') + testCompile project(':micro-grizzly-with-jersey') } - modifyPom { - project { - name 'Microserver machine stats' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-machine-stats' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - - } - - } + project { + name 'Microserver machine stats' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-machine-stats' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-manifest-comparator/readme.md b/micro-manifest-comparator/README.md similarity index 100% rename from micro-manifest-comparator/readme.md rename to micro-manifest-comparator/README.md diff --git a/micro-manifest-comparator/build.gradle b/micro-manifest-comparator/build.gradle index 85f92a04f..743531083 100644 --- a/micro-manifest-comparator/build.gradle +++ b/micro-manifest-comparator/build.gradle @@ -1,80 +1,79 @@ description = 'micro-manifest-comparator' -dependencies { - compile project(':micro-jackson-configuration') - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version:hamcrestVersion - +dependencies { + compile project(':micro-jackson-configuration') + testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion } sourceSets { - main { - java { srcDirs = ['src/main/java']} - resources { srcDir 'src/main/resources' } - } + main { + java { srcDirs = ['src/main/java'] } + resources { srcDir 'src/main/resources' } + } + + test { + java { srcDirs = [] } + resources { srcDir 'src/test/resources' } + } - test { - java { srcDirs = []} - resources { srcDir 'src/test/resources' } - } - } modifyPom { - project { - name 'Microserver Manifest Comparator' - description 'Pattern for loading cached data for BASE microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2016' + project { + name 'Microserver Manifest Comparator' + description 'Pattern for loading cached data for BASE microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2016' + + groupId 'com.aol.microservices' + artifactId 'micro-manifest-comparator' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-manifest-comparator' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'pbujko' + name 'Przemyslaw Bujko' + email 'przemyslaw.bujko@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'pbujko' - name 'Przemyslaw Bujko' - email 'przemyslaw.bujko@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-metrics-datadog/readme.md b/micro-metrics-datadog/README.md similarity index 100% rename from micro-metrics-datadog/readme.md rename to micro-metrics-datadog/README.md diff --git a/micro-metrics-datadog/build.gradle b/micro-metrics-datadog/build.gradle index d4e20e238..4f7e27032 100644 --- a/micro-metrics-datadog/build.gradle +++ b/micro-metrics-datadog/build.gradle @@ -1,61 +1,61 @@ description = 'micro-metrics-datadog' + dependencies { - compile ('org.coursera:metrics-datadog:'+datadogMetricsVersion) - compile project(':micro-metrics') - compile project(':micro-event-metrics') - testCompile project(':micro-jackson-configuration') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') - testCompile project(':micro-error-codes') + compile('org.coursera:metrics-datadog:' + datadogMetricsVersion) + compile project(':micro-metrics') + compile project(':micro-event-metrics') + testCompile project(':micro-jackson-configuration') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') + testCompile project(':micro-error-codes') } modifyPom { - project { - name 'Microserver metrics' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-metrics-datadog' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'arunbcodes ' - name 'Arun Balakrishnan' - email 'arun.balakrishnan@teamaol.com' - } - } + project { + name 'Microserver metrics' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-metrics-datadog' + version "$version" + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } } + + developers { + developer { + id 'arunbcodes ' + name 'Arun Balakrishnan' + email 'arun.balakrishnan@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-metrics/readme.md b/micro-metrics/README.md similarity index 100% rename from micro-metrics/readme.md rename to micro-metrics/README.md diff --git a/micro-metrics/build.gradle b/micro-metrics/build.gradle index f02225eb8..a0c1d3893 100644 --- a/micro-metrics/build.gradle +++ b/micro-metrics/build.gradle @@ -1,64 +1,65 @@ description = 'micro-metrics' + dependencies { - compile('com.ryantenney.metrics:metrics-spring:' + springMetricsVersion) { - exclude(module: 'org.springframework') - exclude(group: 'io.dropwizard.metrics', module: 'metrics-core') - } + compile('com.ryantenney.metrics:metrics-spring:' + springMetricsVersion) { + exclude(module: 'org.springframework') + exclude(group: 'io.dropwizard.metrics', module: 'metrics-core') + } - compile("io.dropwizard.metrics:metrics-core:3.2.3") + compile("io.dropwizard.metrics:metrics-core:3.2.3") - compile project(':micro-core') - testCompile project(':micro-jackson-configuration') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') + compile project(':micro-core') + testCompile project(':micro-jackson-configuration') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') } modifyPom { - project { - name 'Microserver metrics' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver metrics' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-metrics' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-metrics' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-mysql/readme.md b/micro-mysql/README.md similarity index 100% rename from micro-mysql/readme.md rename to micro-mysql/README.md diff --git a/micro-mysql/build.gradle b/micro-mysql/build.gradle index 36f03a5a3..4c6b9f915 100644 --- a/micro-mysql/build.gradle +++ b/micro-mysql/build.gradle @@ -1,59 +1,59 @@ description = 'micro-mysql' + dependencies { - compile group: 'org.springframework', name: 'spring-jdbc', version:"${springVersion}" - compile 'com.zaxxer:HikariCP:'+hikariCPVersion - compile project(':micro-dist-lock') - testCompile project(':micro-grizzly-with-jersey') - testCompile group: 'org.hsqldb', name:'hsqldb', version:'2.0.0' - + compile group: 'org.springframework', name: 'spring-jdbc', version: "${springVersion}" + compile 'com.zaxxer:HikariCP:' + hikariCPVersion + compile project(':micro-dist-lock') + testCompile project(':micro-grizzly-with-jersey') + testCompile group: 'org.hsqldb', name: 'hsqldb', version: '2.0.0' + } modifyPom { - project { - name 'Microserver mysql' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-mysql' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'Arkadiusz-Gasior' - name 'Arkadiusz Gasior' - email 'arkadiusz.gasior@teamaol.com' - } - } - - } + project { + name 'Microserver mysql' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-mysql' + version "$version" + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'Arkadiusz-Gasior' + name 'Arkadiusz Gasior' + email 'arkadiusz.gasior@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-reactive/readme.md b/micro-reactive/README.md similarity index 100% rename from micro-reactive/readme.md rename to micro-reactive/README.md diff --git a/micro-reactive/build.gradle b/micro-reactive/build.gradle index 0eedaba7c..b26ade6a3 100644 --- a/micro-reactive/build.gradle +++ b/micro-reactive/build.gradle @@ -1,61 +1,60 @@ description = 'micro-reactive' + dependencies { - - - compile project(':micro-core') - compile project(':micro-client') - compile project(':micro-events') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') - testCompile project(':micro-jackson-configuration') + compile project(':micro-core') + compile project(':micro-client') + compile project(':micro-events') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') + testCompile project(':micro-jackson-configuration') } modifyPom { - project { - name 'Microserver reactive' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-reactive' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - } - - } + project { + name 'Microserver reactive' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-reactive' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-s3/readme.md b/micro-s3/README.md similarity index 100% rename from micro-s3/readme.md rename to micro-s3/README.md diff --git a/micro-s3/build.gradle b/micro-s3/build.gradle index c147dca1d..8ec884735 100644 --- a/micro-s3/build.gradle +++ b/micro-s3/build.gradle @@ -1,75 +1,75 @@ description = 'micro-s3' dependencies { - compile ("com.oath.cyclops:cyclops:$cyclopsVersion") - compile 'com.amazonaws:aws-java-sdk:' + s3Version - compile project(':micro-core') - compile project(':micro-manifest-comparator') - testCompile group: 'org.springframework', name: 'spring-test', version: springVersion - testCompile group: 'io.dropwizard.metrics', name: 'metrics-core', version: '3.1.0' - testCompile group: 'org.coursera', name: 'dropwizard-metrics-datadog', version: '1.1.6' - testCompile group: 'com.github.cbismuth', name: 'junit-repeat-rule', version: '1.1.0' - - compile 'commons-io:commons-io:'+commonsIOVersion - testCompile project(':micro-grizzly-with-jersey') + compile("com.oath.cyclops:cyclops:$cyclopsVersion") + compile 'com.amazonaws:aws-java-sdk:' + s3Version + compile project(':micro-core') + compile project(':micro-manifest-comparator') + testCompile group: 'org.springframework', name: 'spring-test', version: springVersion + testCompile group: 'io.dropwizard.metrics', name: 'metrics-core', version: '3.1.0' + testCompile group: 'org.coursera', name: 'dropwizard-metrics-datadog', version: '1.1.6' + testCompile group: 'com.github.cbismuth', name: 'junit-repeat-rule', version: '1.1.0' + + compile 'commons-io:commons-io:' + commonsIOVersion + testCompile project(':micro-grizzly-with-jersey') } modifyPom { - project { - name 'Microserver s3 integration' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver s3 integration' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-s3' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-s3' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-slack/build.gradle b/micro-slack/build.gradle index 56a601e33..1f4df4e23 100644 --- a/micro-slack/build.gradle +++ b/micro-slack/build.gradle @@ -1,53 +1,53 @@ description = 'micro-slack' dependencies { - compile project(':micro-grizzly-with-jersey') - compile project(':micro-general-exception-mapper') - - testCompile group: 'junit', name: 'junit', version:'4.10' - testCompile 'org.springframework.boot:spring-boot-starter-test:1.1.5.RELEASE' - testCompile 'com.jayway.restassured:rest-assured:2.8.0' + compile project(':micro-grizzly-with-jersey') + compile project(':micro-general-exception-mapper') + + testCompile group: 'junit', name: 'junit', version: '4.10' + testCompile 'org.springframework.boot:spring-boot-starter-test:1.1.5.RELEASE' + testCompile 'com.jayway.restassured:rest-assured:2.8.0' } modifyPom { - project { - name 'Microserver micro-slack' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-slack' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'davidartplus' - name 'David Guzman' - email 'david.guzman@teamaol.com' - } - } + project { + name 'Microserver micro-slack' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-slack' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } } -} \ No newline at end of file + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'davidartplus' + name 'David Guzman' + email 'david.guzman@teamaol.com' + } + } + + } +} diff --git a/micro-spring-boot/readme.md b/micro-spring-boot/README.md similarity index 100% rename from micro-spring-boot/readme.md rename to micro-spring-boot/README.md diff --git a/micro-spring-boot/build.gradle b/micro-spring-boot/build.gradle index ef29dc2ed..9bfbf170b 100644 --- a/micro-spring-boot/build.gradle +++ b/micro-spring-boot/build.gradle @@ -1,99 +1,94 @@ description = 'micro-spring-boot' -dependencies { - - - compile 'org.springframework.boot:spring-boot:'+springBootVersion - compile 'org.springframework.boot:spring-boot-autoconfigure:'+springBootVersion - compile project(':micro-core') - compile group: 'org.glassfish.jersey.core', name: 'jersey-server', version:"$jerseyVersion" - compile(group: 'org.glassfish.jersey.media', name: 'jersey-media-json-jackson', version:"$jerseyVersion") { - exclude(module: 'jackson-xc') - exclude(module: 'jackson-core-asl') - exclude(module: 'jackson-jaxrs') - exclude(module: 'jackson-mapper-asl') - } - compile group: 'org.glassfish.jersey.containers', name: 'jersey-container-servlet', version:"$jerseyVersion" - - compile "org.glassfish.jersey.media:jersey-media-multipart:$jerseyVersion" - compile "org.glassfish.jersey.ext:jersey-spring3:$jerseyVersion" - compile "org.glassfish.jersey.ext:jersey-bean-validation:$jerseyVersion" - compile project(':micro-jackson-configuration') - testCompile 'org.springframework.boot:spring-boot-starter-test:'+springBootVersion - testCompile group: 'org.glassfish.jersey.core', name: 'jersey-client', version:"$jerseyVersion" - - - - testCompile 'org.apache.tomcat.embed:tomcat-embed-core:'+tomcatVersion - testCompile 'org.apache.tomcat.embed:tomcat-embed-logging-juli:'+tomcatVersion +dependencies { + compile 'org.springframework.boot:spring-boot:' + springBootVersion + compile 'org.springframework.boot:spring-boot-autoconfigure:' + springBootVersion + compile project(':micro-core') + compile group: 'org.glassfish.jersey.core', name: 'jersey-server', version: "$jerseyVersion" + compile(group: 'org.glassfish.jersey.media', name: 'jersey-media-json-jackson', version: "$jerseyVersion") { + exclude(module: 'jackson-xc') + exclude(module: 'jackson-core-asl') + exclude(module: 'jackson-jaxrs') + exclude(module: 'jackson-mapper-asl') + } + compile group: 'org.glassfish.jersey.containers', name: 'jersey-container-servlet', version: "$jerseyVersion" - testCompile project(':micro-cors') - testCompile project(':micro-swagger') - testCompile project(':micro-client') - testCompile project(':micro-events') - testCompile project(':micro-metrics') + compile "org.glassfish.jersey.media:jersey-media-multipart:$jerseyVersion" + compile "org.glassfish.jersey.ext:jersey-spring3:$jerseyVersion" + compile "org.glassfish.jersey.ext:jersey-bean-validation:$jerseyVersion" + compile project(':micro-jackson-configuration') + testCompile 'org.springframework.boot:spring-boot-starter-test:' + springBootVersion + testCompile group: 'org.glassfish.jersey.core', name: 'jersey-client', version: "$jerseyVersion" + testCompile 'org.apache.tomcat.embed:tomcat-embed-core:' + tomcatVersion + testCompile 'org.apache.tomcat.embed:tomcat-embed-logging-juli:' + tomcatVersion + testCompile project(':micro-cors') + testCompile project(':micro-swagger') + testCompile project(':micro-client') + testCompile project(':micro-events') + testCompile project(':micro-metrics') } + test { - forkEvery = 1 + forkEvery = 1 } modifyPom { - project { - name 'Microserver-spring-boot' - description 'Opinionated rest microservices with Spring Boot' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver-spring-boot' + description 'Opinionated rest microservices with Spring Boot' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-spring-boot' + version "$version" + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-spring-boot' - version "$version" - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - - } - } + } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-swagger/readme.md b/micro-swagger/README.md similarity index 100% rename from micro-swagger/readme.md rename to micro-swagger/README.md diff --git a/micro-swagger/build.gradle b/micro-swagger/build.gradle index bff2308b1..87c9b4c86 100644 --- a/micro-swagger/build.gradle +++ b/micro-swagger/build.gradle @@ -1,58 +1,59 @@ description = 'micro-swagger' + dependencies { - compile group: 'com.wordnik', name: 'swagger-jersey2-jaxrs_2.10', version:'1.3.10' - compile project(':micro-core') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') - testCompile project(':micro-jackson-configuration') + compile group: 'com.wordnik', name: 'swagger-jersey2-jaxrs_2.10', version: '1.3.10' + compile project(':micro-core') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') + testCompile project(':micro-jackson-configuration') } modifyPom { - project { - name 'Microserver : swagger' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-swagger' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - } - - } + project { + name 'Microserver : swagger' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-swagger' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-tomcat-with-jersey/readme.md b/micro-tomcat-with-jersey/README.md similarity index 100% rename from micro-tomcat-with-jersey/readme.md rename to micro-tomcat-with-jersey/README.md diff --git a/micro-tomcat-with-jersey/build.gradle b/micro-tomcat-with-jersey/build.gradle index 6cd4a4f6d..5809b6bf8 100644 --- a/micro-tomcat-with-jersey/build.gradle +++ b/micro-tomcat-with-jersey/build.gradle @@ -1,62 +1,61 @@ description = 'micro-tomcat-with-jersey' -dependencies { - compile project(':micro-core') - compile project(':micro-tomcat') - compile project(':micro-jersey') - compile project(':micro-jackson-configuration') - - +dependencies { + compile project(':micro-core') + compile project(':micro-tomcat') + compile project(':micro-jersey') + compile project(':micro-jackson-configuration') } modifyPom { - project { - name 'Microserver Tomcat With Jersey' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-tomcat-with-jersey' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - - } - - } + + project { + name 'Microserver Tomcat With Jersey' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-tomcat-with-jersey' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-tomcat/readme.md b/micro-tomcat/README.md similarity index 100% rename from micro-tomcat/readme.md rename to micro-tomcat/README.md diff --git a/micro-tomcat/build.gradle b/micro-tomcat/build.gradle index b0bbebb51..bedfc3bda 100644 --- a/micro-tomcat/build.gradle +++ b/micro-tomcat/build.gradle @@ -1,64 +1,58 @@ description = 'micro-tomcat' -dependencies { - compile 'org.apache.tomcat.embed:tomcat-embed-core:'+tomcatVersion - compile 'org.apache.tomcat.embed:tomcat-embed-logging-juli:'+tomcatVersion - - - compile project(':micro-core') - testCompile project(':micro-jersey') - testCompile project(':micro-jackson-configuration') - - - +dependencies { + compile project(':micro-core') + compile 'org.apache.tomcat.embed:tomcat-embed-core:' + tomcatVersion + compile 'org.apache.tomcat.embed:tomcat-embed-logging-juli:' + tomcatVersion + testCompile project(':micro-jersey') + testCompile project(':micro-jackson-configuration') } modifyPom { - project { - name 'Microserver Tomcat' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' - - groupId 'com.aol.microservices' - artifactId 'micro-tomcat' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } - - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } - - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - } - - } + project { + name 'Microserver Tomcat' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-tomcat' + version "$version" + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + } + + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-transactions/readme.md b/micro-transactions/README.md similarity index 100% rename from micro-transactions/readme.md rename to micro-transactions/README.md diff --git a/micro-transactions/build.gradle b/micro-transactions/build.gradle index 3054b0369..08f9f5455 100644 --- a/micro-transactions/build.gradle +++ b/micro-transactions/build.gradle @@ -1,73 +1,73 @@ description = 'micro-transactions' dependencies { - compile ('org.hibernate:hibernate-validator:'+hibernateValidator) { - exclude group: 'org.jboss.logging' - } - compile project(':micro-hibernate') - - testCompile project(':micro-client') - testCompile project(':micro-grizzly') - testCompile project(':micro-jersey') - testCompile project(':micro-hikaricp') - testCompile group: 'org.hsqldb', name:'hsqldb', version:'2.0.0' + compile('org.hibernate:hibernate-validator:' + hibernateValidator) { + exclude group: 'org.jboss.logging' + } + compile project(':micro-hibernate') + + testCompile project(':micro-client') + testCompile project(':micro-grizzly') + testCompile project(':micro-jersey') + testCompile project(':micro-hikaricp') + testCompile group: 'org.hsqldb', name: 'hsqldb', version: '2.0.0' } modifyPom { - project { - name 'Microserver transactions' - description 'Opinionated rest microservices' - url 'https://github.com/aol/micro-server' - inceptionYear '2015' + project { + name 'Microserver transactions' + description 'Opinionated rest microservices' + url 'https://github.com/aol/micro-server' + inceptionYear '2015' + + groupId 'com.aol.microservices' + artifactId 'micro-transactions' + version "$version" + + + scm { + url 'scm:git@github.com:aol/micro-server.git' + connection 'scm:git@github.com:aol/micro-server.git' + developerConnection 'scm:git@github.com:aol/micro-server.git' + } - groupId 'com.aol.microservices' - artifactId 'micro-transactions' - version "$version" - - - scm { - url 'scm:git@github.com:aol/micro-server.git' - connection 'scm:git@github.com:aol/micro-server.git' - developerConnection 'scm:git@github.com:aol/micro-server.git' - } + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - distribution 'repo' - } - } + developers { + developer { + id 'johnmcclean-aol' + name 'John McClean' + email 'john.mcclean@teamaol.com' + } + developer { + id 'kewangie' + name 'Ke Wang' + email 'ke.wang@teamaol.com' + } + developer { + id 'earlzero' + name 'Nikita Sapozhnikov' + email 'nikita.sapozhnikov@teamaol.com' + } + } - developers { - developer { - id 'johnmcclean-aol' - name 'John McClean' - email 'john.mcclean@teamaol.com' - } - developer { - id 'kewangie' - name 'Ke Wang' - email 'ke.wang@teamaol.com' - } - developer { - id 'earlzero' - name 'Nikita Sapozhnikov' - email 'nikita.sapozhnikov@teamaol.com' - } - } - - } + } } extraArchive { - sources = true - tests = true - javadoc = true + sources = true + tests = true + javadoc = true } nexus { - sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' } diff --git a/micro-tutorial/build.gradle b/micro-tutorial/build.gradle index 931f96660..073760691 100644 --- a/micro-tutorial/build.gradle +++ b/micro-tutorial/build.gradle @@ -1,13 +1,13 @@ description = 'micro-tutorial' + dependencies { - compile project(':micro-hibernate') - compile project(':micro-swagger') - compile project(':micro-metrics') - compile project(':micro-guava') - compile project(':micro-events') - compile project(':micro-client') - compile project(':micro-ip-tracker') - compile project(':micro-grizzly') - compile project(':micro-jersey') - + compile project(':micro-hibernate') + compile project(':micro-swagger') + compile project(':micro-metrics') + compile project(':micro-guava') + compile project(':micro-events') + compile project(':micro-client') + compile project(':micro-ip-tracker') + compile project(':micro-grizzly') + compile project(':micro-jersey') }