
.main.admingui.jackson-module-jaxb-annotations.6.0.0.source-code.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2020 Oracle and/or its affiliates. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0, which is available at http://www.eclipse.org/legal/epl-2.0. This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception, which is available at https://www.gnu.org/software/classpath/license.html. SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> <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>org.glassfish.main</groupId> <artifactId>glassfish-parent</artifactId> <version>6.0.0</version> <relativePath>../../pom.xml</relativePath> </parent> <groupId>org.glassfish.main.admingui</groupId> <artifactId>jackson-module-jaxb-annotations</artifactId> <name>Admin Console Jackson JAXB Repackaging</name> <modelVersion>4.0.0</modelVersion> <description>jackson-module-jaxb-annotations repackaged as OSGi bundle for GlassFish</description> <packaging>jar</packaging> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.1.2</version> <executions> <execution> <id>unpack_jackson-jaxb_sources</id> <phase>process-sources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>jackson-module-jaxb-annotations</artifactId> <version>${jackson.version}</version> <classifier>sources</classifier> <overWrite>true</overWrite> <outputDirectory>${jackson-jaxb-src-folder}</outputDirectory> <includes>**/jaxb/**/*.java,**/jaxb/**/*.xml</includes> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> <version>1.5.3</version> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>replace</goal> </goals> </execution> </executions> <configuration> <includes> <include>${jackson-jaxb-src-folder}/**/*.java</include> </includes> <replacements> <replacement> <token>javax.xml.bind</token> <value>jakarta.xml.bind</value> </replacement> <replacement> <token>javax.activation</token> <value>jakarta.activation</value> </replacement> </replacements> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>add-jackson-jaxb-src</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${jackson-jaxb-src-folder}</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <supportedProjectTypes> <supportedProjectType>jar</supportedProjectType> </supportedProjectTypes> <instructions> <Embed-Dependency>artifactId=jackson-module-jaxb-annotations;inline=true;</Embed-Dependency> <Export-Package>*</Export-Package> <Import-Package>com.fasterxml.jackson.annotation,com.fasterxml.jackson.core.*,com.fasterxml.jackson.databind.*,jakarta.activation,jakarta.xml.bind,jakarta.xml.bind.annotation,jakarta.xml.bind.annotation.adapters,javax.xml.parsers,org.w3c.dom</Import-Package> </instructions> <unpackBundle>true</unpackBundle> </configuration> <executions> <execution> <id>osgi-bundle</id> <phase>generate-sources</phase> <goals> <goal>bundle</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>jackson-module-jaxb-annotations</artifactId> <version>${jackson.version}</version> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> <scope>provided</scope> </dependency> </dependencies> <properties> <jackson-jaxb-src-folder>${project.build.directory}/jackson-jaxb-src</jackson-jaxb-src-folder> </properties> </project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy