Skip to content

Commit

Permalink
:feat: update Camel/Spring
Browse files Browse the repository at this point in the history
Signed-off-by: riccardomodanese <[email protected]>
  • Loading branch information
riccardomodanese committed Nov 25, 2024
1 parent 98aacb6 commit 571cf90
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 24 deletions.
15 changes: 8 additions & 7 deletions consumer/lifecycle-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -469,13 +469,6 @@
</filter>
</filters>
<transformers>
<!-- added by 2.7 -->
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.XmlAppendingTransformer">
<resource>META-INF/persistence.xml</resource>
</transformer>
Expand Down Expand Up @@ -507,6 +500,14 @@
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/services/org.eclipse.kapua.translator.Translator</resource>
</transformer>

<!-- add by 2.7 -->
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports</resource>
</transformer>
<!--
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring.handlers</resource>
Expand Down
15 changes: 8 additions & 7 deletions consumer/telemetry-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -421,13 +421,6 @@
</filter>
</filters>
<transformers>
<!-- added by 2.7 -->
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.XmlAppendingTransformer">
<resource>META-INF/persistence.xml</resource>
</transformer>
Expand Down Expand Up @@ -459,6 +452,14 @@
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/services/org.eclipse.kapua.translator.Translator</resource>
</transformer>

<!-- add by 2.7 -->
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports</resource>
</transformer>
</transformers>
<artifactSet/>
<outputFile>${project.build.directory}/kapua-consumer-telemetry-${project.version}-app.jar</outputFile>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
<console.maven.toolchain.jdk.version>8</console.maven.toolchain.jdk.version>

<!-- Dependencies versions -->
<camel.version>3.21.0</camel.version> <!-- latest 3.11.0 -->
<spring.version>5.3.23</spring.version> <!-- latest 5.3.8 -->
<spring-security.version>5.7.5</spring-security.version> <!-- latest 5.5.1 -->
<camel.version>3.22.2</camel.version>
<spring.version>5.3.39</spring.version>
<spring-security.version>5.8.16</spring-security.version>
<spring-boot.version>2.7.18</spring-boot.version>

<aopalliance.version>1.0</aopalliance.version>
Expand Down
15 changes: 8 additions & 7 deletions service/authentication-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -337,13 +337,6 @@
</filter>
</filters>
<transformers>
<!-- added by 2.7 -->
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.XmlAppendingTransformer">
<resource>META-INF/persistence.xml</resource>
</transformer>
Expand Down Expand Up @@ -375,6 +368,14 @@
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/services/org.eclipse.kapua.translator.Translator</resource>
</transformer>

<!-- add by 2.7 -->
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports</resource>
</transformer>
</transformers>
<outputFile>${project.build.directory}/kapua-service-authentication-${project.version}-app.jar</outputFile>
</configuration>
Expand Down

0 comments on commit 571cf90

Please sign in to comment.