<?xml version="1.0" encoding="UTF-8"?>
<!-- - Copyright 1999-2011 Alibaba Group. - - 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/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.geoway.zbph</groupId>
	<artifactId>ns-zbph</artifactId>
	<version>2.5-rc</version>
	<packaging>pom</packaging>
	<name>${project.artifactId}</name>
	<properties>
		<skip_maven_deploy>true</skip_maven_deploy>
		<package.path>${project.basedir}/OUT</package.path>
		<skipTests>true</skipTests>
	</properties>
	<modules>
		<module>geoway-base</module>
		<!--<module>gw-web-starter</module>-->
		<module>geoway-metadata</module>
		<module>ns-zbph-sys</module>
		<module>ns-zbph-biz</module>
		<module>ns-zbph-server</module>
		<module>ns-zbph-scheduler</module>
		<module>ns-zbph-scheduler-server</module>
        <module>ns-zbph-api</module>
    </modules>
	
	 <build>
	 
	    <resources>  
	        <!--   maven项目中src源代码下的xml等资源文件编译进classes文件夹，
	      	    注意：如果没有这个，它会自动搜索resources下是否有mapper.xml文件，
	      	    如果没有就会报org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) -->
		      <resource>  
		        <directory>src/main/java</directory>  
		        <includes>  
		          <include>**/*.xml</include>  
		        </includes>  
		      </resource>
		      
		      <!-- 将resources目录下的配置文件编译进classes文件    -->
		      <resource>
					<directory>src/main/resources</directory>
			  </resource>
        </resources>
        
		<pluginManagement>
			 <plugins>  
				 <plugin>  
					 <groupId>org.apache.maven.plugins</groupId>  
					 <artifactId>maven-compiler-plugin</artifactId>  
					 <version>3.1</version>  
					 <configuration>  
						 <source>1.7</source>  
						 <target>1.7</target>  
					 </configuration>  
				 </plugin>  
			</plugins>  
	    </pluginManagement>
   </build>
	<repositories>
		<repository>
			<id>releases</id>
			<name>Release Repository</name>
			<url>http://atlas.geoway.com.cn:8005/nexus/repository/maven-public/</url>
		</repository>
		<repository>
			<id>public</id>
			<name>aliyun nexus</name>
			<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
			<releases>
				<enabled>true</enabled>
			</releases>
		</repository>
	</repositories>

	<distributionManagement>
		<repository>
			<id>releases</id>
			<name>Release Repository</name>
			<url>http://atlas.geoway.com.cn:8005/nexus/repository/maven-releases</url>
		</repository>
		<snapshotRepository>
			<id>snapshots</id>
			<url>http://atlas.geoway.com.cn:8005/nexus/repository/maven-snapshots/</url>
		</snapshotRepository>
	</distributionManagement>
</project>