Skip to content

Commit

Permalink
chore(deps): bump jackson-databind to 2.9.9.1
Browse files Browse the repository at this point in the history
Related to CAM-10585
  • Loading branch information
yanavasileva authored and mboskamp committed Jul 26, 2019
1 parent 3405345 commit de6bd01
Show file tree
Hide file tree
Showing 12 changed files with 49 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<module xmlns="urn:jboss:module:1.0" name="com.fasterxml.jackson.core.jackson-databind">
<resources>
<resource-root path="jackson-databind-2.9.9.jar" />
<resource-root path="jackson-databind-2.9.9.1.jar" />
</resources>

<dependencies>
Expand Down
16 changes: 16 additions & 0 deletions distro/wildfly/modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<properties>
<org.jboss.shrinkwrap.resolver.version>1.0.0-beta-5</org.jboss.shrinkwrap.resolver.version>
<version.jackson>2.9.9</version.jackson>
<version.jackson.databind>2.9.9.1</version.jackson.databind>
<version.jackson.annotations>2.9.0</version.jackson.annotations>
</properties>

Expand Down Expand Up @@ -206,6 +207,17 @@
</mapper>
</copy>

<delete dir="target/modules/com/fasterxml/jackson/core/jackson-databind" />
<copy todir="target/modules" flatten="false">
<fileset refid="maven.project.dependencies" />
<mapper>
<chainedmapper>
<regexpmapper from="^(.*)/([^/]+)/([^/]*)$$" to="\1/${version.jackson.databind}/\3" handledirsep="yes" />
<regexpmapper from="^(com.fasterxml.jackson.core.jackson-databind/.*.jar)$$" to="\1" handledirsep="yes" />
</chainedmapper>
</mapper>
</copy>

<delete dir="target/modules/com/fasterxml/jackson/core/jackson-annotations" />
<copy todir="target/modules" flatten="false">
<fileset refid="maven.project.dependencies" />
Expand Down Expand Up @@ -245,6 +257,10 @@
<include name="**/module.xml" />
</replace>

<replace dir="target/modules" token="@version.jackson.databind@" value="${version.jackson.databind}">
<include name="**/module.xml" />
</replace>

<replace dir="target/modules" token="@version.jackson.annotations@" value="${version.jackson.annotations}">
<include name="**/module.xml" />
</replace>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<module xmlns="urn:jboss:module:1.0" name="com.fasterxml.jackson.core.jackson-databind" slot="@version.jackson@" >
<module xmlns="urn:jboss:module:1.0" name="com.fasterxml.jackson.core.jackson-databind" slot="@version.jackson.databind@" >
<resources>
<resource-root path="jackson-databind-@version.jackson@.jar" />
<resource-root path="jackson-databind-@version.jackson.databind@.jar" />
</resources>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<dependencies>

<module name="javax.api" />
<module name="com.fasterxml.jackson.core.jackson-databind" slot="@version.jackson@"/>
<module name="com.fasterxml.jackson.core.jackson-databind" slot="@version.jackson.databind@"/>
<module name="org.slf4j" />
<module name="net.minidev.json-smart" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<module name="org.camunda.commons.camunda-commons-utils" />
<module name="org.camunda.commons.camunda-commons-typed-values" />

<module name="com.fasterxml.jackson.core.jackson-databind" slot="@version.jackson@" />
<module name="com.fasterxml.jackson.core.jackson-databind" slot="@version.jackson.databind@" />
<module name="com.jayway.jsonpath.json-path" />
</dependencies>

Expand Down
16 changes: 16 additions & 0 deletions distro/wildfly8/modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<properties>
<org.jboss.shrinkwrap.resolver.version>1.0.0-beta-5</org.jboss.shrinkwrap.resolver.version>
<version.jackson>2.9.9</version.jackson>
<version.jackson.databind>2.9.9.1</version.jackson.databind>
<version.jackson.annotations>2.9.0</version.jackson.annotations>
</properties>

Expand Down Expand Up @@ -206,6 +207,17 @@
</mapper>
</copy>

<delete dir="target/modules/com/fasterxml/jackson/core/jackson-databind" />
<copy todir="target/modules" flatten="false">
<fileset refid="maven.project.dependencies" />
<mapper>
<chainedmapper>
<regexpmapper from="^(.*)/([^/]+)/([^/]*)$$" to="\1/${version.jackson.databind}/\3" handledirsep="yes" />
<regexpmapper from="^(com.fasterxml.jackson.core.jackson-databind/.*.jar)$$" to="\1" handledirsep="yes" />
</chainedmapper>
</mapper>
</copy>

<delete dir="target/modules/com/fasterxml/jackson/core/jackson-annotations" />
<copy todir="target/modules" flatten="false">
<fileset refid="maven.project.dependencies" />
Expand Down Expand Up @@ -245,6 +257,10 @@
<include name="**/module.xml" />
</replace>

<replace dir="target/modules" token="@version.jackson.databind@" value="${version.jackson.databind}">
<include name="**/module.xml" />
</replace>

<replace dir="target/modules" token="@version.jackson.annotations@" value="${version.jackson.annotations}">
<include name="**/module.xml" />
</replace>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<module xmlns="urn:jboss:module:1.0" name="com.fasterxml.jackson.core.jackson-databind" slot="@version.jackson@" >
<module xmlns="urn:jboss:module:1.0" name="com.fasterxml.jackson.core.jackson-databind" slot="@version.jackson.databind@" >
<resources>
<resource-root path="jackson-databind-@version.jackson@.jar" />
<resource-root path="jackson-databind-@version.jackson.databind@.jar" />
</resources>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<dependencies>

<module name="javax.api" />
<module name="com.fasterxml.jackson.core.jackson-databind" slot="@version.jackson@"/>
<module name="com.fasterxml.jackson.core.jackson-databind" slot="@version.jackson.databind@"/>
<module name="org.slf4j" />
<module name="net.minidev.json-smart" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<module name="org.camunda.commons.camunda-commons-utils" />
<module name="org.camunda.commons.camunda-commons-typed-values" />

<module name="com.fasterxml.jackson.core.jackson-databind" slot="@version.jackson@" />
<module name="com.fasterxml.jackson.core.jackson-databind" slot="@version.jackson.databind@" />
<module name="com.jayway.jsonpath.json-path" />
</dependencies>

Expand Down
6 changes: 6 additions & 0 deletions engine-rest/engine-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
<version>${jackson.version}</version>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.databind.version}</version>
</dependency>

<!-- provided deps -->
<dependency>
<groupId>org.jboss.spec.javax.servlet</groupId>
Expand Down
1 change: 1 addition & 0 deletions engine-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

<properties>
<jackson.version>2.9.9</jackson.version>
<jackson.databind.version>2.9.9.1</jackson.databind.version>
</properties>

<modules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</exclude-subsystems>
<dependencies>
<module name="org.camunda.spin.camunda-spin-dataformat-json-jackson" services="import" />
<module name="com.fasterxml.jackson.core.jackson-databind" slot="2.9.9" />
<module name="com.fasterxml.jackson.core.jackson-databind" slot="2.9.9.1" />
</dependencies>
</deployment>
</jboss-deployment-structure>

0 comments on commit de6bd01

Please sign in to comment.