| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you 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. |
| --> |
| |
| <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-parent</artifactId> |
| <version>4.0.1</version> |
| <relativePath /> |
| </parent> |
| |
| <groupId>org.apache.tsfile</groupId> |
| <artifactId>tsfile-viewer</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <name>TSFile Viewer</name> |
| <description>Web-based application for viewing and analyzing Apache TsFile format data</description> |
| |
| <properties> |
| <java.version>17</java.version> |
| <tsfile.version>2.2.0</tsfile.version> |
| <caffeine.version>3.2.0</caffeine.version> |
| <springdoc.version>2.8.0</springdoc.version> |
| <google-java-format.version>1.22.0</google-java-format.version> |
| </properties> |
| |
| <dependencies> |
| <!-- Spring Boot Starters --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-web</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-json</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-validation</artifactId> |
| </dependency> |
| |
| <!-- Spring Boot DevTools for hot reload during development --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-devtools</artifactId> |
| <scope>runtime</scope> |
| <optional>true</optional> |
| </dependency> |
| |
| <!-- TSFile Parser --> |
| <dependency> |
| <groupId>org.apache.tsfile</groupId> |
| <artifactId>tsfile</artifactId> |
| <version>${tsfile.version}</version> |
| </dependency> |
| |
| <!-- Caffeine Cache --> |
| <dependency> |
| <groupId>com.github.ben-manes.caffeine</groupId> |
| <artifactId>caffeine</artifactId> |
| <version>${caffeine.version}</version> |
| </dependency> |
| |
| <!-- SpringDoc OpenAPI for API Documentation --> |
| <dependency> |
| <groupId>org.springdoc</groupId> |
| <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
| <version>${springdoc.version}</version> |
| </dependency> |
| |
| <!-- Testing Dependencies --> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- jqwik Property-Based Testing --> |
| <dependency> |
| <groupId>net.jqwik</groupId> |
| <artifactId>jqwik</artifactId> |
| <version>1.9.2</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <!-- Spring Boot Maven Plugin --> |
| <plugin> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-maven-plugin</artifactId> |
| </plugin> |
| |
| <!-- Maven Assembly Plugin for distribution packaging --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/dist.xml</descriptor> |
| </descriptors> |
| <appendAssemblyId>false</appendAssemblyId> |
| <finalName>tsfile-viewer-${project.version}</finalName> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-dist</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- Spotless Plugin with Google Java Format --> |
| <plugin> |
| <groupId>com.diffplug.spotless</groupId> |
| <artifactId>spotless-maven-plugin</artifactId> |
| <version>2.43.0</version> |
| <configuration> |
| <java> |
| <googleJavaFormat> |
| <version>${google-java-format.version}</version> |
| <style>GOOGLE</style> |
| </googleJavaFormat> |
| <importOrder> |
| <order>java,javax,org,com</order> |
| </importOrder> |
| <removeUnusedImports /> |
| </java> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>verify</phase> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- Maven Compiler Plugin --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |