| <?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"> |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>21</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.apache.shenyu</groupId> |
| <artifactId>shenyu-wasm</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| <name>shenyu-wasm</name> |
| <packaging>pom</packaging> |
| <modules> |
| <!-- shenyu-wasm-build only used to generate dylibs by CI --> |
| <!-- <module>shenyu-wasm-build</module> --> |
| <module>shenyu-wasm-runtime</module> |
| <module>shenyu-wasm-dist</module> |
| </modules> |
| |
| <licenses> |
| <license> |
| <name>Apache License, Version 2.0</name> |
| <url>https://www.apache.org/licenses/LICENSE-2.0</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <scm> |
| <url>https://github.com/apache/shenyu-wasm</url> |
| <connection>scm:git:https://github.com/apache/shenyu-wasm.git</connection> |
| <developerConnection>scm:git:https://github.com/apache/shenyu-wasm.git</developerConnection> |
| <tag>v1.0.0</tag> |
| </scm> |
| |
| <mailingLists> |
| <mailingList> |
| <name>Apache ShenYu Developer List</name> |
| <post>dev@shenyu.apache.org</post> |
| <subscribe>dev-subscribe@shenyu.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@shenyu.apache.org</unsubscribe> |
| </mailingList> |
| </mailingLists> |
| |
| <issueManagement> |
| <system>GitHub Issues</system> |
| <url>https://github.com/apache/shenyu-wasm/issues</url> |
| </issueManagement> |
| |
| <properties> |
| <java.version>1.8</java.version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <skipTests>false</skipTests> |
| <!--maven plugin version--> |
| <maven-source-plugin.version>3.0.1</maven-source-plugin.version> |
| <maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version> |
| <maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version> |
| <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> |
| <maven-release-plugin.version>2.5.3</maven-release-plugin.version> |
| <versions-maven-plugin.version>2.5</versions-maven-plugin.version> |
| <maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-plugin.version> |
| <jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version> |
| <apache-rat-plugin.version>0.13</apache-rat-plugin.version> |
| <maven-assembly-plugin.version>3.5.0</maven-assembly-plugin.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.scijava</groupId> |
| <artifactId>native-lib-loader</artifactId> |
| <version>2.0.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <version>5.8.2</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>${maven-source-plugin.version}</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${maven-surefire-plugin.version}</version> |
| <configuration> |
| <skip>${skipTests}</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${maven-javadoc-plugin.version}</version> |
| <configuration> |
| <sourcepath>src/main/java</sourcepath> |
| <detectJavaApiLink>false</detectJavaApiLink> |
| <detectOfflineLinks>false</detectOfflineLinks> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven-compiler-plugin.version}</version> |
| <configuration> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| <compilerArgs> |
| <arg>-parameters</arg> |
| </compilerArgs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>${maven-release-plugin.version}</version> |
| <configuration> |
| <tagNameFormat>v@{project.version}</tagNameFormat> |
| <autoVersionSubmodules>true</autoVersionSubmodules> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>versions-maven-plugin</artifactId> |
| <version>${versions-maven-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven-checkstyle-plugin.version}</version> |
| <configuration> |
| <configLocation>/script/shenyu_checkstyle.xml</configLocation> |
| <headerLocation>/script/checkstyle-header.txt</headerLocation> |
| <suppressionsLocation>/script/shenyu_checkstyle_suppressions.xml</suppressionsLocation> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| </configuration> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco-maven-plugin.version}</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>report</id> |
| <phase>test</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <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> |
| <exclude>**/*.tar.gz</exclude> |
| <exclude>**/spring.factories</exclude> |
| <exclude>**/spring.provides</exclude> |
| <exclude>/script/**</exclude> |
| <exclude>**/*.json</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>**/.codecov.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>**/assets/**</exclude> |
| <exclude>**/dist/**</exclude> |
| <exclude>**/etc/**</exclude> |
| <exclude>**/node/**</exclude> |
| <exclude>**/node_modules/**</exclude> |
| <exclude>**/test/coverage/**</exclude> |
| <exclude>**/resources/static/</exclude> |
| <!-- WASM files --> |
| <exclude>**/*.rs</exclude> |
| <exclude>**/*.toml</exclude> |
| <exclude>**/*.wasm</exclude> |
| <exclude>**/*.dll</exclude> |
| <exclude>**/*.dylib</exclude> |
| <exclude>**/*.so</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |