layouts/partials/releases/camel.html (78 lines of code) (raw):

<h2 id="maven"><a class="anchor" href="#maven"></a>Getting the Binaries using Maven</h2> <p>To use this release in your <a href="https://maven.apache.org">Apache Maven</a> <code>pom.xml</code>, import the Camel Bill of Materials (BOM) and then include the <code>camel-core</code> and any other components needed without specifying the version.</p> <aside aria-label="Note 1"> <p>Replace the <code>COMPONENT</code> with the artifact outlined in the <a href="/components/next/">component documentation</a></p> </aside> <pre><code>{{ htmlUnescape (printf `<dependencyManagement> <dependencies> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-bom</artifactId> <version>%s</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-COMPONENT</artifactId> </dependency> </dependencies> ` .Params.version) }}</code></pre> <p>To use this release in a Spring Boot application, use Spring Boot <code>spring-boot-dependencies</code> and Camel <code>camel-spring-boot-bom</code> Bill of Materials (BOM): <aside aria-label="Note 2"> <p>Replace the <code>COMPONENT</code> with the artifact outlined in the <a href="/components/next/">component documentation</a></p> </aside> <pre><code>{{ htmlUnescape (printf `<dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version> SPRING BOOT VERSION HERE </version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-spring-boot-bom</artifactId> <version>%s</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-COMPONENT-starter</artifactId> </dependency> </dependencies> ` .Params.version) }}</code></pre> {{ partial "releases/downloads.html" (dict "Category" (index (index $.Site.Data "release-categories") "camel") "Pages" $.Site.Pages "Version" .Params.version) }} <h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2> <p>Release is tagged with <code>camel-{{ .Params.version }}</code> in the Git, to fetch it use:</p> <pre>git clone https://git-wip-us.apache.org/repos/asf/camel.git cd camel git checkout camel-{{ .Params.version }}</pre> <h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2> <p>Here is a list of all the issues that have been resolved for this release</p> {{ $issues_json := getJSON "https://issues.apache.org/jira/rest/api/latest/search?jql=fixVersion=" (string .Params.jiraVersionId) "&fields=issuetype,summary&maxResults=1000" }} {{ $issues := dict }} {{ range $issues_json.issues }} {{ $issues_by_type := (or (index $issues .fields.issuetype.name) slice) | append (dict "issue" .key "summary" .fields.summary) }} {{ $issues = merge $issues (dict .fields.issuetype.name $issues_by_type ) }} {{ end }} {{ range $type, $data := $issues }} <h3>{{ $type }} ({{ len $data }})</h3> <dl> {{ range $data }} <dt><a href="https://issues.apache.org/jira/browse/{{ .issue }}">{{ .issue }}</a></dt><dd>{{ .summary }}</dd> {{ end }} </dl> {{ end }}