최초 세팅
This commit is contained in:
@@ -0,0 +1,238 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
|
||||
Copyright (c) 1997, 2023 Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
This program and the accompanying materials are made available under the
|
||||
terms of the Eclipse Distribution License v. 1.0, which is available at
|
||||
http://www.eclipse.org/org/documents/edl-v10.php.
|
||||
|
||||
SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
-->
|
||||
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.eclipse.ee4j</groupId>
|
||||
<artifactId>project</artifactId>
|
||||
<version>1.0.7</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
|
||||
<groupId>jakarta.xml.bind</groupId>
|
||||
<artifactId>jakarta.xml.bind-api-parent</artifactId>
|
||||
<version>4.0.1</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>Jakarta XML Binding</name>
|
||||
<description>Jakarta XML Binding API</description>
|
||||
<url>https://github.com/eclipse-ee4j/jaxb-api</url>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:git://github.com/eclipse-ee4j/jaxb-api.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:eclipse-ee4j/jaxb-api.git</developerConnection>
|
||||
<url>https://github.com/eclipse-ee4j/jaxb-api.git</url>
|
||||
<tag>HEAD</tag>
|
||||
</scm>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Eclipse Distribution License - v 1.0</name>
|
||||
<url>http://www.eclipse.org/org/documents/edl-v10.php</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Roman Grigoriadi</name>
|
||||
<email>roman.grigoriadi@oracle.com</email>
|
||||
<organization>Oracle Corporation</organization>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<issueManagement>
|
||||
<system>github</system>
|
||||
<url>https://github.com/eclipse-ee4j/jaxb-api/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>Jakarta XML Binding mailing list</name>
|
||||
<post>jaxb-dev@eclipse.org</post>
|
||||
<subscribe>https://accounts.eclipse.org/mailing-list/jaxb-dev</subscribe>
|
||||
<unsubscribe>https://accounts.eclipse.org/mailing-list/jaxb-dev</unsubscribe>
|
||||
<archive>https://dev.eclipse.org/mhonarc/lists/jaxb-dev</archive>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
|
||||
<properties>
|
||||
<copyright.exclude>${config.dir}/copyright-exclude</copyright.exclude>
|
||||
<copyright.ignoreyear>true</copyright.ignoreyear>
|
||||
<copyright.scmonly>true</copyright.scmonly>
|
||||
<copyright.templatefile>${config.dir}/edl-copyright.txt</copyright.templatefile>
|
||||
<copyright.update>false</copyright.update>
|
||||
<spotbugs.skip>false</spotbugs.skip>
|
||||
<spotbugs.threshold>Low</spotbugs.threshold>
|
||||
<spotbugs.version>4.7.3.5</spotbugs.version>
|
||||
|
||||
<maven.compiler.release>11</maven.compiler.release>
|
||||
|
||||
<release.spec.feedback>jaxb-dev@eclipse.org</release.spec.feedback>
|
||||
<release.spec.date>Mar 2022</release.spec.date>
|
||||
<api.package>jakarta.xml.bind</api.package>
|
||||
<extension.name>jakarta.xml.bind</extension.name>
|
||||
<spec.version>4.0</spec.version>
|
||||
<activation.version>2.1.2</activation.version>
|
||||
<config.dir>${project.basedir}/etc/config</config.dir>
|
||||
<vendor.name>Eclipse Foundation</vendor.name>
|
||||
</properties>
|
||||
|
||||
<modules>
|
||||
<module>api</module>
|
||||
</modules>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>jakarta.activation</groupId>
|
||||
<artifactId>jakarta.activation-api</artifactId>
|
||||
<version>${activation.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.4.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.11.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.glassfish.copyright</groupId>
|
||||
<artifactId>glassfish-copyright-maven-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>3.1.2</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>3.5.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<version>3.4.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<version>5.1.9</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.3.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.3.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>3.3.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.6.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.spotbugs</groupId>
|
||||
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||
<version>${spotbugs.version}</version>
|
||||
<configuration>
|
||||
<skip>${spotbugs.skip}</skip>
|
||||
<threshold>${spotbugs.threshold}</threshold>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<compilerArgs>
|
||||
<arg>-Xlint:all</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.glassfish.copyright</groupId>
|
||||
<artifactId>glassfish-copyright-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<templateFile>${copyright.templatefile}</templateFile>
|
||||
<excludeFile>${copyright.exclude}</excludeFile>
|
||||
<!-- skip files not under SCM-->
|
||||
<scmOnly>${copyright.scmonly}</scmOnly>
|
||||
<!-- for use with repair -->
|
||||
<update>${copyright.update}</update>
|
||||
<!-- check that year is correct -->
|
||||
<ignoreYear>${copyright.ignoreyear}</ignoreYear>
|
||||
<quiet>false</quiet>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>check</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultEntries>false</addDefaultEntries>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<Implementation-Build-Id>${project.version} - ${buildNumber}</Implementation-Build-Id>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>test</id>
|
||||
<modules>
|
||||
<module>jaxb-api-test</module>
|
||||
</modules>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
@@ -0,0 +1,274 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
|
||||
Copyright (c) 2018, 2023 Oracle and/or its affiliates. All rights reserved.
|
||||
|
||||
This program and the accompanying materials are made available under the
|
||||
terms of the Eclipse Distribution License v. 1.0, which is available at
|
||||
http://www.eclipse.org/org/documents/edl-v10.php.
|
||||
|
||||
SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
-->
|
||||
|
||||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>jakarta.xml.bind-api-parent</artifactId>
|
||||
<groupId>jakarta.xml.bind</groupId>
|
||||
<version>4.0.1</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>jakarta.xml.bind-api</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Jakarta XML Binding API</name>
|
||||
|
||||
<properties>
|
||||
<config.dir>${project.basedir}/../etc/config</config.dir>
|
||||
<legal.doc.source>${project.basedir}/..</legal.doc.source>
|
||||
<spotbugs.exclude>${project.basedir}/../etc/spotbugs-exclude.xml</spotbugs.exclude>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>jakarta.activation</groupId>
|
||||
<artifactId>jakarta.activation-api</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.13.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<configuration>
|
||||
<rules>
|
||||
<requireJavaVersion>
|
||||
<version>[11,)</version>
|
||||
</requireJavaVersion>
|
||||
<requireMavenVersion>
|
||||
<version>[3.6.0,)</version>
|
||||
</requireMavenVersion>
|
||||
<DependencyConvergence />
|
||||
</rules>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
|
||||
<shortRevisionLength>7</shortRevisionLength>
|
||||
<revisionOnScmFailure>false</revisionOnScmFailure>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<failOnWarnings>true</failOnWarnings>
|
||||
<doclint>all,-missing</doclint>
|
||||
<quiet>true</quiet>
|
||||
<nodeprecated>false</nodeprecated>
|
||||
<notimestamp>true</notimestamp>
|
||||
<nosince>true</nosince>
|
||||
<use>false</use>
|
||||
<author>true</author>
|
||||
<version>true</version>
|
||||
<description>Jakarta XML Binding API documentation</description>
|
||||
<doctitle>Jakarta XML Binding API documentation</doctitle>
|
||||
<windowtitle>Jakarta XML Binding API documentation</windowtitle>
|
||||
<header><![CDATA[Jakarta XML Binding<br>v${project.version}]]>
|
||||
</header>
|
||||
<bottom>
|
||||
<![CDATA[
|
||||
Comments to : <a href="mailto:${release.spec.feedback}">${release.spec.feedback}</a>.<br>
|
||||
Copyright © 2019, ${current.year} Eclipse Foundation. All rights reserved.<br>
|
||||
Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.]]>
|
||||
</bottom>
|
||||
<detectJavaApiLink>false</detectJavaApiLink>
|
||||
<docfilessubdirs>true</docfilessubdirs>
|
||||
<groups>
|
||||
<group>
|
||||
<title>Jakarta XML Binding API Packages</title>
|
||||
<packages>jakarta.xml.bind*</packages>
|
||||
</group>
|
||||
</groups>
|
||||
<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>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>currentyear-property</id>
|
||||
<goals>
|
||||
<goal>timestamp-property</goal>
|
||||
</goals>
|
||||
<phase>validate</phase>
|
||||
<configuration>
|
||||
<name>current.year</name>
|
||||
<locale>en,US</locale>
|
||||
<pattern>yyyy</pattern>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>add-legal-resource</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>add-resource</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${legal.doc.source}</directory>
|
||||
<includes>
|
||||
<include>NOTICE.md</include>
|
||||
<include>LICENSE.md</include>
|
||||
</includes>
|
||||
<targetPath>META-INF</targetPath>
|
||||
</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>
|
||||
<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.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<compilerArgs>
|
||||
<arg>-Xlint:all</arg>
|
||||
<arg>-Xdoclint:all,-missing</arg>
|
||||
</compilerArgs>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
<showWarnings>true</showWarnings>
|
||||
</configuration>
|
||||
</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>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultEntries>false</addDefaultEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
<niceManifest>true</niceManifest>
|
||||
<instructions>
|
||||
<Bundle-Version>${project.version}</Bundle-Version> <!-- 2.2.99.bnull -->
|
||||
<Bundle-Description>
|
||||
Jakarta XML Binding API ${spec.version} Design Specification
|
||||
</Bundle-Description>
|
||||
<Extension-Name>${extension.name}</Extension-Name>
|
||||
<Implementation-Version>${project.version}</Implementation-Version>
|
||||
<Specification-Version>${spec.version}</Specification-Version>
|
||||
<Import-Package>
|
||||
!org.glassfish.hk2.osgiresourcelocator,
|
||||
*
|
||||
</Import-Package>
|
||||
<Bundle-SymbolicName>${extension.name}-api</Bundle-SymbolicName>
|
||||
<DynamicImport-Package>org.glassfish.hk2.osgiresourcelocator</DynamicImport-Package>
|
||||
<Specification-Vendor>${vendor.name}</Specification-Vendor>
|
||||
<Implementation-Build-Id>${buildNumber}</Implementation-Build-Id>
|
||||
<_noextraheaders>true</_noextraheaders>
|
||||
<!-- optional to allow usage with hk2 resource locator as a fallback -->
|
||||
<Require-Capability><![CDATA[
|
||||
osgi.extender;filter:="(&(osgi.extender=osgi.serviceloader.processor)
|
||||
(version>=1.0.0)(!(version>=2.0.0)))";resolution:=optional,
|
||||
osgi.serviceloader;
|
||||
filter:="(osgi.serviceloader=jakarta.xml.bind.JAXBContextFactory)";
|
||||
osgi.serviceloader="jakarta.xml.bind.JAXBContextFactory";
|
||||
cardinality:=multiple;resolution:=optional
|
||||
]]>
|
||||
</Require-Capability>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultEntries>false</addDefaultEntries>
|
||||
</manifest>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.spotbugs</groupId>
|
||||
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<fork>true</fork>
|
||||
<excludeFilterFile>${spotbugs.exclude}</excludeFilterFile>
|
||||
<failThreshold>High</failThreshold>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
Reference in New Issue
Block a user