| <?xml version="1.0"?> |
| <!-- |
| ~ 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 |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>io.servicecomb.demo</groupId> |
| <artifactId>demo-springmvc</artifactId> |
| <version>0.4.0</version> |
| </parent> |
| <artifactId>springmvc-client</artifactId> |
| |
| <dependencies> |
| <dependency> |
| <groupId>io.servicecomb.demo</groupId> |
| <artifactId>demo-schema</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.servicecomb</groupId> |
| <artifactId>provider-springmvc</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.servicecomb</groupId> |
| <artifactId>provider-pojo</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <properties> |
| <demo.main>io.servicecomb.demo.springmvc.client.SpringmvcClient</demo.main> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>com.github.odavid.maven.plugins</groupId> |
| <artifactId>mixin-maven-plugin</artifactId> |
| <configuration> |
| <mixins> |
| <mixin> |
| <groupId>io.servicecomb.demo</groupId> |
| <artifactId>docker-run-config</artifactId> |
| <version>0.4.0</version> |
| </mixin> |
| </mixins> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>docker</id> |
| <properties> |
| <demo.service.name>springmvc-server</demo.service.name> |
| <demo.vm.options> |
| -Dcse.highway.address=0.0.0.0:7070 |
| -Dcse.rest.address=0.0.0.0:8080?sslEnabled=false |
| </demo.vm.options> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>io.fabric8</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |