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>
+ <parent>
<groupId>org.hedgecode.maven</groupId>
- <artifactId>maven-parent</artifactId>
- <version>1</version>
- </parent-->
+ <artifactId>lib-parent</artifactId>
+ <version>2</version>
+ <relativePath>../lib-parent/pom.xml</relativePath>
+ </parent>
<groupId>org.hedgecode.xml</groupId>
<artifactId>hespiff</artifactId>
</description>
<inceptionYear>2015</inceptionYear>
- <url>http://hedgecode.org/xml/${project.artifactId}/</url>
+ <url>http://lib.hedgecode.org/${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>
+ <developerConnection>scm:svn:https://svn.hedgecode.org/xml/${project.artifactId}/trunk/</developerConnection>
<url>http://svn.hedgecode.org/xml/${project.artifactId}/trunk/</url>
</scm>
+ <issueManagement>
+ <system>JIRA</system>
+ <url>http://issues.hedgecode.org/browse/${issueKey}/component/${issueComponentId}</url>
+ </issueManagement>
+
+ <distributionManagement>
+ <site>
+ <id>hedgecode.website</id>
+ <name>Hedgecode Libs Website</name>
+ <url>dav:https://hedgecode.org/libs/${project.artifactId}/</url>
+ </site>
+ </distributionManagement>
+
<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>
+ <mavenDependencyPluginVersion>2.8</mavenDependencyPluginVersion>
+ <mavenAssemblyPluginVersion>2.4.1</mavenAssemblyPluginVersion>
+ <mavenResourcesPluginVersion>2.7</mavenResourcesPluginVersion>
+ <relaxngMavenPluginVersion>1.1</relaxngMavenPluginVersion>
+ <jaxb2MavenPluginVersion>2.2</jaxb2MavenPluginVersion>
+ <mavenJaxb2PluginVersion>0.13.1</mavenJaxb2PluginVersion>
+ <buildHelperMavenPluginVersoin>1.9.1</buildHelperMavenPluginVersoin>
+ <issueComponentId>10020</issueComponentId>
+ <issueNumber>4</issueNumber>
<project.package>${project.groupId}.xspf</project.package>
<xsd.directory>${project.basedir}/src/main/xsd</xsd.directory>
<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>
<!--plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.7</version>
+ <version>${mavenResourcesPluginVersion}</version>
<executions>
<execution>
<id>copy-xsd</id>
</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>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>${mavenResourcesPluginVersion}</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>
+ <version>${relaxngMavenPluginVersion}</version>
<executions>
<execution>
<phase>generate-sources</phase>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
- <version>2.2</version>
+ <version>${jaxb2MavenPluginVersion}</version>
<executions>
<execution>
<phase>generate-sources</phase>
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
- <version>0.13.1</version>
+ <version>${mavenJaxb2PluginVersion}</version>
<executions>
<execution>
<phase>generate-sources</phase>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
- <version>1.9.1</version>
+ <version>${buildHelperMavenPluginVersoin}</version>
<executions>
<execution>
<phase>generate-sources</phase>
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>${mavenJarPluginVersion}</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <mainClass>org.hedgecode.xml.xspf.XSPFApp</mainClass>
+ </manifest>
+ <manifestEntries>
+ <Implementation-Title>${project.artifactId}</Implementation-Title>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>${mavenReleasePluginVersion}</version>
+ <configuration>
+ <tagBase>https://svn.hedgecode.org/xml/${project.artifactId}/tags</tagBase>
+ <branchBase>https://svn.hedgecode.org/xml/${project.artifactId}/branches</branchBase>
+ <preparationGoals>clean install</preparationGoals>
+ <goals>deploy</goals>
+ <releaseProfiles>release</releaseProfiles> <!-- todo: hedgecode-release -->
+ <scmCommentPrefix xml:space="preserve">[${issueKey}-${issueNumber}] </scmCommentPrefix>
+ </configuration>
+ </plugin>
</plugins>
</build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>${mavenReportsPluginVersion}</version>
+ <configuration>
+ <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>index</report>
+ <report>summary</report>
+ <report>dependency-info</report>
+ <report>project-team</report>
+ <report>scm</report>
+ <report>dependency-management</report>
+ <report>dependencies</report>
+ <report>plugin-management</report>
+ <report>plugins</report>
+ <report>distribution-management</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
+
</project>