update to version 1.4
This commit is contained in:
parent
fce3211459
commit
8e32311310
Binary file not shown.
@ -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 <wang__ge@126.com> - 1.4-1
|
||||
- Update to version 1.4
|
||||
|
||||
* Tue Jul 28 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 1.2-1
|
||||
- Package init
|
||||
|
||||
BIN
jaxb-dtd-parser-1.4.tar.gz
Normal file
BIN
jaxb-dtd-parser-1.4.tar.gz
Normal file
Binary file not shown.
265
jvnet-parent-5.pom
Normal file
265
jvnet-parent-5.pom
Normal file
@ -0,0 +1,265 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2007-2014 Sonatype, Inc. All rights reserved.
|
||||
~
|
||||
~ This program is licensed to you under the Apache License Version 2.0,
|
||||
~ and you may not use this file except in compliance with the Apache License Version 2.0.
|
||||
~ You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the Apache License Version 2.0 is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
|
||||
-->
|
||||
<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>
|
||||
|
||||
<groupId>net.java</groupId>
|
||||
<artifactId>jvnet-parent</artifactId>
|
||||
<version>5</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>Java.net Parent</name>
|
||||
<url>http://java.net/</url>
|
||||
<description>Java.net - The Source for Java Technology Collaboration</description>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:sonatype/jvnet-parent.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:sonatype/jvnet-parent.git</developerConnection>
|
||||
<url>https://github.com/sonatype/jvnet-parent</url>
|
||||
</scm>
|
||||
|
||||
<distributionManagement>
|
||||
<snapshotRepository>
|
||||
<id>jvnet-nexus-snapshots</id>
|
||||
<name>Java.net Nexus Snapshots Repository</name>
|
||||
<url>${jvnetDistMgmtSnapshotsUrl}</url>
|
||||
</snapshotRepository>
|
||||
<repository>
|
||||
<id>jvnet-nexus-staging</id>
|
||||
<name>Java.net Nexus Staging Repository</name>
|
||||
<url>https://maven.java.net/service/local/staging/deploy/maven2/</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
<!--
|
||||
Configure jvnet-nexus-releases repository by default.
|
||||
-->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>jvnet-nexus-releases</id>
|
||||
<name>Java.net Releases Repositories</name>
|
||||
<url>https://maven.java.net/content/repositories/releases/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>jvnet-nexus-releases</id>
|
||||
<name>Java.net Releases Repositories</name>
|
||||
<url>https://maven.java.net/content/repositories/releases/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-release-plugin</artifactId>
|
||||
<configuration>
|
||||
<mavenExecutorId>forked-path</mavenExecutorId>
|
||||
<useReleaseProfile>false</useReleaseProfile>
|
||||
<arguments>-Pjvnet-release ${release.arguments}</arguments>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<jvnetDistMgmtSnapshotsUrl>https://maven.java.net/content/repositories/snapshots/</jvnetDistMgmtSnapshotsUrl>
|
||||
<!--
|
||||
intialize release.arguments to empty, otherwise if not defined
|
||||
it can fail the release plugin
|
||||
-->
|
||||
<release.arguments></release.arguments>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>jvnet-release</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.8</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<version>1.0-beta-1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enforce-maven</id>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<rules>
|
||||
<requireMavenVersion>
|
||||
<version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
|
||||
<message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures
|
||||
and checksums respectively.</message>
|
||||
</requireMavenVersion>
|
||||
</rules>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</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>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>snapshots</id>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>jvnet-nexus-snapshots</id>
|
||||
<name>Java.net Nexus Snapshots Repository</name>
|
||||
<url>https://maven.java.net/content/repositories/snapshots</url>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>jvnet-nexus-snapshots</id>
|
||||
<name>Java.net Nexus Snapshots Repository</name>
|
||||
<url>https://maven.java.net/content/repositories/snapshots</url>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>staging</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>jvnet-nexus-staging</id>
|
||||
<name>Java.net Staging Repositoriy</name>
|
||||
<url>https://maven.java.net/content/repositories/staging/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>jvnet-nexus-staging</id>
|
||||
<name>Java.net Staging Repositoriy</name>
|
||||
<url>https://maven.java.net/content/repositories/staging/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>promoted</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>jvnet-nexus-promoted</id>
|
||||
<name>Java.net Promoted Repositories</name>
|
||||
<url>https://maven.java.net/content/repositories/promoted/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>jvnet-nexus-promoted</id>
|
||||
<name>Java.net Promoted Repositories</name>
|
||||
<url>https://maven.java.net/content/repositories/promoted/</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
Loading…
x
Reference in New Issue
Block a user