<?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>

    <groupId>net.redora</groupId>
    <artifactId>templates</artifactId>
    <version>1.9.2</version>
    <name>Redora generator templates</name>
    <packaging>pom</packaging>
    <description>
        Redora uses Freemarker and XSLT templates to generate code. This zip package contains the
        default templates. You can create your own pack with templates to override these default
        templates if you wish. You can add them to your project using the maven dependency plugin.
    </description>
    <licenses>
        <license>
            <name>Apache 2</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
        </license>
    </licenses>
    <scm>
        <url>http://redora.googlecode.com/svn/tags/templates-1.9.2</url>
        <connection>scm:svn:http://redora.googlecode.com/svn/tags/templates-1.9.2</connection>
	    <!-- needed for mvn release:prepare: -->
	    <developerConnection>scm:svn:https://redora.googlecode.com/svn/tags/templates-1.9.2</developerConnection>
    </scm>
    <organization>
        <name>Nanjing RedOrange Co. ltd</name>
        <url>http://www.red-orange.cn</url>
    </organization>
    <developers>
        <developer>
            <name>Jaap Stelwagen</name>
            <email>jaap@red-orange.cn</email>
            <organization>RedOrange</organization>
        </developer>
        <developer>
            <name>应鑫 (Rick)</name>
            <email>rick@red-orange.cn</email>
            <organization>RedOrange</organization>
        </developer>
    </developers>
    <parent>
        <groupId>org.sonatype.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>7</version>
    </parent>
    <issueManagement>
        <system>Google Code</system>
        <url>http://code.google.com/p/redora/issues/list</url>
    </issueManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.2.2</version>
                <executions>
                    <execution>
                        <id>pack templates</id>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <phase>package</phase>
                        <configuration>
                            <descriptors>
                                <descriptor>src/main/assembly/resources.xml</descriptor>
                            </descriptors>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>