update to version 2.3.1
This commit is contained in:
parent
13a167d899
commit
7877581ca8
@ -1,14 +1,16 @@
|
||||
Name: glassfish-jaxb-api
|
||||
Version: 2.2.12
|
||||
Release: 12
|
||||
Version: 2.3.1
|
||||
Release: 1
|
||||
Summary: Java Architecture of XML Binding
|
||||
License: CDDL-1.1 or GPLv2 with exceptions
|
||||
URL: http://jaxb.java.net/
|
||||
Source0: https://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.2.12-b141001.1542/jaxb-api-%{version}-b141001.1542-sources.jar
|
||||
Source1: https://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.2.12-b141001.1542/jaxb-api-%{version}-b141001.1542.pom
|
||||
Source0: https://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1-sources.jar
|
||||
Source1: https://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.pom
|
||||
Source2: https://repo1.maven.org/maven2/javax/xml/bind/jaxb-api-parent/2.3.1/jaxb-api-parent-2.3.1.pom
|
||||
|
||||
BuildRequires: java-javadoc maven-local mvn(net.java:jvnet-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -39,11 +41,16 @@ install -p %{SOURCE1} pom.xml
|
||||
%pom_remove_plugin org.glassfish.copyright:glassfish-copyright-maven-plugin
|
||||
%pom_remove_plugin org.glassfish.build:gfnexus-maven-plugin
|
||||
%pom_remove_plugin :findbugs-maven-plugin
|
||||
%pom_remove_plugin :maven-gpg-plugin
|
||||
%pom_remove_plugin :maven-enforcer-plugin
|
||||
%pom_remove_plugin :cobertura-maven-plugin
|
||||
%pom_remove_plugin :maven-antrun-plugin
|
||||
%pom_remove_dep javax.activation:javax.activation-api
|
||||
%pom_xpath_set "pom:instructions/pom:Import-Package" "javax.activation;resolution:=optional,*"
|
||||
sed -i 's|<location>${basedir}/offline-javadoc</location>|<location>%{_javadocdir}/java</location>|' pom.xml
|
||||
cp %{SOURCE2} %{_builddir}/pom.xml
|
||||
sed -i '/<release>8/d' pom.xml
|
||||
sed -i '/<release>9/d' pom.xml
|
||||
rm -rf src/main/java/module-info.java
|
||||
|
||||
%build
|
||||
%mvn_file :jaxb-api jaxb-api
|
||||
@ -57,6 +64,9 @@ sed -i 's|<location>${basedir}/offline-javadoc</location>|<location>%{_javadocdi
|
||||
%files help -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Tue Oct 24 2023 Ge Wang <wang__ge@126.com> - 2.3.1-1
|
||||
- Update to version 2.3.1
|
||||
|
||||
* Thu Jul 7 2022 Chenyx <chenyixiong3@huawei.com> - 2.2.12-12
|
||||
- License compliance rectification
|
||||
|
||||
|
||||
Binary file not shown.
@ -1,382 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
|
||||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
||||
|
||||
Copyright (c) 1997-2013 Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
The contents of this file are subject to the terms of either the GNU
|
||||
General Public License Version 2 only ("GPL") or the Common Development
|
||||
and Distribution License("CDDL") (collectively, the "License"). You
|
||||
may not use this file except in compliance with the License. You can
|
||||
obtain a copy of the License at
|
||||
http://glassfish.java.net/public/CDDL+GPL_1_1.html
|
||||
or packager/legal/LICENSE.txt. See the License for the specific
|
||||
language governing permissions and limitations under the License.
|
||||
|
||||
When distributing the software, include this License Header Notice in each
|
||||
file and include the License file at packager/legal/LICENSE.txt.
|
||||
|
||||
GPL Classpath Exception:
|
||||
Oracle designates this particular file as subject to the "Classpath"
|
||||
exception as provided by Oracle in the GPL Version 2 section of the License
|
||||
file that accompanied this code.
|
||||
|
||||
Modifications:
|
||||
If applicable, add the following below the License Header, with the fields
|
||||
enclosed by brackets [] replaced by your own identifying information:
|
||||
"Portions Copyright [year] [name of copyright owner]"
|
||||
|
||||
Contributor(s):
|
||||
If you wish your version of this file to be governed by only the CDDL or
|
||||
only the GPL Version 2, indicate your decision by adding "[Contributor]
|
||||
elects to include this software in this distribution under the [CDDL or GPL
|
||||
Version 2] license." If you don't indicate a single choice of license, a
|
||||
recipient has the option to distribute your version of this file under
|
||||
either the CDDL, the GPL Version 2 or to extend the choice of license to
|
||||
its licensees as provided above. However, if you add GPL Version 2 code
|
||||
and therefore, elected the GPL Version 2 license, then the option applies
|
||||
only if the new code is made subject to such option by the copyright
|
||||
holder.
|
||||
|
||||
-->
|
||||
|
||||
<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/maven-v4_0_0.xsd">
|
||||
|
||||
<parent>
|
||||
<groupId>net.java</groupId>
|
||||
<artifactId>jvnet-parent</artifactId>
|
||||
<version>4</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<version>2.2.12-b141001.1542</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Java Architecture for XML Binding</name>
|
||||
<description>JAXB (JSR 222) API</description>
|
||||
<url>http://jaxb.java.net/</url>
|
||||
|
||||
<organization>
|
||||
<name>Oracle Corporation</name>
|
||||
<url>http://www.oracle.com/</url>
|
||||
</organization>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Martin Grebac</name>
|
||||
<email>martin.grebac@oracle.com</email>
|
||||
<organization>Oracle Corporation</organization>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Iaroslav Savytskyi</name>
|
||||
<email>iaroslav.savytskyi@oracle.com</email>
|
||||
<organization>Oracle Corporation</organization>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>CDDL 1.1</name>
|
||||
<url>https://glassfish.java.net/public/CDDL+GPL_1_1.html</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
<license>
|
||||
<name>GPL2 w/ CPE</name>
|
||||
<url>https://glassfish.java.net/public/CDDL+GPL_1_1.html</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<scm>
|
||||
<connection>scm:svn:http://svn.java.net/svn/jsr222~svn/branches/jaxb-2_2</connection>
|
||||
<developerConnection>scm:svn:https://svn.java.net/svn/jsr222~svn/branches/jaxb-2_2</developerConnection>
|
||||
<url>http://java.net/projects/jsr222/sources/svn/show/branches/jaxb-2_2</url>
|
||||
</scm>
|
||||
<issueManagement>
|
||||
<system>jira</system>
|
||||
<url>http://java.net/jira/browse/JAXB</url>
|
||||
</issueManagement>
|
||||
|
||||
<properties>
|
||||
<release.spec.feedback>spec-comments@jsr222.java.net</release.spec.feedback>
|
||||
<release.spec.date>Dec 2009</release.spec.date>
|
||||
<findbugs.exclude>${project.basedir}/exclude.xml</findbugs.exclude>
|
||||
<findbugs.threshold>Low</findbugs.threshold>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/java</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.glassfish.build</groupId>
|
||||
<artifactId>gfnexus-maven-plugin</artifactId>
|
||||
<version>0.18</version>
|
||||
<configuration>
|
||||
<stagingRepos>
|
||||
<stagingRepo>
|
||||
<ref>javax.xml.bind:jaxb-api:${project.version}:jar</ref>
|
||||
<profile>javax.xml.bind</profile>
|
||||
</stagingRepo>
|
||||
</stagingRepos>
|
||||
<promotionProfile>metro</promotionProfile>
|
||||
<message>JAXB_API-${project.version}</message>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enforce-versions</id>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<rules>
|
||||
<requireJavaVersion>
|
||||
<version>[1.6,)</version>
|
||||
</requireJavaVersion>
|
||||
<requireMavenVersion>
|
||||
<version>[3.0.3,)</version>
|
||||
</requireMavenVersion>
|
||||
<DependencyConvergence />
|
||||
</rules>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>cobertura-maven-plugin</artifactId>
|
||||
<version>2.5.1</version>
|
||||
<configuration>
|
||||
<formats>
|
||||
<format>xml</format>
|
||||
</formats>
|
||||
<check>
|
||||
<totalLineRate>45</totalLineRate>
|
||||
<packageLineRate>45</packageLineRate>
|
||||
<haltOnFailure>true</haltOnFailure>
|
||||
</check>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.glassfish.copyright</groupId>
|
||||
<artifactId>glassfish-copyright-maven-plugin</artifactId>
|
||||
<version>1.29</version>
|
||||
<configuration>
|
||||
<templateFile>${project.basedir}/copyright.txt</templateFile>
|
||||
<excludeFile>${project.basedir}/copyright-exclude</excludeFile>
|
||||
<!-- skip files not under SCM-->
|
||||
<scmOnly>true</scmOnly>
|
||||
<!-- turn off warnings -->
|
||||
<warn>true</warn>
|
||||
<!-- for use with repair -->
|
||||
<update>false</update>
|
||||
<!-- check that year is correct -->
|
||||
<ignoreYear>false</ignoreYear>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>2.5.1</version>
|
||||
<configuration>
|
||||
<source>1.5</source>
|
||||
<target>1.5</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
<manifestEntries>
|
||||
<Extension-Name>javax.xml.bind</Extension-Name>
|
||||
<Implementation-Build-Id>${scmBranch}-${buildNumber}, ${timestamp}</Implementation-Build-Id>
|
||||
</manifestEntries>
|
||||
<manifest>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||
<version>1.1</version>
|
||||
<configuration>
|
||||
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
|
||||
<timestampFormat>{0,date,yyyy-MM-dd'T'HH:mm:ssZ}</timestampFormat>
|
||||
<providerImplementations>
|
||||
<svn>javasvn</svn>
|
||||
</providerImplementations>
|
||||
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
|
||||
<revisionOnScmFailure>false</revisionOnScmFailure>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>create</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.tmatesoft.svnkit</groupId>
|
||||
<artifactId>svnkit</artifactId>
|
||||
<version>1.7.4-v1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<version>2.3.7</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
<instructions>
|
||||
<Export-Package>{local-packages};version="${project.version}"</Export-Package>
|
||||
<Import-Package>
|
||||
javax.activation,
|
||||
javax.xml.bind;version="${project.version}",
|
||||
javax.xml.bind.annotation;version="${project.version}",
|
||||
javax.xml.bind.annotation.adapters;version="${project.version}",
|
||||
javax.xml.bind.attachment;version="${project.version}",
|
||||
javax.xml.bind.helpers;version="${project.version}",
|
||||
javax.xml.bind.util;version="${project.version}",
|
||||
javax.xml.datatype,
|
||||
javax.xml.namespace,
|
||||
javax.xml.parsers,
|
||||
javax.xml.stream,
|
||||
javax.xml.transform,
|
||||
javax.xml.transform.dom,
|
||||
javax.xml.transform.sax,
|
||||
javax.xml.transform.stream,
|
||||
javax.xml.validation,
|
||||
org.w3c.dom,
|
||||
org.xml.sax,
|
||||
org.xml.sax.ext,
|
||||
org.xml.sax.helpers
|
||||
</Import-Package>
|
||||
<Bundle-SymbolicName>jaxb-api</Bundle-SymbolicName>
|
||||
<Bundle-Name>jaxb-api</Bundle-Name>
|
||||
<DynamicImport-Package>org.glassfish.hk2.osgiresourcelocator</DynamicImport-Package>
|
||||
</instructions>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>bundle-manifest</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>manifest</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>2.5.2</version>
|
||||
<configuration>
|
||||
<skip>${findbugs.skip}</skip>
|
||||
<threshold>${findbugs.threshold}</threshold>
|
||||
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
|
||||
<excludeFilterFile>
|
||||
exclude-common.xml,${findbugs.exclude}
|
||||
</excludeFilterFile>
|
||||
<fork>true</fork>
|
||||
<jvmArgs>-Xms64m -Xmx256m</jvmArgs>
|
||||
</configuration>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.glassfish.findbugs</groupId>
|
||||
<artifactId>findbugs</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.9</version>
|
||||
<configuration>
|
||||
<nodeprecated>false</nodeprecated>
|
||||
<use>false</use>
|
||||
<author>true</author>
|
||||
<version>true</version>
|
||||
<doctitle><![CDATA[<br>
|
||||
JAXB ${project.version} Runtime Library</h2>
|
||||
${project.name} specification, ${release.spec.date}<br>
|
||||
Comments to: <i><a href='mailto:${release.spec.feedback}'>${release.spec.feedback}</a></i><br>
|
||||
More information at: <i><a target='_top'
|
||||
href='http://jaxb.java.net'>http://jaxb.java.net</a></i><br>
|
||||
<br> <br><hr width='65%'><h1>${project.name}</h1><hr width='75%'>
|
||||
<br> <br>]]>
|
||||
</doctitle>
|
||||
<header><![CDATA[JAXB<br>v${project.version}]]>
|
||||
</header>
|
||||
<bottom><![CDATA[<font size=-1>
|
||||
<br>Comments to: <a href='mailto:${release.spec.feedback}'><i>${release.spec.feedback}</i></a>
|
||||
<br>More information at: <a target='_top'
|
||||
href='http://jaxb.java.net'><i>http://jaxb.java.net</i></a>
|
||||
<p>Copyright © 2004-2011 Oracle </font>]]>
|
||||
</bottom>
|
||||
<detectJavaApiLink>false</detectJavaApiLink>
|
||||
<offlineLinks>
|
||||
<offlineLink>
|
||||
<url>http://download.oracle.com/javase/6/docs/api/</url>
|
||||
<location>${basedir}/offline-javadoc</location>
|
||||
</offlineLink>
|
||||
</offlineLinks>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.2.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-release-plugin</artifactId>
|
||||
<version>2.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.glassfish.build</groupId>
|
||||
<artifactId>gfnexus-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
</project>
|
||||
BIN
jaxb-api-2.3.1-sources.jar
Normal file
BIN
jaxb-api-2.3.1-sources.jar
Normal file
Binary file not shown.
426
jaxb-api-2.3.1.pom
Normal file
426
jaxb-api-2.3.1.pom
Normal file
@ -0,0 +1,426 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
|
||||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
||||
|
||||
Copyright (c) 2017-2018 Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
The contents of this file are subject to the terms of either the GNU
|
||||
General Public License Version 2 only ("GPL") or the Common Development
|
||||
and Distribution License("CDDL") (collectively, the "License"). You
|
||||
may not use this file except in compliance with the License. You can
|
||||
obtain a copy of the License at
|
||||
https://oss.oracle.com/licenses/CDDL+GPL-1.1
|
||||
or LICENSE.txt. See the License for the specific
|
||||
language governing permissions and limitations under the License.
|
||||
|
||||
When distributing the software, include this License Header Notice in each
|
||||
file and include the License file at LICENSE.txt.
|
||||
|
||||
GPL Classpath Exception:
|
||||
Oracle designates this particular file as subject to the "Classpath"
|
||||
exception as provided by Oracle in the GPL Version 2 section of the License
|
||||
file that accompanied this code.
|
||||
|
||||
Modifications:
|
||||
If applicable, add the following below the License Header, with the fields
|
||||
enclosed by brackets [] replaced by your own identifying information:
|
||||
"Portions Copyright [year] [name of copyright owner]"
|
||||
|
||||
Contributor(s):
|
||||
If you wish your version of this file to be governed by only the CDDL or
|
||||
only the GPL Version 2, indicate your decision by adding "[Contributor]
|
||||
elects to include this software in this distribution under the [CDDL or GPL
|
||||
Version 2] license." If you don't indicate a single choice of license, a
|
||||
recipient has the option to distribute your version of this file under
|
||||
either the CDDL, the GPL Version 2 or to extend the choice of license to
|
||||
its licensees as provided above. However, if you add GPL Version 2 code
|
||||
and therefore, elected the GPL Version 2 license, then the option applies
|
||||
only if the new code is made subject to such option by the copyright
|
||||
holder.
|
||||
|
||||
-->
|
||||
|
||||
<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">
|
||||
<parent>
|
||||
<artifactId>jaxb-api-parent</artifactId>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<version>2.3.1</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.activation</groupId>
|
||||
<artifactId>javax.activation-api</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.glassfish.build</groupId>
|
||||
<artifactId>gfnexus-maven-plugin</artifactId>
|
||||
<version>0.20</version>
|
||||
<configuration>
|
||||
<stagingRepos>
|
||||
<stagingRepo>
|
||||
<ref>javax.xml.bind:jaxb-api:${project.version}:jar</ref>
|
||||
<profile>javax.xml.bind</profile>
|
||||
</stagingRepo>
|
||||
</stagingRepos>
|
||||
<promotionProfile>metro</promotionProfile>
|
||||
<message>JAXB_API-${project.version}</message>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<configuration>
|
||||
<rules>
|
||||
<requireJavaVersion>
|
||||
<version>[1.8,)</version>
|
||||
</requireJavaVersion>
|
||||
<requireMavenVersion>
|
||||
<version>[3.0.3,)</version>
|
||||
</requireMavenVersion>
|
||||
<DependencyConvergence />
|
||||
</rules>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>cobertura-maven-plugin</artifactId>
|
||||
<version>2.7</version>
|
||||
<configuration>
|
||||
<formats>
|
||||
<format>xml</format>
|
||||
</formats>
|
||||
<check>
|
||||
<totalLineRate>45</totalLineRate>
|
||||
<packageLineRate>45</packageLineRate>
|
||||
<haltOnFailure>true</haltOnFailure>
|
||||
</check>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.glassfish.copyright</groupId>
|
||||
<artifactId>glassfish-copyright-maven-plugin</artifactId>
|
||||
<version>1.49</version>
|
||||
<configuration>
|
||||
<templateFile>${project.basedir}/copyright.txt</templateFile>
|
||||
<excludeFile>${project.basedir}/copyright-exclude</excludeFile>
|
||||
<!-- skip files not under SCM-->
|
||||
<scmOnly>true</scmOnly>
|
||||
<!-- turn off warnings -->
|
||||
<warn>true</warn>
|
||||
<!-- for use with repair -->
|
||||
<update>false</update>
|
||||
<!-- check that year is correct -->
|
||||
<ignoreYear>false</ignoreYear>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
<manifestEntries>
|
||||
<Extension-Name>javax.xml.bind</Extension-Name>
|
||||
<Implementation-Build-Id>${scmBranch}-${buildNumber}, ${timestamp}</Implementation-Build-Id>
|
||||
<Multi-Release>true</Multi-Release>
|
||||
</manifestEntries>
|
||||
<manifest>
|
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||
<version>1.4</version>
|
||||
<configuration>
|
||||
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
|
||||
<timestampFormat>{0,date,yyyy-MM-dd'T'HH:mm:ssZ}</timestampFormat>
|
||||
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
|
||||
<revisionOnScmFailure>false</revisionOnScmFailure>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<version>3.5.1</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
<instructions>
|
||||
<Require-Capability>osgi.ee;filter:="(&(osgi.ee=JavaSE)(version>=1.8))"</Require-Capability>
|
||||
<Bundle-Version>${project.version}</Bundle-Version> <!-- 2.2.99.bnull -->
|
||||
<Extension-Name>${extension.name}</Extension-Name>
|
||||
<Implementation-Version>${spec.version}.${impl.version}</Implementation-Version>
|
||||
<Specification-Version>${project.version}</Specification-Version>
|
||||
<Export-Package>${extension.name}.*; version=${spec.version}</Export-Package>
|
||||
<Import-Package>
|
||||
javax.activation;version=!,
|
||||
javax.xml.bind;version="[${spec.version},3)",
|
||||
javax.xml.bind.annotation;version="[${spec.version},3)",
|
||||
javax.xml.bind.annotation.adapters;version="[${spec.version},3)",
|
||||
javax.xml.bind.attachment;version="[${spec.version},3)",
|
||||
javax.xml.bind.helpers;version="[${spec.version},3)",
|
||||
javax.xml.bind.util;version="[${spec.version},3)",
|
||||
javax.xml.datatype,
|
||||
javax.xml.namespace,
|
||||
javax.xml.parsers,
|
||||
javax.xml.stream,
|
||||
javax.xml.transform,
|
||||
javax.xml.transform.dom,
|
||||
javax.xml.transform.sax,
|
||||
javax.xml.transform.stream,
|
||||
javax.xml.validation,
|
||||
org.w3c.dom,
|
||||
org.xml.sax,
|
||||
org.xml.sax.ext,
|
||||
org.xml.sax.helpers
|
||||
</Import-Package>
|
||||
<Bundle-SymbolicName>jaxb-api</Bundle-SymbolicName>
|
||||
<DynamicImport-Package>org.glassfish.hk2.osgiresourcelocator</DynamicImport-Package>
|
||||
<Specification-Vendor>Oracle Corporation</Specification-Vendor>
|
||||
<Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
|
||||
<Implementation-Vendor-Id>org.glassfish</Implementation-Vendor-Id>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>3.0.5</version>
|
||||
<configuration>
|
||||
<skip>${findbugs.skip}</skip>
|
||||
<threshold>${findbugs.threshold}</threshold>
|
||||
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
|
||||
<excludeFilterFile>
|
||||
${findbugs.exclude}
|
||||
</excludeFilterFile>
|
||||
<fork>true</fork>
|
||||
<jvmArgs>-Xms64m -Xmx256m</jvmArgs>
|
||||
</configuration>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.glassfish.findbugs</groupId>
|
||||
<artifactId>findbugs</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<nodeprecated>false</nodeprecated>
|
||||
<use>false</use>
|
||||
<author>true</author>
|
||||
<version>true</version>
|
||||
<doctitle><![CDATA[<br>
|
||||
JAXB ${project.version} Runtime Library</h2>
|
||||
${project.name} specification, ${release.spec.date}<br>
|
||||
Comments to: <i><a href='mailto:${release.spec.feedback}'>${release.spec.feedback}</a></i><br>
|
||||
More information at: <i><a target='_top'
|
||||
href='http://jaxb.java.net'>http://jaxb.java.net</a></i><br>
|
||||
<br> <br><hr width='65%'><h1>${project.name}</h1><hr width='75%'>
|
||||
<br> <br>]]>
|
||||
</doctitle>
|
||||
<header><![CDATA[JAXB<br>v${project.version}]]>
|
||||
</header>
|
||||
<bottom><![CDATA[<font size=-1>
|
||||
<br>Comments to: <a href='mailto:${release.spec.feedback}'><i>${release.spec.feedback}</i></a>
|
||||
<br>More information at: <a target='_top'
|
||||
href='http://jaxb.java.net'><i>http://jaxb.java.net</i></a>
|
||||
<p>Copyright © 2004-2017 Oracle </font>]]>
|
||||
</bottom>
|
||||
<detectJavaApiLink>false</detectJavaApiLink>
|
||||
<offlineLinks>
|
||||
<offlineLink>
|
||||
<url>http://download.oracle.com/javase/8/docs/api/</url>
|
||||
<location>${basedir}/offline-javadoc</location>
|
||||
</offlineLink>
|
||||
</offlineLinks>
|
||||
<tags>
|
||||
<tag>
|
||||
<name>apiNote</name>
|
||||
<!-- todo tag for all places -->
|
||||
<placement>a</placement>
|
||||
<head>API Note:</head>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>implSpec</name>
|
||||
<!-- todo tag for all places -->
|
||||
<placement>a</placement>
|
||||
<head>Implementation Requirements:</head>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>implNote</name>
|
||||
<!-- todo tag for all places -->
|
||||
<placement>a</placement>
|
||||
<head>Implementation Note:</head>
|
||||
</tag>
|
||||
</tags>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-release-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-compile</id>
|
||||
<configuration>
|
||||
<release>8</release>
|
||||
<excludes>
|
||||
<exclude>module-info.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>module-info-compile</id>
|
||||
<phase>test-compile</phase><!--Avoid JavaSE9 capability added by bundle-plugin-->
|
||||
<goals>
|
||||
<goal>compile</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<release>9</release>
|
||||
<includes>
|
||||
<include>module-info.java</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.directory}/mr-jar/META-INF/versions/9</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${basedir}/src/main/mr-jar</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enforce-versions</id>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>initialize</id>
|
||||
<goals>
|
||||
<goal>properties</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>validate</id>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>create</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>bundle-manifest</id>
|
||||
<phase>process-classes</phase>
|
||||
<goals>
|
||||
<goal>manifest</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.8</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>compile-java9</id>
|
||||
<phase>compile</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<mkdir dir="${project.build.outputDirectory}/META-INF/versions/9" />
|
||||
<javac srcdir="${mrjar.sourceDirectory}" destdir="${project.build.outputDirectory}/META-INF/versions/9" classpath="${project.build.outputDirectory}" includeantruntime="false" source="9" target="9" />
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>update-source-jar</id>
|
||||
<phase>verify</phase>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<jar destfile="${project.build.directory}/jaxb-api-${project.version}-sources.jar" update="true">
|
||||
<fileset dir="${project.build.directory}/mr-jar/" />
|
||||
</jar>
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
|
||||
|
||||
</project>
|
||||
213
jaxb-api-parent-2.3.1.pom
Normal file
213
jaxb-api-parent-2.3.1.pom
Normal file
@ -0,0 +1,213 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
|
||||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
||||
|
||||
Copyright (c) 1997-2018 Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
The contents of this file are subject to the terms of either the GNU
|
||||
General Public License Version 2 only ("GPL") or the Common Development
|
||||
and Distribution License("CDDL") (collectively, the "License"). You
|
||||
may not use this file except in compliance with the License. You can
|
||||
obtain a copy of the License at
|
||||
https://oss.oracle.com/licenses/CDDL+GPL-1.1
|
||||
or LICENSE.txt. See the License for the specific
|
||||
language governing permissions and limitations under the License.
|
||||
|
||||
When distributing the software, include this License Header Notice in each
|
||||
file and include the License file at LICENSE.txt.
|
||||
|
||||
GPL Classpath Exception:
|
||||
Oracle designates this particular file as subject to the "Classpath"
|
||||
exception as provided by Oracle in the GPL Version 2 section of the License
|
||||
file that accompanied this code.
|
||||
|
||||
Modifications:
|
||||
If applicable, add the following below the License Header, with the fields
|
||||
enclosed by brackets [] replaced by your own identifying information:
|
||||
"Portions Copyright [year] [name of copyright owner]"
|
||||
|
||||
Contributor(s):
|
||||
If you wish your version of this file to be governed by only the CDDL or
|
||||
only the GPL Version 2, indicate your decision by adding "[Contributor]
|
||||
elects to include this software in this distribution under the [CDDL or GPL
|
||||
Version 2] license." If you don't indicate a single choice of license, a
|
||||
recipient has the option to distribute your version of this file under
|
||||
either the CDDL, the GPL Version 2 or to extend the choice of license to
|
||||
its licensees as provided above. However, if you add GPL Version 2 code
|
||||
and therefore, elected the GPL Version 2 license, then the option applies
|
||||
only if the new code is made subject to such option by the copyright
|
||||
holder.
|
||||
|
||||
-->
|
||||
|
||||
<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/maven-v4_0_0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api-parent</artifactId>
|
||||
<version>2.3.1</version>
|
||||
|
||||
<parent>
|
||||
<groupId>net.java</groupId>
|
||||
<artifactId>jvnet-parent</artifactId>
|
||||
<version>5</version>
|
||||
</parent>
|
||||
|
||||
<modules>
|
||||
<module>jaxb-api</module>
|
||||
<module>jaxb-api-test</module>
|
||||
</modules>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>Java Architecture for XML Binding</name>
|
||||
<description>JAXB (JSR 222) API</description>
|
||||
<url>https://github.com/javaee/jaxb-spec</url>
|
||||
|
||||
<organization>
|
||||
<name>Oracle Corporation</name>
|
||||
<url>http://www.oracle.com/</url>
|
||||
</organization>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:git://github.com/javaee/jaxb-spec.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:javaee/jaxb-spec.git</developerConnection>
|
||||
<url>https://github.com/javaee/jaxb-spec.git</url>
|
||||
<tag>HEAD</tag>
|
||||
</scm>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Roman Grigoriadi</name>
|
||||
<email>roman.grigoriadi@oracle.com</email>
|
||||
<organization>Oracle Corporation</organization>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Martin Grebac</name>
|
||||
<email>martin.grebac@oracle.com</email>
|
||||
<organization>Oracle Corporation</organization>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Iaroslav Savytskyi</name>
|
||||
<email>iaroslav.savytskyi@oracle.com</email>
|
||||
<organization>Oracle Corporation</organization>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>CDDL 1.1</name>
|
||||
<url>https://oss.oracle.com/licenses/CDDL+GPL-1.1</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
<license>
|
||||
<name>GPL2 w/ CPE</name>
|
||||
<url>https://oss.oracle.com/licenses/CDDL+GPL-1.1</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<issueManagement>
|
||||
<system>jira</system>
|
||||
<url>https://github.com/javaee/jaxb-spec/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<properties>
|
||||
<release.spec.feedback>javaee-spec@javaee.groups.io</release.spec.feedback>
|
||||
<release.spec.date>Jul 2017</release.spec.date>
|
||||
<findbugs.exclude>${project.basedir}/exclude.xml</findbugs.exclude>
|
||||
<findbugs.threshold>Low</findbugs.threshold>
|
||||
<mrjar.sourceDirectory>${project.basedir}/src/main/mr-jar</mrjar.sourceDirectory>
|
||||
<mrjar.build.outputDirectory>${project.build.directory}/classes-mrjar</mrjar.build.outputDirectory>
|
||||
<extension.name>javax.xml.bind</extension.name>
|
||||
<spec.version>2.3</spec.version>
|
||||
<impl.version>0</impl.version>
|
||||
<activation.version>1.2.0</activation.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.activation</groupId>
|
||||
<artifactId>javax.activation-api</artifactId>
|
||||
<version>${activation.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.7.0</version>
|
||||
<configuration>
|
||||
<source>1.7</source>
|
||||
<target>1.7</target>
|
||||
<compilerArgs>
|
||||
<arg>-Xlint:all</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.20</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-release-plugin</artifactId>
|
||||
<version>2.5.3</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>3.0.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<version>3.0.0-M2</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.0.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>2.8.2</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.6</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>jvnet-release</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<additionalJOptions>
|
||||
<additionalJOption>-Xdoclint:none</additionalJOption>
|
||||
</additionalJOptions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
Loading…
x
Reference in New Issue
Block a user