| <?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <packaging>pom</packaging> |
| <groupId>org.apache.iotdb</groupId> |
| <artifactId>iotdb-tsfile-viewer</artifactId> |
| <version>0.13.2-SNAPSHOT</version> |
| <name>IoTDB tsfile viewer</name> |
| <modules> |
| <module>tsfile-viewer-core</module> |
| <module>tsfile-viewer-web-frontend</module> |
| <module>tsfile-viewer-web</module> |
| </modules> |
| <properties> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| <spotless.version>2.4.2</spotless.version> |
| <maven.assembly.version>3.1.0</maven.assembly.version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <maven.compiler.encoding>UTF-8</maven.compiler.encoding> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>com.diffplug.spotless</groupId> |
| <artifactId>spotless-maven-plugin</artifactId> |
| <version>${spotless.version}</version> |
| <configuration> |
| <java> |
| <googleJavaFormat> |
| <version>1.7</version> |
| <style>GOOGLE</style> |
| </googleJavaFormat> |
| <importOrder> |
| <order>org.apache.iotdb,,javax,java,\#</order> |
| </importOrder> |
| <removeUnusedImports/> |
| </java> |
| <lineEndings>UNIX</lineEndings> |
| </configuration> |
| <executions> |
| <execution> |
| <id>spotless-check</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>license-check</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.13</version> |
| <configuration> |
| <consoleOutput>true</consoleOutput> |
| <excludes> |
| <!-- Git related files --> |
| <exclude>**/.git/**</exclude> |
| <exclude>**/.mvn/**</exclude> |
| <exclude>**/.gitignore</exclude> |
| <exclude>**/.gitmodules</exclude> |
| <exclude>**/.git-blame-ignore-revs</exclude> |
| <!-- Maven related files --> |
| <exclude>**/target/**</exclude> |
| <!-- Eclipse related files --> |
| <exclude>**/.project</exclude> |
| <exclude>**/.settings/**</exclude> |
| <exclude>**/.classpath</exclude> |
| <!-- IntelliJ related files --> |
| <exclude>**/.idea/**</exclude> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/NOTICE-binary</exclude> |
| <exclude>**/LICENSE-binary</exclude> |
| <!-- Runtime log --> |
| <exclude>**/*.log</exclude> |
| <!-- generated by Github --> |
| <exclude>**/.github/**</exclude> |
| <!-- figures --> |
| <exclude>**/.png</exclude> |
| <exclude>**/.jpg</exclude> |
| <exclude>**/.jpeg</exclude> |
| <!-- JSON can't contain comments and therefore no Apache header --> |
| <exclude>*.json</exclude> |
| <exclude>**/*.json</exclude> |
| <exclude>**/yarn.lock</exclude> |
| <exclude>**/node/**</exclude> |
| <exclude>**/node_modules/**</exclude> |
| <exclude>**/dist/**</exclude> |
| <exclude>**/src/.umi/**</exclude> |
| <exclude>**/.umi-production/**</exclude> |
| <exclude>**/resources/static/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| </project> |