<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">
	<parent>
		<artifactId>oss-parent</artifactId>
		<groupId>org.sonatype.oss</groupId>
		<version>7</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>

	<groupId>org.jooq</groupId>
	<artifactId>jooq-meta</artifactId>
	<version>2.3.2</version>
	<packaging>jar</packaging>

	<name>jOOQ Meta</name>
	<description>jOOQ effectively combines complex SQL, typesafety, source code generation, active records, stored procedures, advanced data types, and Java in a fluent, intuitive DSL.</description>
	<url>http://www.jooq.org</url>


	<licenses>
		<license>
			<name>Apache License, Version 2.0</name>
			<url>http://www.jooq.org/inc/LICENSE.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<scm>
		<connection>scm:svn:https://jooq.svn.sourceforge.net/svnroot/jooq</connection>
		<developerConnection>scm:svn:https://jooq.svn.sourceforge.net/svnroot/jooq</developerConnection>
		<url>https://jooq.svn.sourceforge.net/svnroot/jooq</url>
	</scm>

	<build>
		<defaultGoal>deploy</defaultGoal>
		<finalName>${project.artifactId}-${project.version}</finalName>

		<plugins>

		    <!-- XJC-generate JAXB artefacts. Contribution is the courtesy
		         of Sergey Epik -->
			<plugin>
			    <groupId>org.jvnet.jaxb2.maven2</groupId>
			    <artifactId>maven-jaxb2-plugin</artifactId>
			    <version>0.8.1</version>
			    <executions>
			        <execution>
			            <goals>
			                <goal>generate</goal>
			            </goals>
			        </execution>
			    </executions>
			    <configuration>
			        <extension>true</extension>
			        <strict>false</strict>
			        <schemaDirectory>src/main/resources/xsd</schemaDirectory>
			        <schemaIncludes>
			            <include>jooq-codegen-2.3.0.xsd</include>
			        </schemaIncludes>
			        <generatePackage>org.jooq.util.jaxb</generatePackage>
			        <args>
			            <arg>-Xxew</arg>
			            <arg>-Xxew:instantiate lazy</arg>
			            <arg>-Xxew:delete</arg>
			            <arg>-Xfluent-api</arg>
			            <arg>-Xdefault-value</arg>
			        </args>
			        <plugins>
			            <plugin>
			                <groupId>com.github.jaxb-xew-plugin</groupId>
			                <artifactId>jaxb-xew-plugin</artifactId>
			                <version>1.0</version>
			           </plugin>
			            <plugin>
			                <groupId>org.jvnet.jaxb2_commons</groupId>
			                <artifactId>jaxb2-fluent-api</artifactId>
			                <version>3.0</version>
			            </plugin>
			            <plugin>
			                <groupId>org.jvnet.jaxb2_commons</groupId>
			                <artifactId>jaxb2-default-value</artifactId>
			                <version>1.1</version>
			            </plugin>
			        </plugins>
			    </configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-gpg-plugin</artifactId>
				<version>1.1</version>
				<executions>
					<execution>
						<id>sign-artifacts</id>
						<phase>verify</phase>
						<goals>
							<goal>sign</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.3.2</version>
				<configuration>
					<fork>true</fork>
					<maxmem>512m</maxmem>
					<meminitial>256m</meminitial>
					<encoding>UTF-8</encoding>
					<source>1.6</source>
					<target>1.6</target>
					<debug>true</debug>
					<debuglevel>lines,vars,source</debuglevel>
				</configuration>
			</plugin>

			<plugin>
				<inherited>true</inherited>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.1.2</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>

				<configuration>
					<excludeResources>true</excludeResources>
					<useDefaultExcludes>true</useDefaultExcludes>
				</configuration>
			</plugin>

			<plugin>
				<inherited>true</inherited>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.7</version>
				<executions>
					<execution>
						<id>bundle-sources</id>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<maxmemory>512</maxmemory>
					<encoding>UTF-8</encoding>
					<show>protected</show>
					<notree>true</notree>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.5</version>
				<configuration>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-eclipse-plugin</artifactId>
                <version>2.8</version>
                <configuration>
                    <downloadSources>true</downloadSources>
                </configuration>
            </plugin>
		</plugins>
	</build>

	<issueManagement>
		<system>Trac</system>
		<url>https://sourceforge.net/apps/trac/jooq/report/6</url>
	</issueManagement>

	<developers>
		<developer>
			<name>Lukas Eder</name>
			<email>lukas.eder@gmail.com</email>
		</developer>
		<developer>
			<name>Espen Stromsnes</name>
			<email>estromsnes@gmail.com</email>
		</developer>
	</developers>

	<dependencies>
		<dependency>
			<groupId>org.jooq</groupId>
			<artifactId>jooq</artifactId>
			<version>2.3.2</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>
	</dependencies>
</project>