<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>
	<groupId>com.ovopark</groupId>
	<artifactId>shopweb-passengerflow</artifactId>
	<version>1.0.2-SNAPSHOT</version>
	<packaging>pom</packaging>
	
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
   		<version>2.0.9.RELEASE</version>
        <relativePath/>
    </parent>  	
	
	<modules>
		<module>shopweb-passengerflow-common</module>
		<module>shopweb-passengerflow-sdk</module>
		<module>shopweb-passengerflow-domain</module>
		<module>shopweb-passengerflow-infra</module>
		<module>shopweb-passengerflow-app</module>
		<module>shopweb-passengerflow-server</module>
		<module>passenger-consumer</module>
    </modules>
	
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <java.version>1.8</java.version>
        <spring-cloud.version>Finchley.SR4</spring-cloud.version>
        <shopweb-passengerflow-common>1.0.2-SNAPSHOT</shopweb-passengerflow-common>
    </properties>

	<profiles>
		<profile>
			<id>aws</id>
			<properties>
				<profileActive>aws</profileActive>
			</properties>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
		</profile>

		<profile>
			<id>dev</id>
			<properties>
				<profileActive>dev</profileActive>
			</properties>
		</profile>

		<profile>
			<id>docker</id>
			<properties>
				<profileActive>docker</profileActive>
			</properties>
		</profile>

		<profile>
			<id>canary</id>
			<properties>
				<profileActive>canary</profileActive>
			</properties>
		</profile>

		<profile>
			<id>fila</id>
			<properties>
				<profileActive>fila</profileActive>
			</properties>
		</profile>

		<profile>
			<id>filatest</id>
			<properties>
				<profileActive>filatest</profileActive>
			</properties>
		</profile>

		<profile>
			<id>formal</id>
			<properties>
				<profileActive>formal</profileActive>
			</properties>
		</profile>

		<!--茵曼-->
		<profile>
			<id>inman</id>
			<properties>
				<profileActive>inman</profileActive>
			</properties>
		</profile>

		<profile>
			<id>local</id>
			<properties>
				<profileActive>local</profileActive>
			</properties>
		</profile>

		<profile>
			<id>mc</id>
			<properties>
				<profileActive>mc</profileActive>
			</properties>
		</profile>

		<profile>
			<id>overseas</id>
			<properties>
				<profileActive>overseas</profileActive>
			</properties>
		</profile>

		<profile>
			<id>test</id>
			<properties>
				<profileActive>test</profileActive>
			</properties>
		</profile>

	</profiles>
    
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-dependencies</artifactId>
                <version>${spring-cloud.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            
            <dependency>
            	<groupId>com.ovopark</groupId>
            	<artifactId>shopweb-passengerflow-common</artifactId>
            	<version>${shopweb-passengerflow-common}</version>
            </dependency>

			<dependency>
				<groupId>com.ovopark</groupId>
				<artifactId>shopweb-passengerflow-infra</artifactId>
				<version>${shopweb-passengerflow-common}</version>
			</dependency>

			<dependency>
				<groupId>com.ovopark</groupId>
				<artifactId>shopweb-passengerflow-domain</artifactId>
				<version>${shopweb-passengerflow-common}</version>
			</dependency>

			<dependency>
				<groupId>com.ovopark</groupId>
				<artifactId>shopweb-passengerflow-app</artifactId>
				<version>${shopweb-passengerflow-common}</version>
			</dependency>

        </dependencies>
    </dependencyManagement>
    
	<distributionManagement>
		<repository>
			<id>nexus-releases</id>
			<url>https://nexus.ovopark.com/nexus/content/repositories/releases/</url>
		</repository>
		<snapshotRepository>
			<id>nexus-snapshots</id>
			<url>https://nexus.ovopark.com/nexus/content/repositories/snapshots/</url>
		</snapshotRepository>
	</distributionManagement>    
    
	<!-- 仓库地址 -->
	<repositories>
		<repository>
			<id>nexus</id>
			<name>Team Nexus Repository</name>
			<url>https://nexus.ovopark.com/nexus/content/groups/public/</url>
		</repository>
	</repositories>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
			</plugin>
		</plugins>
	</build>

</project>