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
  • Loading branch information
cunningt committed Oct 21, 2024
1 parent da426b8 commit c470e30
Show file tree
Hide file tree
Showing 2 changed files with 18 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
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 c470e30

Please sign in to comment.