| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Copyright 2017 Huawei Technologies Co., Ltd |
| ~ |
| ~ Licensed 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>io.servicecomb</groupId> |
| <artifactId>java-chassis-parent</artifactId> |
| <version>0.1.0-m1</version> |
| <relativePath>parent</relativePath> |
| </parent> |
| |
| <groupId>io.servicecomb</groupId> |
| <artifactId>java-chassis</artifactId> |
| <version>0.1.0-m1</version> |
| <packaging>pom</packaging> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>io.servicecomb</groupId> |
| <artifactId>java-chassis-dependencies</artifactId> |
| <version>0.1.0-m1</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.jmockit</groupId> |
| <artifactId>jmockit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-aspects</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <modules> |
| <module>parent</module> |
| <module>java-chassis-dependencies</module> |
| |
| <module>foundation-ssl</module> |
| <module>foundation-common</module> |
| <module>foundation-vertx</module> |
| <module>foundation-metrics</module> |
| <module>foundation-config</module> |
| |
| <module>common-javassist</module> |
| <module>swagger</module> |
| |
| <module>common-protobuf</module> |
| |
| <module>core</module> |
| |
| <module>transport-grpc</module> |
| |
| <module>common-rest</module> |
| <module>transport-rest</module> |
| |
| <module>transport-highway</module> |
| |
| <module>handler-loadbalance</module> |
| <module>handler-bizkeeper</module> |
| <module>handler-flowcontrol-qps</module> |
| |
| <module>service-registry</module> |
| |
| <module>provider-jaxrs</module> |
| <module>provider-pojo</module> |
| <module>provider-springmvc</module> |
| <module>provider-rest-common</module> |
| |
| <module>spring-boot-starter</module> |
| <module>demo</module> |
| <module>integration-tests</module> |
| <module>java-chassis-distribution</module> |
| </modules> |
| |
| <distributionManagement> |
| <repository> |
| <id>ossrh</id> |
| <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| </repository> |
| <snapshotRepository> |
| <id>ossrh</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| </snapshotRepository> |
| </distributionManagement> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.2.1</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.17</version> |
| <dependencies> |
| <dependency> |
| <groupId>com.puppycrawl.tools</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>7.6</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <configLocation>checkstyle.xml</configLocation> |
| <excludes>**/demo/**</excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.18.1</version> |
| <configuration> |
| <skip>${maven.test.skip}</skip> |
| <testFailureIgnore>${maven.test.failure.ignore}</testFailureIgnore> |
| <excludes> |
| <exclude>${excludesFile}</exclude> |
| </excludes> |
| <forkCount>2</forkCount> |
| <reuseForks>false</reuseForks> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>3.0.1</version> |
| <configuration> |
| <findbugsXmlOutput>true</findbugsXmlOutput> |
| <findbugsXmlWithMessages>true</findbugsXmlWithMessages> |
| <xmlOutput>true</xmlOutput> |
| <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <compilerArgument>-parameters</compilerArgument> |
| <encoding>UTF-8</encoding> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.eluder.coveralls</groupId> |
| <artifactId>coveralls-maven-plugin</artifactId> |
| <version>4.3.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>0.7.8</version> |
| <configuration> |
| <excludes> |
| <exclude>*$Impl_*</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <id>default-prepare-agent</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| <configuration> |
| <destFile>${project.build.directory}/jacoco.exec</destFile> |
| </configuration> |
| </execution> |
| <execution> |
| <id>default-prepare-agent-integration</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>prepare-agent-integration</goal> |
| </goals> |
| <configuration> |
| <destFile>${project.build.directory}/jacoco-it.exec</destFile> |
| <propertyName>jacoco.failsafe.argLine</propertyName> |
| </configuration> |
| </execution> |
| <execution> |
| <id>default-report</id> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>default-report-integration</id> |
| <goals> |
| <goal>report-integration</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>io.fabric8</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <version>0.20.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.gmaven</groupId> |
| <artifactId>gmaven-plugin</artifactId> |
| <version>1.5</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jxr-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <profiles> |
| <profile> |
| <id>docker-machine</id> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>io.fabric8</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <configuration> |
| <machine> |
| <name>default</name> |
| <autoCreate>true</autoCreate> |
| </machine> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| </profile> |
| <profile> |
| <id>jacoco</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |