| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| | | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| | | <modelVersion>4.0.0</modelVersion> |
| | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| | | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| | | <modelVersion>4.0.0</modelVersion> |
| | | |
| | | <groupId>com.dingzhuo</groupId> |
| | | <artifactId>energy-management</artifactId> |
| | | <version>1.0.0</version> |
| | | <modules> |
| | | <module>data-service</module> |
| | | <module>data-model</module> |
| | | <module>parent</module> |
| | | <module>data-monitoring</module> |
| | | <module>energy_management_server</module> |
| | | <module>basic</module> |
| | | <module>basic-data</module> |
| | | <module>compute-engine</module> |
| | | </modules> |
| | | <packaging>pom</packaging> |
| | | <groupId>com.zhitan</groupId> |
| | | <artifactId>BaseAdminAPI</artifactId> |
| | | <version>2.5.2</version> |
| | | |
| | | <name>energyManagement</name> |
| | | <description>企业能源管理系统</description> |
| | | <name>BaseAdminAPI</name> |
| | | <description>管理系统</description> |
| | | |
| | | <parent> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-parent</artifactId> |
| | | <version>2.2.5.RELEASE</version> |
| | | <relativePath/> |
| | | </parent> |
| | | <packaging>pom</packaging> |
| | | |
| | | <properties> |
| | | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| | | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| | | <java.version>1.8</java.version> |
| | | <mybatis.spring.boot.starter.version>1.3.2</mybatis.spring.boot.starter.version> |
| | | <pagehelper.spring.boot.starter.version>1.2.5</pagehelper.spring.boot.starter.version> |
| | | <fastjson.version>1.2.47</fastjson.version> |
| | | <druid.version>1.1.14</druid.version> |
| | | <commons.io.version>2.5</commons.io.version> |
| | | <commons.fileupload.version>1.3.3</commons.fileupload.version> |
| | | <bitwalker.version>1.19</bitwalker.version> |
| | | <jwt.version>0.9.0</jwt.version> |
| | | <swagger.version>2.9.2</swagger.version> |
| | | <poi.version>3.17</poi.version> |
| | | <oshi.version>3.9.1</oshi.version> |
| | | <velocity.version>1.7</velocity.version> |
| | | </properties> |
| | | <properties> |
| | | <zhitan.version>2.5.2</zhitan.version> |
| | | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| | | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| | | <java.version>1.8</java.version> |
| | | <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version> |
| | | <spring-framework.version>5.3.33</spring-framework.version> |
| | | <druid.version>1.2.20</druid.version> |
| | | <bitwalker.version>1.21</bitwalker.version> |
| | | <swagger.version>3.0.0</swagger.version> |
| | | <kaptcha.version>2.3.3</kaptcha.version> |
| | | <pagehelper.version>6.1.0</pagehelper.version> |
| | | <jsqlparser.version>4.9</jsqlparser.version> |
| | | <fastjson.version>2.0.43</fastjson.version> |
| | | <oshi.version>6.5.0</oshi.version> |
| | | <commons.io.version>2.13.0</commons.io.version> |
| | | <poi.version>4.1.2</poi.version> |
| | | <velocity.version>2.3</velocity.version> |
| | | <jwt.version>0.9.1</jwt.version> |
| | | <mybatis-plus.version>3.5.6</mybatis-plus.version> |
| | | </properties> |
| | | |
| | | <repositories> |
| | | <repository> |
| | | <id>public</id> |
| | | <name>aliyun nexus</name> |
| | | <url>http://maven.aliyun.com/nexus/content/groups/public/</url> |
| | | <releases> |
| | | <enabled>true</enabled> |
| | | </releases> |
| | | </repository> |
| | | </repositories> |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>org.projectlombok</groupId> |
| | | <artifactId>lombok</artifactId> |
| | | </dependency> |
| | | <!-- PostgreSQL驱动包 --> |
| | | <dependency> |
| | | <groupId>org.postgresql</groupId> |
| | | <artifactId>postgresql</artifactId> |
| | | <scope>runtime</scope> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>joda-time</groupId> |
| | | <artifactId>joda-time</artifactId> |
| | | <version>2.10.5</version> |
| | | </dependency> |
| | | |
| | | <pluginRepositories> |
| | | <pluginRepository> |
| | | <id>public</id> |
| | | <name>aliyun nexus</name> |
| | | <url>http://maven.aliyun.com/nexus/content/groups/public/</url> |
| | | <releases> |
| | | <enabled>true</enabled> |
| | | </releases> |
| | | <snapshots> |
| | | <enabled>false</enabled> |
| | | </snapshots> |
| | | </pluginRepository> |
| | | </pluginRepositories> |
| | | <dependency> |
| | | <groupId>com.google.guava</groupId> |
| | | <artifactId>guava</artifactId> |
| | | <version>28.0-jre</version> |
| | | </dependency> |
| | | |
| | | <profiles> |
| | | <profile> |
| | | <id>dev</id> |
| | | <properties> |
| | | <!--当前环境,生产环境为空--> |
| | | <profile.name>dev</profile.name> |
| | | </properties> |
| | | </profile> |
| | | <profile> |
| | | <id>prod</id> |
| | | <properties> |
| | | <!--当前环境,生产环境为空--> |
| | | <profile.name>prod</profile.name> |
| | | </properties> |
| | | </profile> |
| | | </profiles> |
| | | <dependency> |
| | | <groupId>com.jsoniter</groupId> |
| | | <artifactId>jsoniter</artifactId> |
| | | <version>0.9.23</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>org.influxdb</groupId> |
| | | <artifactId>influxdb-java</artifactId> |
| | | <exclusions> |
| | | <exclusion> |
| | | <artifactId>okhttp</artifactId> |
| | | <groupId>com.squareup.okhttp3</groupId> |
| | | </exclusion> |
| | | <exclusion> |
| | | <artifactId>okio</artifactId> |
| | | <groupId>com.squareup.okio</groupId> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.influxdb</groupId> |
| | | <artifactId>influxdb-client-java</artifactId> |
| | | <version>3.4.0</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.squareup.okhttp3</groupId> |
| | | <artifactId>okhttp</artifactId> |
| | | <exclusions> |
| | | <exclusion> |
| | | <artifactId>kotlin-stdlib</artifactId> |
| | | <groupId>org.jetbrains.kotlin</groupId> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>io.swagger</groupId> |
| | | <artifactId>swagger-annotations</artifactId> |
| | | <version>1.6.2</version> |
| | | <scope>compile</scope> |
| | | </dependency> |
| | | |
| | | <!-- 阿里JSON解析器 --> |
| | | <dependency> |
| | | <groupId>com.alibaba</groupId> |
| | | <artifactId>fastjson</artifactId> |
| | | <version>${fastjson.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>cn.hutool</groupId> |
| | | <artifactId>hutool-core</artifactId> |
| | | <version>5.3.8</version> |
| | | </dependency> |
| | | </dependencies> |
| | | |
| | | <!-- 依赖声明 --> |
| | | <dependencyManagement> |
| | | <dependencies> |
| | | |
| | | <!-- SpringFramework的依赖配置--> |
| | | <dependency> |
| | | <groupId>org.springframework</groupId> |
| | | <artifactId>spring-framework-bom</artifactId> |
| | | <version>${spring-framework.version}</version> |
| | | <type>pom</type> |
| | | <scope>import</scope> |
| | | </dependency> |
| | | |
| | | <!-- SpringBoot的依赖配置--> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-dependencies</artifactId> |
| | | <version>2.5.15</version> |
| | | <type>pom</type> |
| | | <scope>import</scope> |
| | | </dependency> |
| | | |
| | | <!-- 阿里数据库连接池 --> |
| | | <dependency> |
| | | <groupId>com.alibaba</groupId> |
| | | <artifactId>druid-spring-boot-starter</artifactId> |
| | | <version>${druid.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- 解析客户端操作系统、浏览器等 --> |
| | | <dependency> |
| | | <groupId>eu.bitwalker</groupId> |
| | | <artifactId>UserAgentUtils</artifactId> |
| | | <version>${bitwalker.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.baomidou</groupId> |
| | | <artifactId>mybatis-plus-boot-starter</artifactId> |
| | | <version>${mybatis-plus.version}</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.github.pagehelper</groupId> |
| | | <artifactId>pagehelper</artifactId> |
| | | <version>${pagehelper.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.github.jsqlparser</groupId> |
| | | <artifactId>jsqlparser</artifactId> |
| | | <version>${jsqlparser.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- 获取系统信息 --> |
| | | <dependency> |
| | | <groupId>com.github.oshi</groupId> |
| | | <artifactId>oshi-core</artifactId> |
| | | <version>${oshi.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- Swagger3依赖 --> |
| | | <dependency> |
| | | <groupId>io.springfox</groupId> |
| | | <artifactId>springfox-boot-starter</artifactId> |
| | | <version>${swagger.version}</version> |
| | | <exclusions> |
| | | <exclusion> |
| | | <groupId>io.swagger</groupId> |
| | | <artifactId>swagger-models</artifactId> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | |
| | | <!-- io常用工具类 --> |
| | | <dependency> |
| | | <groupId>commons-io</groupId> |
| | | <artifactId>commons-io</artifactId> |
| | | <version>${commons.io.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- excel工具 --> |
| | | <dependency> |
| | | <groupId>org.apache.poi</groupId> |
| | | <artifactId>poi-ooxml</artifactId> |
| | | <version>${poi.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- velocity代码生成使用模板 --> |
| | | <dependency> |
| | | <groupId>org.apache.velocity</groupId> |
| | | <artifactId>velocity-engine-core</artifactId> |
| | | <version>${velocity.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- 阿里JSON解析器 --> |
| | | <dependency> |
| | | <groupId>com.alibaba.fastjson2</groupId> |
| | | <artifactId>fastjson2</artifactId> |
| | | <version>${fastjson.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- Token生成与解析--> |
| | | <dependency> |
| | | <groupId>io.jsonwebtoken</groupId> |
| | | <artifactId>jjwt</artifactId> |
| | | <version>${jwt.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- 验证码 --> |
| | | <dependency> |
| | | <groupId>pro.fessional</groupId> |
| | | <artifactId>kaptcha</artifactId> |
| | | <version>${kaptcha.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- 定时任务--> |
| | | <dependency> |
| | | <groupId>com.zhitan</groupId> |
| | | <artifactId>zhitan-quartz</artifactId> |
| | | <version>${zhitan.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- 代码生成--> |
| | | <dependency> |
| | | <groupId>com.zhitan</groupId> |
| | | <artifactId>zhitan-generator</artifactId> |
| | | <version>${zhitan.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- 核心模块--> |
| | | <dependency> |
| | | <groupId>com.zhitan</groupId> |
| | | <artifactId>zhitan-framework</artifactId> |
| | | <version>${zhitan.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- 系统模块--> |
| | | <dependency> |
| | | <groupId>com.zhitan</groupId> |
| | | <artifactId>zhitan-system</artifactId> |
| | | <version>${zhitan.version}</version> |
| | | </dependency> |
| | | |
| | | <!-- 通用工具--> |
| | | <dependency> |
| | | <groupId>com.zhitan</groupId> |
| | | <artifactId>zhitan-common</artifactId> |
| | | <version>${zhitan.version}</version> |
| | | </dependency> |
| | | |
| | | </dependencies> |
| | | </dependencyManagement> |
| | | |
| | | <modules> |
| | | <module>zhitan-admin</module> |
| | | <module>zhitan-framework</module> |
| | | <module>zhitan-system</module> |
| | | <module>zhitan-quartz</module> |
| | | <module>zhitan-generator</module> |
| | | <module>zhitan-common</module> |
| | | <module>zhitan-airconditioner</module> |
| | | </modules> |
| | | |
| | | <profiles> |
| | | <profile> |
| | | <id>dev</id> |
| | | <properties> |
| | | <build.profile.id>dev</build.profile.id> |
| | | <profileActive>dev</profileActive> |
| | | </properties> |
| | | <activation> |
| | | <activeByDefault>true</activeByDefault> |
| | | </activation> |
| | | </profile> |
| | | <profile> |
| | | <id>prod</id> |
| | | <properties> |
| | | <build.profile.id>prod</build.profile.id> |
| | | <profileActive>prod</profileActive> |
| | | </properties> |
| | | </profile> |
| | | </profiles> |
| | | |
| | | <build> |
| | | |
| | | <resources> |
| | | <resource> |
| | | <directory>src/main/resources</directory> |
| | | <!--开启过滤,用指定的参数替换directory下的文件中的参数--> |
| | | <filtering>true</filtering> |
| | | </resource> |
| | | </resources> |
| | | |
| | | <plugins> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-compiler-plugin</artifactId> |
| | | <version>3.1</version> |
| | | <configuration> |
| | | <source>${java.version}</source> |
| | | <target>${java.version}</target> |
| | | <encoding>${project.build.sourceEncoding}</encoding> |
| | | <compilerArgs> |
| | | <!-- 过期的方法的警告--> |
| | | <arg>-Xlint:deprecation</arg> |
| | | </compilerArgs> |
| | | <compilerArguments> |
| | | <!-- 是否输出所有的编译信息(包括类的加载等)--> |
| | | <!--<verbose />--> |
| | | <!-- 解决maven命令编译报错,因为rt.jar 和jce.jar在jre的lib下面,不在jdk的lib下面, |
| | | 导致maven找不到(java7以后会出现这个问题),将这2个jar包拷贝到jdk的lib下面估计也好使--> |
| | | <bootclasspath>${java.home}/lib/rt.jar;${java.home}/lib/jce.jar</bootclasspath> |
| | | </compilerArguments> |
| | | </configuration> |
| | | </plugin> |
| | | </plugins> |
| | | </build> |
| | | |
| | | <repositories> |
| | | <repository> |
| | | <id>ali-public</id> |
| | | <name>ali-public</name> |
| | | <url>https://maven.aliyun.com/repository/public</url> |
| | | <releases> |
| | | <enabled>true</enabled> |
| | | </releases> |
| | | </repository> |
| | | |
| | | <repository> |
| | | <id>central</id> |
| | | <url>https://maven.aliyun.com/repository/central</url> |
| | | <releases> |
| | | <enabled>true</enabled> |
| | | </releases> |
| | | <snapshots> |
| | | <enabled>true</enabled> |
| | | </snapshots> |
| | | </repository> |
| | | </repositories> |
| | | |
| | | <pluginRepositories> |
| | | <pluginRepository> |
| | | <id>public</id> |
| | | <name>ali nexus</name> |
| | | <url>https://maven.aliyun.com/repository/public</url> |
| | | <releases> |
| | | <enabled>true</enabled> |
| | | </releases> |
| | | <snapshots> |
| | | <enabled>false</enabled> |
| | | </snapshots> |
| | | </pluginRepository> |
| | | </pluginRepositories> |
| | | |
| | | </project> |