Skip to content

Commit

Permalink
Add camel-kamelets-catalog and camel-kamelets-utils to the camel-spri…
Browse files Browse the repository at this point in the history
…ng-boot BOM (#466)
  • Loading branch information
cunningt authored Oct 22, 2024
1 parent da426b8 commit 897609e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
<!-- Camel target version -->
<camel-version>4.8.0.redhat-00005</camel-version>

<camel-kamelets-version>4.8.0</camel-kamelets-version>

<!-- cq plugin version -->
<cq-plugin.version>4.4.11</cq-plugin.version>
<camel-community.version>4.8.0</camel-community.version>
Expand Down
10 changes: 10 additions & 0 deletions tooling/camel-spring-boot-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1928,6 +1928,16 @@
<artifactId>camel-sap-starter</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-catalog</artifactId>
<version>4.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
<version>4.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-management</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ public class BomGeneratorMojo extends AbstractMojo {
@Parameter(property = "bom.camelVersion", defaultValue = "${camel-version}")
protected String camelVersion;

@Parameter(property = "bom.camelKameletsVersion", defaultValue = "${camel-kamelets-version}")
protected String camelKameletsVersion;

@Component
protected RepositorySystem repositorySystem;

Expand Down Expand Up @@ -321,6 +324,19 @@ private List<Dependency> starters() throws IOException {

outDependencies.sort(Comparator.comparing(d -> (d.getGroupId() + ":" + d.getArtifactId())));

// add camel-kamelets
dep = new Dependency();
dep.setGroupId("org.apache.camel.kamelets");
dep.setArtifactId("camel-kamelets-catalog");
dep.setVersion(camelKameletsVersion);
outDependencies.add(dep);

dep = new Dependency();
dep.setGroupId("org.apache.camel.kamelets");
dep.setArtifactId("camel-kamelets-utils");
dep.setVersion(camelKameletsVersion);
outDependencies.add(dep);

// include some dependencies for testing and management
dep = new Dependency();
dep.setGroupId("org.apache.camel");
Expand Down

0 comments on commit 897609e

Please sign in to comment.