diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..da8569b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,35 @@
+*.toDelete
+output/**
+*.class
+*~
+*.iml
+*/.idea/**
+.idea/**
+.idea
+*.log
+*.log.[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]
+*/.classpath
+.classpath
+*/.project
+.project
+.cache/**
+target/
+build/
+tmp_deb_control/
+tmp_rpm_control/
+tmp_sh/
+.gwt/
+.settings/
+/bin
+bin/
+**/dependency-reduced-pom.xml
+pom.xml.versionsBackup
+.DS_Store
+**/.gradle
+**/local.properties
+**/build
+**/target
+**/Californium.properties
+**/.env
+.instance_id
+rebuild-docker.sh
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f635da5
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,12 @@
+before_install:
+ - sudo rm -f /etc/mavenrc
+ - export M2_HOME=/usr/local/maven
+ - export MAVEN_OPTS="-Dmaven.repo.local=$HOME/.m2/repository -Xms1024m -Xmx3072m"
+ - export HTTP_LOG_CONTROLLER_ERROR_STACK_TRACE=false
+jdk:
+ - openjdk8
+language: java
+sudo: required
+services:
+ - docker
+script: mvn clean verify -Ddockerfile.skip=false
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..c8f142f
--- /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 2016 The Thingsboard Authors
+
+ 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
new file mode 100644
index 0000000..1fe6b6c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,43 @@
+# ThingsBoard
+[![Join the chat at https://gitter.im/thingsboard/chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/thingsboard/chat?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+[![Build Status](https://travis-ci.org/thingsboard/thingsboard.svg?branch=master)](https://travis-ci.org/thingsboard/thingsboard)
+[![ThingsBoard Builds Server Status](https://img.shields.io/teamcity/build/e/ThingsBoard_Build?label=TB%20builds%20server&server=https%3A%2F%2Fbuilds.thingsboard.io&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAALzAAAC8wHS6QoqAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAB9FJREFUeJzVm3+MXUUVx7+zWwqEtnRLWisQ2lKVUisIQmsqYCohpUhpEGsFKSJJTS0qGiGIISJ/8CNGYzSaEKBQEZUiP7RgVbCVdpE0xYKBWgI2rFLZJZQWtFKobPfjH3Pfdu7s3Pvmzntv3/JNNr3bOXPO+Z6ZO3PumVmjFgEYJWmWpDmSZks6VtIESV3Zv29LWmGMubdVPgw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8lsm7bRJxt8N0cAPdar5FUupYU9X03B2C782wknVUi+0nneacxZk9rXBpGABO8RXA72demJ7fcWyvubIe/TQN2y11MuJ6wA5v3z8HeMbjba+8n5StwJCDb9lYUEI/Fde3mEQ1svnBKRvp32K/LEPYQd1z3XQJfsG3/Sw/gKElLZev8tb8rnizpBEmF1SDZ06ZbJN0saa+kayQtV77qi6QnJF1njFnXdOebAcIXssvQB3yfcGrcCZwEnAfMC8mMKGArNUVT28VubF4/nyZflx8Jr8BVkr4tm83tzn5ek/S8pM2SnpT0gv8H283C/wGTFfhGtexQwQAAAABJRU5ErkJggg==&labelColor=305680)](https://builds.thingsboard.io/viewType.html?buildTypeId=ThingsBoard_Build&guest=1)
+
+ThingsBoard is an open-source IoT platform for data collection, processing, visualization, and device management.
+
+
+
+## Documentation
+
+ThingsBoard documentation is hosted on [thingsboard.io](https://thingsboard.io/docs).
+
+## IoT use cases
+
+[**Smart metering**](https://thingsboard.io/smart-metering/)
+[![Smart metering](https://user-images.githubusercontent.com/8308069/31455788-6888a948-aec1-11e7-9819-410e0ba785e0.gif "Smart metering")](https://thingsboard.io/smart-metering/)
+
+[**IoT Rule Engine**](https://thingsboard.io/docs/user-guide/rule-engine-2-0/re-getting-started/)
+[![IoT Rule Engine](https://thingsboard.io/images/demo/send-email-rule-chain.gif "IoT Rule Engine")](https://thingsboard.io/docs/user-guide/rule-engine-2-0/re-getting-started/)
+
+[**Smart energy**](https://thingsboard.io/smart-energy/)
+[![Smart energy](https://cloud.githubusercontent.com/assets/8308069/24495682/aebd45d0-153e-11e7-8de4-7360ed5b41ae.gif "Smart energy")](https://thingsboard.io/smart-energy/)
+
+[**Smart farming**](https://thingsboard.io/smart-farming/)
+[![Smart farming](https://cloud.githubusercontent.com/assets/8308069/24496824/10dc1144-1542-11e7-8aa1-5d3a281d5a1a.gif "Smart farming")](https://thingsboard.io/smart-farming/)
+
+[**Fleet tracking**](https://thingsboard.io/fleet-tracking/)
+[![Fleet tracking](https://cloud.githubusercontent.com/assets/8308069/24497169/3a1a61e0-1543-11e7-8d55-3c8a13f35634.gif "Fleet tracking")](https://thingsboard.io/fleet-tracking/)
+
+## Getting Started
+
+Collect and Visualize your IoT data in minutes by following this [guide](https://thingsboard.io/docs/getting-started-guides/helloworld/).
+
+## Support
+
+ - [Community chat](https://gitter.im/thingsboard/chat)
+ - [Q&A forum](https://groups.google.com/forum/#!forum/thingsboard)
+ - [Stackoverflow](http://stackoverflow.com/questions/tagged/thingsboard)
+
+## Licenses
+
+This project is released under [Apache 2.0 License](./LICENSE).
diff --git a/license-header-template.txt b/license-header-template.txt
new file mode 100644
index 0000000..b11b96b
--- /dev/null
+++ b/license-header-template.txt
@@ -0,0 +1,13 @@
+Copyright © ${project.inceptionYear}-2020 ${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/pom.xml b/pom.xml
new file mode 100644
index 0000000..5805cd5
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,1391 @@
+
+
+ 4.0.0
+ org.thingsboard
+ thingsboard
+ 3.0.1-SNAPSHOT
+ pom
+
+ Thingsboard
+ https://thingsboard.io
+ 2016
+
+
+ ${basedir}
+ true
+ none
+ none
+ thingsboard
+ ${project.name}
+ /var/log/${pkg.name}
+ /usr/share/${pkg.name}
+ 2.2.6.RELEASE
+ 2.1.2.RELEASE
+ 5.2.6.RELEASE
+ 5.2.3.RELEASE
+ 2.2.4.RELEASE
+ 3.1.0
+ 0.7.0
+ 2.2.0
+ 4.12
+ 1.7.7
+ 1.2.3
+ 1.9.5
+ 0.10
+ 4.6.0
+ 4.0.5
+ 4.3.1.0
+ 1.2.7
+ 28.2-jre
+ 2.6.1
+ 3.4
+ 1.6
+ 2.5
+ 1.4
+ 2.10.2
+ 2.10.2
+ 2.10.2
+ 2.2.6
+ 1.0.2
+ 2.6.2
+ 2.3.30
+ 1.6.2
+ 4.2.0
+ 3.5.5
+ 3.11.4
+ 1.22.1
+ 1.16.18
+ 1.2.4
+ 4.1.49.Final
+ 1.5.0
+ 4.8.0
+ 2.19.1
+ 3.0.2
+ 2.6.1
+ 1.0.0
+ 0.7
+ 1.15.0
+ 1.64
+ 2.0.1
+ 2.5.0
+ 2.5.3
+ 1.2.1
+ 9.4.1212
+ org/thingsboard/server/gen/**/*,
+ org/thingsboard/server/extensions/core/plugin/telemetry/gen/**/*
+
+ 5.0.2
+ 0.1.14
+ 2.3.0
+ 4.1.1
+ 2.57
+ 2.7.7
+ 1.25
+ 1.11.747
+ 1.105.0
+ 3.2.0
+ 1.5.0
+ 1.4.3
+ 1.9.4
+ 3.2.2
+
+
+
+ netty-mqtt
+ common
+ rule-engine
+ dao
+ transport
+ ui-ngx
+ tools
+ application
+ msa
+ rest-client
+
+
+
+
+ default
+
+ true
+
+
+
+
+
+ download-dependencies
+
+ true
+ true
+
+
+
+
+ packaging
+
+ true
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+
+
+ copy-conf
+ ${pkg.process-resources.phase}
+
+ copy-resources
+
+
+ ${project.build.directory}/conf
+
+
+ src/main/resources
+
+ logback.xml
+
+ false
+
+
+
+
+
+ copy-service-conf
+ ${pkg.process-resources.phase}
+
+ copy-resources
+
+
+ ${project.build.directory}/conf
+
+
+ src/main/conf
+ true
+
+
+
+ ${main.dir}/packaging/${pkg.type}/filters/unix.properties
+
+
+
+
+ copy-linux-conf
+ ${pkg.process-resources.phase}
+
+ copy-resources
+
+
+ ${pkg.linux.dist}/conf
+
+
+ config
+ true
+
+
+
+ ${main.dir}/packaging/${pkg.type}/filters/unix.properties
+
+
+
+
+ copy-linux-init
+ ${pkg.process-resources.phase}
+
+ copy-resources
+
+
+ ${pkg.linux.dist}/init
+
+
+ ${main.dir}/packaging/${pkg.type}/scripts/init
+ true
+
+
+
+ ${main.dir}/packaging/${pkg.type}/filters/unix.properties
+
+
+
+
+ copy-win-conf
+ ${pkg.process-resources.phase}
+
+ copy-resources
+
+
+ ${pkg.win.dist}/conf
+
+
+ src/main/resources
+
+ logback.xml
+
+ false
+
+
+ src/main/conf
+
+ ${pkg.name}.conf
+
+ true
+
+
+
+ ${main.dir}/packaging/${pkg.type}/filters/windows.properties
+
+
+
+
+ copy-control
+ ${pkg.process-resources.phase}
+
+ copy-resources
+
+
+ ${project.build.directory}/control
+
+
+ ${main.dir}/packaging/${pkg.type}/scripts/control
+ true
+
+
+
+ ${main.dir}/packaging/${pkg.type}/filters/unix.properties
+
+
+
+
+ copy-install
+ ${pkg.process-resources.phase}
+
+ copy-resources
+
+
+ ${project.build.directory}/bin/install
+
+
+ ${main.dir}/packaging/${pkg.type}/scripts/install
+
+ **/*.sh
+ **/*.xml
+
+ true
+
+
+
+ ${main.dir}/packaging/${pkg.type}/filters/unix.properties
+
+
+
+
+ copy-windows-control
+ ${pkg.process-resources.phase}
+
+ copy-resources
+
+
+ ${pkg.win.dist}
+
+
+ ${main.dir}/packaging/${pkg.type}/scripts/windows
+ true
+
+
+
+ ${main.dir}/packaging/${pkg.type}/filters/windows.properties
+
+
+
+
+ copy-windows-install
+ ${pkg.process-resources.phase}
+
+ copy-resources
+
+
+ ${pkg.win.dist}/install
+
+
+ ${main.dir}/packaging/${pkg.type}/scripts/install
+
+ logback.xml
+
+ true
+
+
+
+ ${main.dir}/packaging/${pkg.type}/filters/windows.properties
+
+
+
+
+ copy-data
+ ${pkg.process-resources.phase}
+
+ copy-resources
+
+
+ ${project.build.directory}/data
+
+
+ src/main/data
+
+
+ ../dao/src/main/resources
+
+ **/*.cql
+ **/*.sql
+
+ false
+
+
+
+
+
+ copy-docker-config
+ ${pkg.process-resources.phase}
+
+ copy-resources
+
+
+ ${project.build.directory}
+
+
+ docker
+ true
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+
+
+ copy-winsw-service
+ ${pkg.package.phase}
+
+ copy
+
+
+
+
+ com.sun.winsw
+ winsw
+ bin
+ exe
+ service.exe
+
+
+ ${pkg.win.dist}
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+
+
+ **/logback.xml
+
+
+
+ ${pkg.implementationTitle}
+ ${project.version}
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+ ${pkg.disabled}
+ ${pkg.mainClass}
+ boot
+ ZIP
+ true
+ true
+
+ ${pkg.installFolder}/conf
+ ${pkg.unixLogFolder}
+ ${pkg.name}.out
+ ${pkg.name}
+
+
+
+
+
+ repackage
+
+
+
+
+
+ org.thingsboard
+ gradle-maven-plugin
+
+ ${main.dir}/packaging/${pkg.type}
+
+ build
+ buildDeb
+ buildRpm
+ renameDeb
+ renameRpm
+
+
+ -PpackagingDir=${main.dir}/packaging
+ -PprojectBuildDir=${basedir}/target
+ -PprojectVersion=${project.version}
+
+ -PmainJar=${project.build.directory}/${project.build.finalName}-boot.${project.packaging}
+
+ -PpkgName=${pkg.name}
+ -PpkgUser=${pkg.user}
+ -PpkgInstallFolder=${pkg.installFolder}
+ -PpkgCopyInstallScripts=${pkg.copyInstallScripts}
+ -PpkgLogFolder=${pkg.unixLogFolder}
+ --warning-mode
+ all
+
+
+
+
+ ${pkg.package.phase}
+
+ invoke
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+
+ ${pkg.name}
+
+ ${main.dir}/packaging/${pkg.type}/assembly/windows.xml
+
+
+
+
+ assembly
+ ${pkg.package.phase}
+
+ single
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-install-plugin
+
+ ${project.build.directory}/${pkg.name}.deb
+ ${project.artifactId}
+ ${project.groupId}
+ ${project.version}
+ deb
+ deb
+
+
+
+ install-deb
+ ${pkg.package.phase}
+
+ install-file
+
+
+
+
+
+
+
+
+
+
+
+
+
+ kr.motd.maven
+ os-maven-plugin
+ 1.5.0.Final
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 2.5.1
+
+
+ 1.8
+
+
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+ 2.7
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 2.2.1
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 3.0.2
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+ 3.0.0
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ ${spring-boot.version}
+
+
+ org.thingsboard
+ gradle-maven-plugin
+ 1.0.10
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 3.0.0-M1
+
+
+ org.apache.maven.plugins
+ maven-install-plugin
+ 3.0.0-M1
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+
+
+ copy-protoc
+ generate-sources
+
+ copy
+
+
+
+
+ com.google.protobuf
+ protoc
+ ${protobuf.version}
+ ${os.detected.classifier}
+ exe
+ true
+ ${project.build.directory}
+
+
+
+
+
+
+
+ org.xolstice.maven.plugins
+ protobuf-maven-plugin
+ 0.5.0
+
+
+ com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}
+
+ grpc-java
+ io.grpc:protoc-gen-grpc-java:1.0.0:exe:${os.detected.classifier}
+
+
+
+
+
+ compile
+ compile-custom
+ test-compile
+
+
+
+
+
+ org.codehaus.mojo
+ build-helper-maven-plugin
+ 1.12
+
+
+ add-source
+ generate-sources
+
+ add-source
+
+
+
+
+
+
+
+
+
+
+ org.eclipse.m2e
+ lifecycle-mapping
+ 1.0.0
+
+
+
+
+
+
+ org.apache.maven.plugins
+
+
+ maven-antrun-plugin
+
+
+ [1.3,)
+
+
+ run
+
+
+
+
+
+
+
+
+
+
+
+ com.mycila
+ license-maven-plugin
+ 3.0
+
+ ${main.dir}/license-header-template.txt
+
+ The Thingsboard Authors
+
+
+ **/.env
+ **/*.env
+ **/.eslintrc
+ **/.babelrc
+ **/.jshintrc
+ **/.gradle/**
+ **/nightwatch
+ **/README
+ **/LICENSE
+ **/banner.txt
+ node_modules/**
+ **/*.properties
+ src/test/resources/**
+ src/vendor/**
+ src/font/**
+ src/sh/**
+ packaging/*/scripts/control/**
+ packaging/*/scripts/windows/**
+ packaging/*/scripts/init/**
+ **/*.log
+ **/*.current
+ .instance_id
+ src/main/scripts/control/**
+ src/main/scripts/windows/**
+ src/main/resources/public/static/rulenode/**
+ **/*.proto.js
+ docker/haproxy/**
+ docker/tb-node/**
+ ui/**
+ src/browserslist
+ **/*.raw
+
+
+ JAVADOC_STYLE
+ DOUBLEDASHES_STYLE
+ JAVADOC_STYLE
+ SLASHSTAR_STYLE
+ SLASHSTAR_STYLE
+ SCRIPT_STYLE
+ JAVADOC_STYLE
+
+
+
+
+
+ check
+
+
+
+
+
+
+
+
+ com.mycila
+ license-maven-plugin
+
+
+
+
+
+
+ org.projectlombok
+ lombok
+ provided
+
+
+
+
+
+
+ org.thingsboard
+ netty-mqtt
+ ${project.version}
+
+
+ org.thingsboard.common
+ data
+ ${project.version}
+
+
+ org.thingsboard.common
+ util
+ ${project.version}
+
+
+ org.thingsboard.common
+ actor
+ ${project.version}
+
+
+ org.thingsboard.common
+ dao-api
+ ${project.version}
+
+
+ org.thingsboard.rule-engine
+ rule-engine-api
+ ${project.version}
+
+
+ org.thingsboard.rule-engine
+ rule-engine-components
+ ${project.version}
+
+
+ org.thingsboard.common
+ message
+ ${project.version}
+
+
+ org.thingsboard.common
+ transport
+ ${project.version}
+
+
+ org.thingsboard.common.transport
+ transport-api
+ ${project.version}
+
+
+ org.thingsboard.common.transport
+ mqtt
+ ${project.version}
+
+
+ org.thingsboard.common.transport
+ http
+ ${project.version}
+
+
+ org.thingsboard.common.transport
+ coap
+ ${project.version}
+
+
+ org.thingsboard
+ dao
+ ${project.version}
+
+
+ org.thingsboard.common
+ queue
+ ${project.version}
+
+
+ org.thingsboard
+ tools
+ ${project.version}
+ test
+
+
+ org.thingsboard
+ rest-client
+ ${project.version}
+ test
+
+
+ org.thingsboard
+ dao
+ ${project.version}
+ test-jar
+ test
+
+
+ org.springframework.boot
+ spring-boot-starter-security
+ ${spring-boot.version}
+
+
+ org.springframework.cloud
+ spring-cloud-starter-oauth2
+ ${spring-oauth2.version}
+
+
+ org.springframework.security
+ spring-security-oauth2-client
+ ${spring-security.version}
+
+
+ org.springframework
+ spring-core
+
+
+
+
+ org.springframework.security
+ spring-security-oauth2-jose
+ ${spring-security.version}
+
+
+ org.springframework
+ spring-core
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+ ${spring-boot.version}
+
+
+ org.springframework.boot
+ spring-boot-starter-websocket
+ ${spring-boot.version}
+
+
+ org.springframework.boot
+ spring-boot-autoconfigure
+ ${spring-boot.version}
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ ${spring-boot.version}
+ test
+
+
+ org.springframework.boot
+ spring-boot-starter-data-jpa
+ ${spring-boot.version}
+
+
+ org.apache.kafka
+ kafka-clients
+ ${kafka.version}
+
+
+ org.postgresql
+ postgresql
+ ${postgresql.driver.version}
+
+
+ org.springframework
+ spring-context
+ ${spring.version}
+
+
+ org.springframework
+ spring-context-support
+ ${spring.version}
+
+
+ org.springframework
+ spring-tx
+ ${spring.version}
+
+
+ org.springframework
+ spring-web
+ ${spring.version}
+
+
+ org.springframework.security
+ spring-security-test
+ ${spring-security.version}
+ test
+
+
+ com.github.springtestdbunit
+ spring-test-dbunit
+ ${spring-test-dbunit.version}
+ test
+
+
+ io.jsonwebtoken
+ jjwt
+ ${jjwt.version}
+
+
+ org.freemarker
+ freemarker
+ ${freemarker.version}
+
+
+ org.yaml
+ snakeyaml
+ ${snakeyaml.version}
+
+
+ antlr
+ antlr
+ ${antlr.version}
+
+
+ com.rabbitmq
+ amqp-client
+ ${rabbitmq.version}
+
+
+ com.sun.mail
+ javax.mail
+ ${mail.version}
+
+
+ org.apache.curator
+ curator-recipes
+ ${curator.version}
+
+
+ org.apache.curator
+ curator-test
+ test
+ ${curator.version}
+
+
+ org.apache.zookeeper
+ zookeeper
+ ${zookeeper.version}
+
+
+ log4j
+ log4j
+
+
+
+
+ com.jayway.jsonpath
+ json-path
+ ${json-path.version}
+ test
+
+
+ com.jayway.jsonpath
+ json-path-assert
+ ${json-path.version}
+ test
+
+
+ io.netty
+ netty-all
+ ${netty.version}
+
+
+ io.netty
+ netty-handler
+ ${netty.version}
+
+
+ io.netty
+ netty-codec-mqtt
+ ${netty.version}
+
+
+ com.datastax.oss
+ java-driver-core
+ ${cassandra.version}
+
+
+ com.datastax.oss
+ java-driver-query-builder
+ ${cassandra.version}
+
+
+ io.dropwizard.metrics
+ metrics-jmx
+ ${metrics.version}
+
+
+ org.apache.commons
+ commons-lang3
+ ${commons-lang3.version}
+
+
+ commons-validator
+ commons-validator
+ ${commons-validator.version}
+
+
+ commons-io
+ commons-io
+ ${commons-io.version}
+
+
+ org.apache.commons
+ commons-csv
+ ${commons-csv.version}
+
+
+ com.fasterxml.jackson.core
+ jackson-databind
+ ${jackson.version}
+
+
+ com.fasterxml.jackson.core
+ jackson-core
+ ${jackson-core.version}
+
+
+ com.fasterxml.jackson.core
+ jackson-annotations
+ ${jackson-annotations.version}
+
+
+ com.github.fge
+ json-schema-validator
+ ${json-schema-validator.version}
+
+
+ javax.mail
+ mailapi
+
+
+
+
+ org.eclipse.californium
+ californium-core
+ ${californium.version}
+
+
+ com.google.code.gson
+ gson
+ ${gson.version}
+
+
+ org.slf4j
+ slf4j-api
+ ${slf4j.version}
+
+
+ org.slf4j
+ log4j-over-slf4j
+ ${slf4j.version}
+
+
+ org.slf4j
+ jul-to-slf4j
+ ${slf4j.version}
+
+
+ ch.qos.logback
+ logback-core
+ ${logback.version}
+
+
+ ch.qos.logback
+ logback-classic
+ ${logback.version}
+
+
+ com.google.guava
+ guava
+ ${guava.version}
+
+
+ com.github.ben-manes.caffeine
+ caffeine
+ ${caffeine.version}
+
+
+ com.google.protobuf
+ protobuf-java
+ ${protobuf.version}
+
+
+ io.grpc
+ grpc-netty
+ ${grpc.version}
+
+
+ io.grpc
+ grpc-protobuf
+ ${grpc.version}
+
+
+ io.grpc
+ grpc-stub
+ ${grpc.version}
+
+
+ io.grpc
+ grpc-alts
+ ${grpc.version}
+
+
+ io.grpc
+ grpc-auth
+ ${grpc.version}
+
+
+ io.grpc
+ grpc-api
+ ${grpc.version}
+
+
+ org.springframework
+ spring-test
+ ${spring.version}
+ test
+
+
+ io.takari.junit
+ takari-cpsuite
+ ${takari-cpsuite.version}
+ test
+
+
+ org.cassandraunit
+ cassandra-unit
+ ${cassandra-unit.version}
+ test
+
+
+ junit
+ junit
+ ${junit.version}
+ test
+
+
+ org.dbunit
+ dbunit
+ ${dbunit.version}
+ test
+
+
+ org.mockito
+ mockito-all
+ ${mockito.version}
+ test
+
+
+ org.projectlombok
+ lombok
+ ${lombok.version}
+ provided
+
+
+ org.eclipse.paho
+ org.eclipse.paho.client.mqttv3
+ ${paho.client.version}
+
+
+ org.apache.curator
+ curator-x-discovery
+ ${curator.version}
+
+
+ io.springfox
+ springfox-swagger2
+ ${springfox-swagger.version}
+
+
+ org.bouncycastle
+ bcprov-jdk15on
+ ${bouncycastle.version}
+
+
+ org.bouncycastle
+ bcpkix-jdk15on
+ ${bouncycastle.version}
+
+
+ org.hsqldb
+ hsqldb
+ ${hsqldb.version}
+
+
+ org.springframework.data
+ spring-data-redis
+ ${spring-data-redis.version}
+
+
+ redis.clients
+ jedis
+ ${jedis.version}
+
+
+ com.sun.winsw
+ winsw
+ ${winsw.version}
+ bin
+ exe
+ provided
+
+
+ org.elasticsearch.client
+ rest
+ ${elasticsearch.version}
+
+
+ org.javadelight
+ delight-nashorn-sandbox
+ ${delight-nashorn-sandbox.version}
+
+
+ com.github.vladimir-bukhtoyarov
+ bucket4j-core
+ ${bucket4j.version}
+
+
+ de.ruedigermoeller
+ fst
+ ${fst.version}
+
+
+ com.fasterxml.jackson.core
+ jackson-core
+
+
+
+
+ io.springfox.ui
+ springfox-swagger-ui-rfc6570
+ ${springfox-swagger-ui-rfc6570.version}
+
+
+ org.locationtech.spatial4j
+ spatial4j
+ ${spatial4j.version}
+
+
+ org.locationtech.jts
+ jts-core
+ ${jts.version}
+
+
+ com.amazonaws
+ aws-java-sdk-sqs
+ ${amazonaws.sqs.version}
+
+
+ com.google.cloud
+ google-cloud-pubsub
+ ${pubsub.client.version}
+
+
+ com.microsoft.azure
+ azure-servicebus
+ ${azure-servicebus.version}
+
+
+ org.passay
+ passay
+ ${passay.version}
+
+
+ com.github.ua-parser
+ uap-java
+ ${ua-parser.version}
+
+
+ commons-beanutils
+ commons-beanutils
+ ${commons-beanutils.version}
+
+
+ commons-collections
+ commons-collections
+ ${commons-collections.version}
+
+
+
+
+
+
+ thingsboard-repo-deploy
+ ThingsBoard Repo Deployment
+ https://repo.thingsboard.io/artifactory/libs-release-public
+
+
+
+
+
+ central
+ https://repo1.maven.org/maven2/
+
+
+ spring-snapshots
+ Spring Snapshots
+ https://repo.spring.io/snapshot
+
+ true
+
+
+
+ spring-milestones
+ Spring Milestones
+ https://repo.spring.io/milestone
+
+ false
+
+
+
+ typesafe
+ Typesafe Repository
+ https://repo.typesafe.com/typesafe/releases/
+
+
+ sonatype
+ https://oss.sonatype.org/content/groups/public
+
+
+