4.0.0
    
        org.thingsboard
        2.2.0-SNAPSHOT
        thingsboard
    
    application
    jar
    ThingsBoard Server Application
    https://thingsboard.io
    Open-source IoT Platform - Device management, data collection, processing and visualization
    
    
        UTF-8
        ${basedir}/..
        thingsboard
        /var/log/${pkg.name}
        /usr/share/${pkg.name}
        ${project.build.directory}/windows
    
    
        
            io.netty
            netty-transport-native-epoll
            ${netty.version}
            
            linux-x86_64
        
        
            org.thingsboard.rule-engine
            rule-engine-api
        
        
            org.thingsboard.rule-engine
            rule-engine-components
        
        
            org.thingsboard.common.transport
            transport-api
        
        
        
        
        
        
            org.thingsboard.common.transport
            mqtt
        
        
            org.thingsboard.common.transport
            http
        
        
            org.thingsboard
            dao
        
        
            org.thingsboard.common
            queue
        
        
            org.thingsboard
            dao
            test-jar
            test
        
        
            io.takari.junit
            takari-cpsuite
            test
        
        
            org.eclipse.paho
            org.eclipse.paho.client.mqttv3
        
        
            org.cassandraunit
            cassandra-unit
            
                
                    org.slf4j
                    slf4j-log4j12
                
            
            test
        
        
            org.thingsboard
            ui
            ${project.version}
            runtime
        
        
            org.springframework.boot
            spring-boot-starter-security
        
        
            org.springframework.boot
            spring-boot-starter-web
        
        
            org.springframework.boot
            spring-boot-starter-websocket
        
        
            io.jsonwebtoken
            jjwt
        
        
            org.apache.velocity
            velocity
        
        
            org.apache.velocity
            velocity-tools
        
        
            commons-io
            commons-io
        
        
            org.apache.commons
            commons-csv
        
        
            org.springframework
            spring-context-support
        
        
            com.typesafe.akka
            akka-actor_${scala.version}
        
        
            com.typesafe.akka
            akka-slf4j_${scala.version}
        
        
            org.slf4j
            slf4j-api
        
        
            org.slf4j
            log4j-over-slf4j
        
        
            ch.qos.logback
            logback-core
        
        
            ch.qos.logback
            logback-classic
        
        
            javax.mail
            mail
        
        
            org.apache.curator
            curator-recipes
        
        
            com.google.protobuf
            protobuf-java
        
        
            io.grpc
            grpc-netty
        
        
            io.grpc
            grpc-protobuf
        
        
            io.grpc
            grpc-stub
        
        
            io.springfox
            springfox-swagger-ui
        
        
            io.springfox
            springfox-swagger2
        
        
            com.sun.winsw
            winsw
            bin
            exe
            provided
        
        
            org.thingsboard
            tools
            test
        
        
            org.springframework.boot
            spring-boot-starter-test
            test
        
        
            org.springframework.security
            spring-security-test
            test
        
        
            com.jayway.jsonpath
            json-path
            test
        
        
            com.jayway.jsonpath
            json-path-assert
            test
        
        
            junit
            junit
            test
        
        
            org.mockito
            mockito-all
            test
        
        
            org.dbunit
            dbunit
            test
        
        
            com.github.springtestdbunit
            spring-test-dbunit
            test
        
        
            org.hsqldb
            hsqldb
        
        
            org.javadelight
            delight-nashorn-sandbox
        
    
    
        ${pkg.name}-${project.version}
        
            
                ${project.basedir}/src/main/resources
            
        
        
            
                org.apache.maven.plugins
                maven-surefire-plugin
                ${surfire.version}
                
                    
                        thingsboard
                    
                    
                        **/*TestSuite.java
                    
                
            
            
                org.apache.maven.plugins
                maven-resources-plugin
                
                    
                        copy-conf
                        process-resources
                        
                            copy-resources
                        
                        
                            ${project.build.directory}/conf
                            
                                
                                    src/main/resources
                                    
                                        logback.xml
                                    
                                    false
                                
                            
                        
                    
                    
                        copy-service-conf
                        process-resources
                        
                            copy-resources
                        
                        
                            ${project.build.directory}/conf
                            
                                
                                    src/main/conf
                                    true
                                
                            
                            
                                src/main/filters/unix.properties
                            
                        
                    
                    
                        copy-win-conf
                        process-resources
                        
                            copy-resources
                        
                        
                            ${pkg.win.dist}/conf
                            
                                
                                    src/main/resources
                                    
                                        logback.xml
                                    
                                    false
                                
                                
                                    src/main/conf
                                    
                                        thingsboard.conf
                                    
                                    true
                                
                            
                            
                                src/main/filters/windows.properties
                            
                        
                    
                    
                        copy-control
                        process-resources
                        
                            copy-resources
                        
                        
                            ${project.build.directory}/control
                            
                                
                                    src/main/scripts/control
                                    true
                                
                            
                            
                                src/main/filters/unix.properties
                            
                        
                    
                    
                        copy-install
                        process-resources
                        
                            copy-resources
                        
                        
                            ${project.build.directory}/bin/install
                            
                                
                                    src/main/scripts/install
                                    
                                        **/*.sh
                                        **/*.xml
                                    
                                    true
                                
                            
                            
                                src/main/filters/unix.properties
                            
                        
                    
                    
                        copy-windows-control
                        process-resources
                        
                            copy-resources
                        
                        
                            ${pkg.win.dist}
                            
                                
                                    src/main/scripts/windows
                                    true
                                
                            
                            
                                src/main/filters/windows.properties
                            
                        
                    
                    
                        copy-windows-install
                        process-resources
                        
                            copy-resources
                        
                        
                            ${pkg.win.dist}/install
                            
                                
                                    src/main/scripts/install
                                    
                                        logback.xml
                                    
                                    true
                                
                            
                            
                                src/main/filters/windows.properties
                            
                        
                    
                    
                        copy-data
                        process-resources
                        
                            copy-resources
                        
                        
                            ${project.build.directory}/data
                            
                                
                                    src/main/data
                                
                                
                                    ../dao/src/main/resources
                                    
                                        **/*.cql
                                        **/*.sql
                                    
                                    false
                                
                            
                        
                    
                
            
            
                org.apache.maven.plugins
                maven-dependency-plugin
                
                    
                        copy-winsw-service
                        package
                        
                            copy
                        
                        
                            
                                
                                    com.sun.winsw
                                    winsw
                                    bin
                                    exe
                                    service.exe
                                
                            
                            ${pkg.win.dist}
                        
                    
                
            
            
                org.apache.maven.plugins
                maven-jar-plugin
                
                    
                        **/logback.xml
                    
                    
                        
                            ThingsBoard
                            ${project.version}
                        
                    
                
            
            
                org.springframework.boot
                spring-boot-maven-plugin
                
                    org.thingsboard.server.ThingsboardServerApplication
                    boot
                    ZIP
                    true
                    true
                    
                        ${pkg.installFolder}/conf
                        ${pkg.unixLogFolder}
                        ${pkg.name}.out
                        ${pkg.name}
                    
                
                
                    
                        
                            repackage
                        
                    
                
            
            
                org.fortasoft
                gradle-maven-plugin
                
                    
                        build
                        buildDeb
                        buildRpm
                    
                    
                        -PprojectBuildDir=${project.build.directory}
                        -PprojectVersion=${project.version}
                        -PmainJar=${project.build.directory}/${project.build.finalName}-boot.${project.packaging}
                        
                        -PpkgName=${pkg.name}
                        -PpkgInstallFolder=${pkg.installFolder}
                        -PpkgLogFolder=${pkg.unixLogFolder}
                    
                
                
                    
                        package
                        
                            invoke
                        
                    
                
            
            
                org.apache.maven.plugins
                maven-assembly-plugin
                
                    ${pkg.name}
                    
                        src/main/assembly/windows.xml
                    
                
                
                    
                        assembly
                        package
                        
                            single
                        
                    
                
            
            
                org.apache.maven.plugins
                maven-install-plugin
                
                    ${project.build.directory}/${pkg.name}.deb
                    ${project.artifactId}
                    ${project.groupId}
                    ${project.version}
                    deb
                    deb
                
                
                    
                        install-deb
                        package
                        
                            install-file
                        
                    
                
            
            
                org.xolstice.maven.plugins
                protobuf-maven-plugin
            
            
                org.codehaus.mojo
                build-helper-maven-plugin
            
        
    
    
        
            jenkins
            Jenkins Repository
            http://repo.jenkins-ci.org/releases
            
                false