| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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>fulcrum-json-parent</artifactId> |
| <groupId>org.apache.fulcrum</groupId> |
| <version>2.0.2-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>fulcrum-json-jackson2</artifactId> |
| <name>Fulcrum JSON Jackson 2.x Impl</name> |
| |
| <url>http://turbine.apache.org/fulcrum/fulcrum-json/fulcrum-json-jackson2</url> |
| |
| <scm> |
| <url>https://github.com/apache/${turbine.site.path}/tree/${project.scm.tag}/jackson2</url> |
| </scm> |
| |
| <build> |
| <sourceDirectory>${basedir}/src/java/</sourceDirectory> |
| <testSourceDirectory>${basedir}/src/test/</testSourceDirectory> |
| <testResources> |
| <testResource> |
| <directory>${basedir}/src/test</directory> |
| <includes> |
| <include>**/*.*</include> |
| </includes> |
| </testResource> |
| </testResources> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <includes> |
| <include>**/*Test.*</include> |
| <include>**/*TestCase.*</include> |
| </includes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>3.12.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.avalon.framework</groupId> |
| <artifactId>avalon-framework-api</artifactId> |
| <version>4.3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.fulcrum</groupId> |
| <artifactId>fulcrum-json-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.fulcrum</groupId> |
| <artifactId>fulcrum-yaafi</artifactId> |
| <version>1.0.8</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| <version>${jackson2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| <version>${jackson2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>${jackson2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.datatype</groupId> |
| <artifactId>jackson-datatype-json-org</artifactId> |
| <version>${jackson2.version}</version> |
| <optional>true</optional> |
| <!-- v 2.8.11 had still geronimo as dependency, since 2.9.6 update to org.json ... 20190722, which has still incompatible license: https://www.apache.org/legal/resolved.html#json: |
| exclude it and include geronimo json alternatively --> |
| <exclusions> |
| <exclusion> |
| <groupId>org.json</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.bundles</groupId> |
| <artifactId>json</artifactId> |
| <version>20090211_1</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>com.jayway.jsonpath</groupId> |
| <artifactId>json-path</artifactId> |
| <version>2.7.0</version> |
| <optional>true</optional> |
| <!-- as we are using jackson --> |
| <exclusions> |
| <exclusion> |
| <groupId>net.minidev</groupId> |
| <artifactId>json-smart</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-nop</artifactId> |
| <version>2.0.7</version> |
| <optional>true</optional> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <properties> |
| <!-- 2.7.x hase Java 7 baseline, but is compiled with Java 6 support, cft. https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.7. |
| 2.14 has java 8 baseline, with Jackson 2.8, Java 7 languages features will be allowed --> |
| <jackson2.version>2.14.2</jackson2.version> |
| </properties> |
| <profiles> |
| <profile> |
| <id>java12</id> |
| <activation> |
| <jdk>[12,)</jdk> |
| </activation> |
| <dependencies> |
| <!-- removal of jaxb in java 12: https://docs.oracle.com/en/java/javase/12/migrate/index.html --> |
| <dependency> |
| <groupId>org.glassfish.jaxb</groupId> |
| <artifactId>jaxb-runtime</artifactId> |
| <version>4.0.2</version> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| </project> |