diff --git a/glassfish-dtd-parser-1.2-SNAPSHOT-src-svn.tar.gz b/glassfish-dtd-parser-1.2-SNAPSHOT-src-svn.tar.gz deleted file mode 100644 index bf7e98b..0000000 Binary files a/glassfish-dtd-parser-1.2-SNAPSHOT-src-svn.tar.gz and /dev/null differ diff --git a/glassfish-dtd-parser.spec b/glassfish-dtd-parser.spec index a43e739..7c918b1 100644 --- a/glassfish-dtd-parser.spec +++ b/glassfish-dtd-parser.spec @@ -1,12 +1,14 @@ Name: glassfish-dtd-parser -Version: 1.2 +Version: 1.4 Release: 1 Summary: Library for parsing XML DTDs License: CDDL-1.1 and GPLv2 with exceptions Url: https://github.com/javaee/jaxb-dtd-parser -Source0: %{name}-%{version}-SNAPSHOT-src-svn.tar.gz +Source0: https://github.com/javaee/jaxb-dtd-parser/archive/refs/tags/jaxb-dtd-parser-1.4.tar.gz +Source1: https://repo.maven.apache.org/maven2/net/java/jvnet-parent/5/jvnet-parent-5.pom BuildArch: noarch BuildRequires: bsf maven-local maven-enforcer-plugin sonatype-oss-parent + %description Library for parsing XML DTDs. @@ -16,7 +18,11 @@ Summary: Javadoc for %{name} This package contains javadoc for %{name}. %prep -%setup -q -n %{name}-%{version}-SNAPSHOT +%setup -q -n jaxb-dtd-parser-%{version} +mv ./dtd-parser/* ./ +rm -rf dtd-parser +cp %{SOURCE1} %{_builddir}/pom.xml +rm -rf ./src/module-info.java %build %mvn_file :dtd-parser %{name} @@ -32,5 +38,8 @@ This package contains javadoc for %{name}. %license LICENSE.txt %changelog +* Wed Sep 20 2023 Ge Wang - 1.4-1 +- Update to version 1.4 + * Tue Jul 28 2020 shaoqiang kang - 1.2-1 - Package init diff --git a/jaxb-dtd-parser-1.4.tar.gz b/jaxb-dtd-parser-1.4.tar.gz new file mode 100644 index 0000000..92f6a5e Binary files /dev/null and b/jaxb-dtd-parser-1.4.tar.gz differ diff --git a/jvnet-parent-5.pom b/jvnet-parent-5.pom new file mode 100644 index 0000000..7e82a90 --- /dev/null +++ b/jvnet-parent-5.pom @@ -0,0 +1,265 @@ + + + + 4.0.0 + + net.java + jvnet-parent + 5 + pom + + Java.net Parent + http://java.net/ + Java.net - The Source for Java Technology Collaboration + + + scm:git:git@github.com:sonatype/jvnet-parent.git + scm:git:git@github.com:sonatype/jvnet-parent.git + https://github.com/sonatype/jvnet-parent + + + + + jvnet-nexus-snapshots + Java.net Nexus Snapshots Repository + ${jvnetDistMgmtSnapshotsUrl} + + + jvnet-nexus-staging + Java.net Nexus Staging Repository + https://maven.java.net/service/local/staging/deploy/maven2/ + + + + + + + jvnet-nexus-releases + Java.net Releases Repositories + https://maven.java.net/content/repositories/releases/ + + true + + + false + + + + + + jvnet-nexus-releases + Java.net Releases Repositories + https://maven.java.net/content/repositories/releases/ + + true + + + false + + + + + + + + + org.apache.maven.plugins + maven-release-plugin + + forked-path + false + -Pjvnet-release ${release.arguments} + + + + + + + + UTF-8 + https://maven.java.net/content/repositories/snapshots/ + + + + + + + jvnet-release + + + + org.apache.maven.plugins + maven-source-plugin + 2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + 1.0-beta-1 + + + enforce-maven + + enforce + + + + + (,2.1.0),(2.1.0,2.2.0),(2.2.0,) + Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures + and checksums respectively. + + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.1 + + + sign-artifacts + verify + + sign + + + + + + + + + snapshots + + + jvnet-nexus-snapshots + Java.net Nexus Snapshots Repository + https://maven.java.net/content/repositories/snapshots + + false + + + true + + + + + + jvnet-nexus-snapshots + Java.net Nexus Snapshots Repository + https://maven.java.net/content/repositories/snapshots + + false + + + true + + + + + + staging + + false + + + + jvnet-nexus-staging + Java.net Staging Repositoriy + https://maven.java.net/content/repositories/staging/ + + true + + + false + + + + + + jvnet-nexus-staging + Java.net Staging Repositoriy + https://maven.java.net/content/repositories/staging/ + + true + + + false + + + + + + promoted + + false + + + + jvnet-nexus-promoted + Java.net Promoted Repositories + https://maven.java.net/content/repositories/promoted/ + + true + + + false + + + + + + jvnet-nexus-promoted + Java.net Promoted Repositories + https://maven.java.net/content/repositories/promoted/ + + true + + + false + + + + + +