From f26857e6c6a773c69bb34ed644d5371fd390ff1a Mon Sep 17 00:00:00 2001 From: gotty Date: Mon, 7 Jan 2019 22:41:22 +0000 Subject: [PATCH] [LIB-4] Change maven structure in pom.xml git-svn-id: https://svn.hedgecode.org/xml/hespiff/trunk@156 fb0bcced-7025-49ed-a12f-f98bce993226 --- pom.xml | 160 +++++++++++++++------ src/main/java/org/hedgecode/xml/xspf/XSPFApp.java | 30 ++++ .../org/hedgecode/xml/xspf/bind/BinderFactory.java | 2 +- 3 files changed, 148 insertions(+), 44 deletions(-) create mode 100644 src/main/java/org/hedgecode/xml/xspf/XSPFApp.java diff --git a/pom.xml b/pom.xml index c648b54..c4c4ddd 100644 --- a/pom.xml +++ b/pom.xml @@ -20,11 +20,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - + lib-parent + 2 + ../lib-parent/pom.xml + org.hedgecode.xml hespiff @@ -37,21 +38,42 @@ 2015 - http://hedgecode.org/xml/${project.artifactId}/ + http://lib.hedgecode.org/${project.artifactId}/ scm:svn:http://svn.hedgecode.org/xml/${project.artifactId}/trunk/ - scm:svn:http://svn.hedgecode.org/xml/${project.artifactId}/trunk/ + scm:svn:https://svn.hedgecode.org/xml/${project.artifactId}/trunk/ http://svn.hedgecode.org/xml/${project.artifactId}/trunk/ + + JIRA + http://issues.hedgecode.org/browse/${issueKey}/component/${issueComponentId} + + + + + hedgecode.website + Hedgecode Libs Website + dav:https://hedgecode.org/libs/${project.artifactId}/ + + + 7 1.${javaVersion} 1.${javaVersion} - UTF-8 - UTF-8 + 4.8.2 + 2.8 + 2.4.1 + 2.7 + 1.1 + 2.2 + 0.13.1 + 1.9.1 + 10020 + 4 ${project.groupId}.xspf ${project.basedir}/src/main/xsd @@ -61,13 +83,6 @@ ${project.build.directory}/generated-xsd ${project.build.directory}/generated-sources ${project.build.outputDirectory}/META-INF - - - - LIB-4 @@ -84,7 +99,7 @@ - org.apache.maven.plugins - maven-resources-plugin - 2.7 - - - copy-xsd - validate - - copy-resources - - - ${generated.meta.directory} - - - ${xsd.directory} - - - ${relaxng.directory} - - - - - + org.apache.maven.plugins + maven-resources-plugin + ${mavenResourcesPluginVersion} + + + copy-xsd + validate + + copy-resources + + + ${generated.meta.directory} + + + ${xsd.directory} + + + ${relaxng.directory} + + + + + us.bryon relaxng-maven-plugin - 1.1 + ${relaxngMavenPluginVersion} generate-sources @@ -152,7 +167,7 @@ org.codehaus.mojo jaxb2-maven-plugin - 2.2 + ${jaxb2MavenPluginVersion} generate-sources @@ -173,7 +188,7 @@ org.jvnet.jaxb2.maven2 maven-jaxb2-plugin - 0.13.1 + ${mavenJaxb2PluginVersion} generate-sources @@ -192,7 +207,7 @@ org.codehaus.mojo build-helper-maven-plugin - 1.9.1 + ${buildHelperMavenPluginVersoin} generate-sources @@ -208,7 +223,66 @@ + + org.apache.maven.plugins + maven-jar-plugin + ${mavenJarPluginVersion} + + + + true + true + org.hedgecode.xml.xspf.XSPFApp + + + ${project.artifactId} + + + + + + org.apache.maven.plugins + maven-release-plugin + ${mavenReleasePluginVersion} + + https://svn.hedgecode.org/xml/${project.artifactId}/tags + https://svn.hedgecode.org/xml/${project.artifactId}/branches + clean install + deploy + release + [${issueKey}-${issueNumber}] + + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + ${mavenReportsPluginVersion} + + false + + + + + index + summary + dependency-info + project-team + scm + dependency-management + dependencies + plugin-management + plugins + distribution-management + + + + + + + diff --git a/src/main/java/org/hedgecode/xml/xspf/XSPFApp.java b/src/main/java/org/hedgecode/xml/xspf/XSPFApp.java new file mode 100644 index 0000000..30815bf --- /dev/null +++ b/src/main/java/org/hedgecode/xml/xspf/XSPFApp.java @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2015-2017. 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. + */ + +package org.hedgecode.xml.xspf; + +/** + * XSPF API Main Application. + * + * @author Dmitry Samoshin aka gotty + */ +public final class XSPFApp { + + public static void main(String[] args) { + + } + +} diff --git a/src/main/java/org/hedgecode/xml/xspf/bind/BinderFactory.java b/src/main/java/org/hedgecode/xml/xspf/bind/BinderFactory.java index a4cbe36..709698d 100644 --- a/src/main/java/org/hedgecode/xml/xspf/bind/BinderFactory.java +++ b/src/main/java/org/hedgecode/xml/xspf/bind/BinderFactory.java @@ -66,7 +66,7 @@ public final class BinderFactory { return new XSDTrackBinder(trackType); } - private static PlaylistBinder getDefaultPlaylistBinder() { + private static PlaylistBinder getDefaultPlaylistBinder() { return new RNGPlaylistBinder(); } -- 2.10.0