diff options
author | Rodrigo Lima <rodrigo.lima@yoppworks.com> | 2020-08-21 15:45:31 -0400 |
---|---|---|
committer | Rodrigo Lima <rodrigo.lima@yoppworks.com> | 2020-08-21 17:40:01 -0400 |
commit | f05013b8e6fa64998a68547a6a7bac003ea2add3 (patch) | |
tree | 206f6d37b2b438cea4c909222daf112f7f252103 /pom.xml | |
parent | 3150c68512bc122dde455fae1e46cc3f66109330 (diff) |
Update apache camel from 2.x to 3.x
- Update apache camel lib
- Remove camel apt and add camel package plugin
Issue-ID: AAI-3119
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: Ib62e8d0807017895183eafce0a7e52018c9a1f3a
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 55 |
1 files changed, 48 insertions, 7 deletions
@@ -38,7 +38,7 @@ limitations under the License. <event.client.version>1.6.4</event.client.version> <!-- Sonar Properties --> <jacoco.line.coverage.limit>0.70</jacoco.line.coverage.limit> - <camel-spring-boot.version>2.22.1</camel-spring-boot.version> + <camel-spring-boot.version>3.4.0</camel-spring-boot.version> </properties> <dependencies> @@ -48,11 +48,6 @@ limitations under the License. <version>${camel-spring-boot.version}</version> </dependency> <!-- support camel documentation --> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>apt</artifactId> - <version>${camel-spring-boot.version}</version> - </dependency> <!-- logging --> <dependency> <groupId>org.onap.aai.logging-service</groupId> @@ -143,9 +138,55 @@ limitations under the License. <defaultGoal>install</defaultGoal> <plugins> <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <configuration combine.self="append"> + <excludes> + <exclude>**/*Configurer.class</exclude> + </excludes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.camel</groupId> + <artifactId>camel-package-maven-plugin</artifactId> + <version>${camel-spring-boot.version}</version> + <executions> + <execution> + <id>generate</id> + <goals> + <goal>generate-component</goal> + </goals> + <phase>process-classes</phase> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <phase>initialize</phase> + <goals> + <goal>add-source</goal> + <goal>add-resource</goal> + </goals> + <configuration> + <sources> + <source>src/generated/java</source> + </sources> + <resources> + <resource> + <directory>src/generated/resources</directory> + </resource> + </resources> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>2.5.1</version> + <version>3.8.1</version> <configuration> <source>1.8</source> <target>1.8</target> |