| <?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> |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>21</version> |
| </parent> |
| <groupId>org.apache.shardingsphere</groupId> |
| <artifactId>shardingsphere-ui</artifactId> |
| <version>5.0.0-RC1-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>${project.artifactId}</name> |
| |
| <modules> |
| <module>shardingsphere-ui-frontend</module> |
| <module>shardingsphere-ui-backend</module> |
| <module>shardingsphere-ui-distribution</module> |
| </modules> |
| |
| <properties> |
| <java.version>1.8</java.version> |
| <spring-boot.version>1.5.21.RELEASE</spring-boot.version> |
| <apache-rat-plugin.version>0.12</apache-rat-plugin.version> |
| <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version> |
| <frontend-maven-plugin.version>1.6</frontend-maven-plugin.version> |
| <os-maven-plugin.version>1.5.0.Final</os-maven-plugin.version> |
| <takari-maven-plugin.version>0.6.1</takari-maven-plugin.version> |
| <guava.version>20.0</guava.version> |
| <shardingsphere.version>5.0.0-RC1-SNAPSHOT</shardingsphere.version> |
| <maven.deploy.skip>true</maven.deploy.skip> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-dependencies</artifactId> |
| <version>${spring-boot.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.shardingsphere</groupId> |
| <artifactId>shardingsphere-sharding-common</artifactId> |
| <version>${shardingsphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.shardingsphere</groupId> |
| <artifactId>shardingsphere-governance-core</artifactId> |
| <version>${shardingsphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.shardingsphere</groupId> |
| <artifactId>shardingsphere-governance-repository-zookeeper-curator</artifactId> |
| <version>${shardingsphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.shardingsphere</groupId> |
| <artifactId>shardingsphere-governance-repository-etcd</artifactId> |
| <version>${shardingsphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.shardingsphere</groupId> |
| <artifactId>shardingsphere-readwrite-splitting-core</artifactId> |
| <version>${shardingsphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.shardingsphere</groupId> |
| <artifactId>shardingsphere-encrypt-core</artifactId> |
| <version>${shardingsphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.shardingsphere</groupId> |
| <artifactId>shardingsphere-db-discovery-core</artifactId> |
| <version>${shardingsphere.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.shardingsphere</groupId> |
| <artifactId>shardingsphere-shadow-core</artifactId> |
| <version>${shardingsphere.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <finalName>apache-shardingsphere-${project.version}</finalName> |
| <extensions> |
| <extension> |
| <groupId>kr.motd.maven</groupId> |
| <artifactId>os-maven-plugin</artifactId> |
| <version>${os-maven-plugin.version}</version> |
| </extension> |
| </extensions> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| <testSource>${java.version}</testSource> |
| <testTarget>${java.version}</testTarget> |
| </configuration> |
| <version>${maven-compiler-plugin.version}</version> |
| </plugin> |
| <!-- mvn -N io.takari:maven:wrapper -Dmaven=3.5.4 --> |
| <plugin> |
| <groupId>io.takari</groupId> |
| <artifactId>maven</artifactId> |
| <version>${takari-maven-plugin.version}</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>${apache-rat-plugin.version}</version> |
| <configuration> |
| <excludes> |
| <exclude>**/target/**</exclude> |
| <exclude>**/logs/**</exclude> |
| <exclude>**/*.log</exclude> |
| <!-- IDE files --> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/.idea/**</exclude> |
| <exclude>**/*.classpath</exclude> |
| <exclude>**/.project</exclude> |
| <exclude>**/.settings/**</exclude> |
| <exclude>**/dependency-reduced-pom.xml</exclude> |
| <!-- git files --> |
| <exclude>**/.gitignore</exclude> |
| <exclude>**/.gitmodules</exclude> |
| <exclude>**/.git/**</exclude> |
| <!-- CI files --> |
| <exclude>**/.travis.yml</exclude> |
| <exclude>**/.mvn/jvm.config</exclude> |
| <exclude>**/.mvn/wrapper/maven-wrapper.properties</exclude> |
| <!-- GitHub files --> |
| <exclude>**/.github/**</exclude> |
| <!-- document files --> |
| <exclude>**/*.md</exclude> |
| <excldue>**/*.MD</excldue> |
| <exclude>**/*.txt</exclude> |
| <exclude>**/docs/**</exclude> |
| <!-- UI files --> |
| <exclude>**/.babelrc</exclude> |
| <exclude>**/.editorconfig</exclude> |
| <exclude>**/.eslintignore</exclude> |
| <exclude>**/package.json</exclude> |
| <exclude>**/assets/**</exclude> |
| <exclude>**/dist/**</exclude> |
| <exclude>**/etc/**</exclude> |
| <exclude>**/node/**</exclude> |
| <exclude>**/node_modules/**</exclude> |
| <exclude>**/test/coverage/**</exclude> |
| <exclude>**/package-lock.json</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <scm> |
| <connection>scm:git:https://github.com/apache/shardingsphere-ui.git</connection> |
| <developerConnection>scm:git:https://github.com/apache/shardingsphere-ui.git</developerConnection> |
| <url>https://github.com/apache/shardingsphere-ui.git</url> |
| <tag>HEAD</tag> |
| </scm> |
| </project> |