diff --git a/LICENSE.md b/LICENSE.md index c739f78bc05856bfbfe35a5b76f2d4e6242cea66..6fb337cb014d5ae5d406194049b960982e307849 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,5 +1,5 @@ - Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/jaxb-api/pom.xml b/jaxb-api/pom.xml index 0d0c982e8126a124d2b93c8f11f10c61321e3ab3..971418ffa422b6319761ecc6737a91870d122a84 100644 --- a/jaxb-api/pom.xml +++ b/jaxb-api/pom.xml @@ -106,14 +106,6 @@ <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> @@ -142,8 +134,8 @@ <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> + <Specification-Version>${spec.version}</Specification-Version> + <Export-Package>${api.package}.*; version=${spec.version}</Export-Package> <Import-Package> javax.activation;version=!, javax.xml.bind;version="[${spec.version},3)", @@ -166,9 +158,11 @@ org.xml.sax.ext, org.xml.sax.helpers </Import-Package> - <Bundle-SymbolicName>jakarta.xml.bind-api</Bundle-SymbolicName> + <Bundle-SymbolicName>${extension.name}-api</Bundle-SymbolicName> <DynamicImport-Package>org.glassfish.hk2.osgiresourcelocator</DynamicImport-Package> <Specification-Vendor>${vendor.name}</Specification-Vendor> + <Implementation-Build-Id>${scmBranch}-${buildNumber}, ${timestamp}</Implementation-Build-Id> + <Multi-Release>true</Multi-Release> </instructions> </configuration> </plugin> @@ -203,7 +197,7 @@ <author>true</author> <version>true</version> <doctitle><![CDATA[<br> -JAXB ${project.version} Runtime Library</h2> +JAXB ${project.version} API 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' @@ -257,7 +251,6 @@ href='https://projects.eclipse.org/projects/ee4j.jaxb'>https://projects.eclipse. </execution> <execution> <id>module-info-compile</id> - <phase>test-compile</phase><!--Avoid JavaSE9 capability added by bundle-plugin--> <goals> <goal>compile</goal> </goals> @@ -312,13 +305,6 @@ href='https://projects.eclipse.org/projects/ee4j.jaxb'>https://projects.eclipse. <resource> <directory>${java9.build.outputDirectory}</directory> </resource> - <!-- Copy module-info.class to java >= 9 classes directory. Source file will be deleted later with ant. --> - <resource> - <directory>${project.build.outputDirectory}</directory> - <includes> - <include>module-info.class</include> - </includes> - </resource> </resources> </configuration> </execution> @@ -434,19 +420,6 @@ href='https://projects.eclipse.org/projects/ee4j.jaxb'>https://projects.eclipse. <goal>run</goal> </goals> </execution> - <!-- Delete module-info.class from java < 9 classes directory. --> - <execution> - <id>update-target-classes</id> - <phase>prepare-package</phase> - <configuration> - <target> - <delete file="${project.build.outputDirectory}/module-info.class"/> - </target> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> </executions> </plugin> </plugins> diff --git a/pom.xml b/pom.xml index 5b29cbd2b7853cd28d6ed0a220b82c667b876ac5..28eba1977bc4fe5f574a3e9d17d63bf3b501a934 100644 --- a/pom.xml +++ b/pom.xml @@ -74,8 +74,9 @@ <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> + <api.package>javax.xml.bind</api.package> + <extension.name>jakarta.xml.bind</extension.name> + <spec.version>2.4</spec.version> <impl.version>0</impl.version> <activation.version>1.2.1</activation.version> <config.dir>${project.basedir}/etc/config</config.dir>