<?xml version="1.0" encoding="UTF-8"?>
<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>
        <artifactId>{{projectName}}</artifactId>
        <groupId>{{packageName}}</groupId>
        <version>{{system.pub.versionString}}</version>
    </parent>

    <artifactId>{{projectName}}-rest</artifactId>
    <name>{{projectDesc}} Rest</name>
    <description>{{projectDesc}} Rest</description>
	<dependencies>
		<dependency>
			<groupId>{{packageName}}</groupId>
			<artifactId>{{projectName}}-api</artifactId>
            <version>{{system.pub.versionString}}</version>
		</dependency>
		<dependency>
			<groupId>{{packageName}}</groupId>
			<artifactId>{{projectName}}-core</artifactId>
            <version>{{system.pub.versionString}}</version>
		</dependency>
	</dependencies>
	<build>
		<resources>
			<resource>
				<directory>${basedir}/src/main/resources</directory>
				<includes>
					<include>**/**</include>
				</includes>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<groupId>cn.ibizlab</groupId>
				<artifactId>ibizlab-generator-plugin</artifactId>
				<version>1.0-SNAPSHOT</version>
				<configuration>
					<output>
						../
					</output>
					<inputSpec>
					    ../../XFOnline_1_3/model
					</inputSpec>
					<templateDirs>
						${basedir}/src/main/resources/templ
					</templateDirs>
					<packageName>
						${project.groupId}
					</packageName>
					<name>
						${parent.artifactId}
					</name>
				</configuration>
                <dependencies>
                    <dependency>
                        <groupId>cn.ibizlab</groupId>
                        <artifactId>ibizlab-template-apivo</artifactId>
                        <version>1.0-SNAPSHOT</version>
                    </dependency>
                </dependencies>
			</plugin>
		</plugins>
	</build>

</project>
