Skip to content

Commit

Permalink
Fix #897 List the JVM-only extensions in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Mar 18, 2020
1 parent 8a92c13 commit e4543eb
Show file tree
Hide file tree
Showing 22 changed files with 337 additions and 2,808 deletions.
35 changes: 15 additions & 20 deletions catalog/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,33 +63,28 @@

<build>
<plugins>

<!-- generate and include all components in the catalog -->
<plugin>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-package-maven-plugin</artifactId>
<version>${project.version}</version>
<dependencies>
<!-- include camel-catalog on classpath -->
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-catalog</artifactId>
<version>${camel.version}</version>
</dependency>
</dependencies>
<groupId>org.l2x6.cq</groupId>
<artifactId>cq-maven-plugin</artifactId>
<executions>
<execution>
<!-- prepare the catalog and update doc files, etc. -->
<id>prepare-catalog</id>
<goals>
<goal>prepare-catalog-quarkus</goal>
<goal>update-doc-extensions-list</goal>
<goal>prepare-catalog</goal>
<goal>extension-list</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<extensionDirs>
<extensionDir>${camel.quarkus.project.root}/extensions-core</extensionDir>
<extensionDir>${camel.quarkus.project.root}/extensions</extensionDir>
</extensionDirs>
<templatesUriBase>file:///${basedir}/src/main/templates</templatesUriBase>
<extensionDirectories>
<extensionDirectory>${camel.quarkus.project.root}/extensions-core</extensionDirectory>
<extensionDirectory>${camel.quarkus.project.root}/extensions</extensionDirectory>
<extensionDirectory>${camel.quarkus.project.root}/extensions-jvm</extensionDirectory>
</extensionDirectories>
<skipArtifactIdBases>
<skipArtifactIdBase>http-common</skipArtifactIdBase>
</skipArtifactIdBases>
<extensionListFile>${camel.quarkus.project.root}/docs/modules/ROOT/pages/list-of-camel-quarkus-extensions.adoc</extensionListFile>
</configuration>
</execution>
</executions>
Expand Down
14 changes: 14 additions & 0 deletions catalog/src/main/templates/readme-components.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Number of Camel components: [=components?size] in [=numberOfArtifacts] JAR artifacts ([=numberOfDeprecated] deprecated)

[width="100%",cols="4,1,1,5",options="header"]
|===
| Component | Target +
Level | Since | Description
[#list components as row]

| [=getDocLink(row)][[=row.title]] ([=row.artifactId]) +
`[=row.syntax]` | [=row.target] +
[=row.supportLevel] | [=row.firstVersion] | [#if row.deprecated]*deprecated* [/#if][=row.description]
[/#list]

|===
12 changes: 12 additions & 0 deletions catalog/src/main/templates/readme-dataformats.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Number of Camel data formats: [=components?size] in [=numberOfArtifacts] JAR artifacts ([=numberOfDeprecated] deprecated)

[width="100%",cols="4,1,1,5",options="header"]
|===
| Data Format | Target +
Level | Since | Description
[#list components as row]

| [=getDocLink(row)][[=row.title]] ([=row.artifactId]) | [=row.target] +
[=row.supportLevel] | [=row.firstVersion] | [#if row.deprecated]*deprecated* [/#if][=row.description]
[/#list]
|===
12 changes: 12 additions & 0 deletions catalog/src/main/templates/readme-languages.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Number of Camel languages: [=components?size] in [=numberOfArtifacts] JAR artifacts ([=numberOfDeprecated] deprecated)

[width="100%",cols="4,1,1,5",options="header"]
|===
| Language | Target +
Level | Since | Description
[#list components as row]

| [=getDocLink(row)][[=row.title]] ([=row.artifactId]) | [=row.target] +
[=row.supportLevel] | [=row.firstVersion] | [#if row.deprecated]*deprecated* [/#if][=row.description]
[/#list]
|===
11 changes: 11 additions & 0 deletions catalog/src/main/templates/readme-others.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Number of miscellaneous extensions: [=components?size] in [=numberOfArtifacts] JAR artifacts ([=numberOfDeprecated] deprecated)

[width="100%",cols="4,1,1,5",options="header"]
|===
| Extension | Target Level | Since | Description
[#list components as row]

|[#if getDocLink(row)??] [=getDocLink(row)][[=row.artifactId]] [#else] ([=row.artifactId])[/#if] | [=row.target] +
[=row.supportLevel] | [=row.firstVersion] | [#if row.deprecated]*deprecated* [/#if][=row.description]
[/#list]
|===

This file was deleted.

0 comments on commit e4543eb

Please sign in to comment.