--- /dev/null
+<?xml version='1.0' encoding='UTF-8'?>
+
+<!--
+ ~ Copyright (c) 2015. Developed by Hedgecode.
+ ~
+ ~ 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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <!--parent>
+ <groupId>org.hedgecode.maven</groupId>
+ <artifactId>maven-parent</artifactId>
+ <version>1</version>
+ </parent-->
+
+ <groupId>org.hedgecode.xml</groupId>
+ <artifactId>hespiff</artifactId>
+ <version>0.1-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <name>Hedgecode XSPF API</name>
+ <description>
+ Hedgecode XSPF API.
+ </description>
+ <inceptionYear>2015</inceptionYear>
+
+ <url>http://hedgecode.org/xml/${project.artifactId}/</url>
+
+ <scm>
+ <connection>scm:svn:http://svn.hedgecode.org/xml/${project.artifactId}/trunk/</connection>
+ <developerConnection>scm:svn:http://svn.hedgecode.org/xml/${project.artifactId}/trunk/</developerConnection>
+ <url>http://svn.hedgecode.org/xml/${project.artifactId}/trunk/</url>
+ </scm>
+
+ <properties>
+ <javaVersion>7</javaVersion>
+ <maven.compiler.source>1.${javaVersion}</maven.compiler.source>
+ <maven.compiler.target>1.${javaVersion}</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <junitVersion>4.8.2</junitVersion>
+
+ <project.package>${project.groupId}.xspf</project.package>
+ <xsd.directory>${project.basedir}/src/main/xsd</xsd.directory>
+ <xsd.filename>xspf-1_0.2</xsd.filename>
+ <relaxng.directory>${project.basedir}/src/main/rng</relaxng.directory>
+ <relaxng.filename>xspf-1_0.7</relaxng.filename>
+ <generated.xsd.directory>${project.build.directory}/generated-xsd</generated.xsd.directory>
+ <generated.sources.directory>${project.build.directory}/generated-sources</generated.sources.directory>
+ <generated.meta.directory>${project.build.outputDirectory}/META-INF</generated.meta.directory>
+
+ <!--mavenDependencyPluginVersion>2.8</mavenDependencyPluginVersion>
+ <mavenJarPluginVersion>2.5</mavenJarPluginVersion>
+ <mavenAssemblyPluginVersion>2.4.1</mavenAssemblyPluginVersion>
+ <mavenReleasePluginVersion>2.5.3</mavenReleasePluginVersion-->
+
+ <issueKeyNumber>LIB-4</issueKeyNumber>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${junitVersion}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <!--plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.7</version>
+ <executions>
+ <execution>
+ <id>copy-xsd</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${generated.xsd.directory}</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${xsd.directory}</directory>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin-->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.7</version>
+ <executions>
+ <execution>
+ <id>copy-xsd</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${generated.meta.directory}</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${xsd.directory}</directory>
+ </resource>
+ <resource>
+ <directory>${relaxng.directory}</directory>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>us.bryon</groupId>
+ <artifactId>relaxng-maven-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>trang</goal>
+ </goals>
+ <configuration>
+ <translations>
+ <translation>
+ <in>${relaxng.directory}/${relaxng.filename}.rng</in>
+ <out>${generated.xsd.directory}/${relaxng.filename}.xsd</out>
+ </translation>
+ </translations>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jaxb2-maven-plugin</artifactId>
+ <version>2.2</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>xjc</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${generated.sources.directory}/xsd</outputDirectory>
+ <packageName>${project.package}.xsd</packageName>
+ <arguments>
+ <argument>-episode</argument>
+ <argument>${generated.meta.directory}/xsd-jaxb.episode</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.jvnet.jaxb2.maven2</groupId>
+ <artifactId>maven-jaxb2-plugin</artifactId>
+ <version>0.13.1</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <schemaDirectory>${generated.xsd.directory}</schemaDirectory>
+ <generateDirectory>${generated.sources.directory}/rng</generateDirectory>
+ <generatePackage>${project.package}.rng</generatePackage>
+ <episodeFile>${generated.meta.directory}/rng-jaxb.episode</episodeFile>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.9.1</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>${generated.sources.directory}/xsd</source>
+ <source>${generated.sources.directory}/rng</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>