| <?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>18</version> |
| </parent> |
| |
| <groupId>org.apache.servicecomb.toolkit</groupId> |
| <artifactId>toolkit</artifactId> |
| <version>0.2.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <name>Microservice development toolkit</name> |
| <url>https://github.com/apache/servicecomb-toolkit</url> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| |
| <licenses> |
| <license> |
| <name>Apache License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <mailingLists> |
| <mailingList> |
| <name>Development List</name> |
| <subscribe>dev-subscribe@servicecomb.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@servicecomb.apache.org</unsubscribe> |
| <post>dev@servicecomb.apache.org</post> |
| </mailingList> |
| <mailingList> |
| <name>Commits List</name> |
| <subscribe>commits-subscribe@servicecomb.apache.org</subscribe> |
| <unsubscribe>commits-unsubscribe@servicecomb.apache.org</unsubscribe> |
| <post>commits@servicecomb.apache.org</post> |
| </mailingList> |
| </mailingLists> |
| |
| <developers> |
| <developer> |
| <name>The ServiceComb Developer Team</name> |
| <email>dev@servicecomb.apache.org</email> |
| </developer> |
| </developers> |
| |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/jira/browse/SCB</url> |
| </issueManagement> |
| |
| <organization> |
| <name>The Apache Software Foundation</name> |
| <url>http://www.apache.org/</url> |
| </organization> |
| |
| <inceptionYear>2019</inceptionYear> |
| |
| <scm> |
| <url>https://github.com/apache/servicecomb-toolkit</url> |
| <connection>scm:git:https://github.com/apache/servicecomb-toolkit.git</connection> |
| <developerConnection>scm:git:https://github.com/apache/servicecomb-toolkit.git</developerConnection> |
| <tag>v${project.version}</tag> |
| </scm> |
| |
| <distributionManagement> |
| <repository> |
| <id>apache.releases.https</id> |
| <name>Apache Release Distribution Repository</name> |
| <url>https://repository.apache.org/service/local/staging/deploy/maven2</url> |
| </repository> |
| <snapshotRepository> |
| <id>apache.snapshots.https</id> |
| <name>Apache Development Snapshot Repository</name> |
| <url>https://repository.apache.org/content/repositories/snapshots</url> |
| </snapshotRepository> |
| </distributionManagement> |
| |
| <modules> |
| <module>codegen</module> |
| <module>cli</module> |
| <module>docgen</module> |
| <module>common</module> |
| <module>toolkit-maven-plugin</module> |
| <module>core</module> |
| <module>integration-tests</module> |
| <module>contractgen</module> |
| </modules> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.servicecomb.toolkit</groupId> |
| <artifactId>cli</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.servicecomb.toolkit</groupId> |
| <artifactId>codegen</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.servicecomb.toolkit</groupId> |
| <artifactId>common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.servicecomb.toolkit</groupId> |
| <artifactId>core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.servicecomb.toolkit</groupId> |
| <artifactId>docgen</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.servicecomb.toolkit</groupId> |
| <artifactId>contractgen</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.servicecomb.toolkit</groupId> |
| <artifactId>toolkit-maven-plugin</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.eluder.coveralls</groupId> |
| <artifactId>coveralls-maven-plugin</artifactId> |
| <version>4.3.0</version> |
| <configuration> |
| <jacocoReports> |
| <jacocoReport> |
| ${project.basedir}/integration-tests/coverage-aggregate/target/site/jacoco-aggregate/jacoco.xml |
| </jacocoReport> |
| </jacocoReports> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>0.7.8</version> |
| <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> |
| </plugins> |
| </pluginManagement> |
| |
| |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>license-maven-plugin</artifactId> |
| <version>1.19</version> |
| <executions> |
| <execution> |
| <id>default-cli</id> |
| <configuration> |
| <!-- Accept the pom module --> |
| <acceptPomPackaging>true</acceptPomPackaging> |
| <!-- Using the template which is grouped by License file --> |
| <fileTemplate>/org/codehaus/mojo/license/third-party-file-groupByMultiLicense.ftl</fileTemplate> |
| <licenseMerges> |
| <licenseMerge>The Apache Software License, Version 2.0|The Apache License, Version 2.0</licenseMerge> |
| <licenseMerge>The Apache Software License, Version 2.0|Apache License, Version 2.0</licenseMerge> |
| <licenseMerge>The Apache Software License, Version 2.0|Apache Public License 2.0</licenseMerge> |
| <licenseMerge>The Apache Software License, Version 2.0|Apache 2</licenseMerge> |
| <licenseMerge>The Apache Software License, Version 2.0|Apache 2.0</licenseMerge> |
| <licenseMerge>The Apache Software License, Version 2.0|Apache-2.0</licenseMerge> |
| <licenseMerge>The Apache Software License, Version 2.0|Apache License 2.0</licenseMerge> |
| <licenseMerge>The Apache Software License, Version 2.0|Apache License, version 2.0</licenseMerge> |
| <licenseMerge>3-Clause BSD License|BSD 3-clause</licenseMerge> |
| <licenseMerge>3-Clause BSD License|BSD 3-Clause</licenseMerge> |
| <licenseMerge>Eclipse Public License v1.0|Eclipse Public License 1.0</licenseMerge> |
| <licenseMerge>Eclipse Public License v1.0|Eclipse Public License - v 1.0</licenseMerge> |
| <licenseMerge>The MIT License|MIT License</licenseMerge> |
| </licenseMerges> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.13</version> |
| <configuration> |
| <excludes> |
| <exclude>DISCLAIMER</exclude> |
| <exclude>.travis.yml</exclude> |
| <exclude>**/*.md</exclude> |
| <excldue>**/*.MD</excldue> |
| <exclude>**/target/*</exclude> |
| <!-- Skip the code style configuration file --> |
| <exclude>**/etc/eclipse-java-google-style.xml</exclude> |
| <exclude>**/etc/intellij-java-google-style.xml</exclude> |
| <!-- Skip the ssl configuration files --> |
| <exculde>**/resources/ssl/**</exculde> |
| <!-- SKip the licenses files --> |
| <exclude>**/release/licenses/**</exclude> |
| <!-- Skip the demo log files --> |
| <exclude>**/logs/**.log</exclude> |
| <exclude>**/**.log</exclude> |
| <!-- Skip the IDE file --> |
| <exclude>**/**.iml</exclude> |
| <!-- Skip web resource files --> |
| <exclude>**/images/*.png</exclude> |
| <exclude>**/images/*.jpg</exclude> |
| <!-- Skip template files --> |
| <exclude>**/**.mustache</exclude> |
| <!-- Skip test template files --> |
| <exclude>**/src/test/resources/**/*.yaml</exclude> |
| <exclude>**/src/test/resources/**/*.json</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-remote-resources-plugin</artifactId> |
| <version>1.6.0</version> |
| <executions> |
| <execution> |
| <id>process-resource-bundles</id> |
| <goals> |
| <goal>process</goal> |
| </goals> |
| <configuration> |
| <resourceBundles> |
| <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> |
| </resourceBundles> |
| <properties> |
| <projectName>Apache ServiceComb</projectName> |
| </properties> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>jacoco</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>0.7.8</version> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>release</id> |
| <modules> |
| <module>toolkit-distribution</module> |
| </modules> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>1.6</version> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.2.1</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.9.1</version> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.5.3</version> |
| <configuration> |
| <autoVersionSubmodules>true</autoVersionSubmodules> |
| <useReleaseProfile>false</useReleaseProfile> |
| <releaseProfiles>release</releaseProfiles> |
| <goals>deploy</goals> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |