jackson-module-mrbean
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>jackson-module-mrbean</artifactId> <version>2.9.7</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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> <parent> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>jackson-modules-base</artifactId> <version>2.9.7</version> </parent> <artifactId>jackson-module-mrbean</artifactId> <name>Jackson module: Mr Bean</name> <packaging>bundle</packaging> <description>Functionality for implementing interfaces and abstract types dynamically ("bean materialization"), integrated with Jackson (although usable externally as well) </description> <url>https://github.com/FasterXML/jackson-modules-base</url> <properties> <!-- Generate PackageVersion.java into this directory. --> <packageVersion.dir>com/fasterxml/jackson/module/mrbean</packageVersion.dir> <packageVersion.package>${project.groupId}.mrbean</packageVersion.package> <!-- not 100% sure this is needed, but due to shading better safe than sorry --> <osgi.export> ${project.groupId}.mrbean.*;version=${project.version} </osgi.export> <!-- default import definitions should work fine --> <osgi.private>org.objectweb.asm.*</osgi.private> </properties> <dependencies> <!-- Extends Jackson mapper, but also uses types from core, hence direct dep as well --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> <version>${version.asm}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> </plugin> <plugin> <!-- We will shade ASM, to simplify deployment, avoid version conflicts --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <shadedArtifactAttached>false</shadedArtifactAttached> <shadedArtifactId>foobar-shaded</shadedArtifactId> <artifactSet> <includes> <include>org.objectweb.asm:asm</include> </includes> </artifactSet> <relocations> <relocation> <pattern>org.objectweb.asm</pattern> <shadedPattern>com.fasterxml.jackson.module.mrbean.asm</shadedPattern> </relocation> </relocations> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>