Skip to content

Commit

Permalink
Provide a quick profile #1607
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Oct 28, 2020
1 parent 346fc8d commit f580f1b
Show file tree
Hide file tree
Showing 546 changed files with 8,621 additions and 7,025 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
git clone --depth 1 --branch master https://github.com/quarkusio/quarkus.git \
&& cd quarkus \
&& echo "Current Quarkus commit:" $(git rev-parse HEAD) \
&& ./mvnw ${MAVEN_ARGS} clean install -DskipTests -DskipITs
&& ./mvnw ${MAVEN_ARGS} clean install -Dquickly
- name: Checkout
uses: actions/checkout@v2
- name: mvn clean install -DskipTests
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
do modules+=("integration-tests/$i"); done
IFS=,
eval ./mvnw ${MAVEN_ARGS} ${BRANCH_OPTIONS} clean verify \
-Dformatter.skip -Dimpsort.skip -Denforce=false \
-Dformatter.skip -Dimpsort.skip -Denforcer.skip \
-Pnative,docker,ci \
-pl "${modules[*]}"
- name: Fail if there are uncommitted changes
Expand Down Expand Up @@ -217,19 +217,19 @@ jobs:
run: |
cd extensions-core
../mvnw ${MAVEN_ARGS} ${BRANCH_OPTIONS} \
-Dformatter.skip -Dimpsort.skip -Denforce=false -Dcamel-quarkus.update-extension-doc-page.skip \
-Dformatter.skip -Dimpsort.skip -Denforcer.skip -Dcamel-quarkus.update-extension-doc-page.skip \
test
- name: cd extensions && mvn test
run: |
cd extensions
../mvnw ${MAVEN_ARGS} ${BRANCH_OPTIONS} \
-Dformatter.skip -Dimpsort.skip -Denforce=false -Dcamel-quarkus.update-extension-doc-page.skip \
-Dformatter.skip -Dimpsort.skip -Denforcer.skip -Dcamel-quarkus.update-extension-doc-page.skip \
test
- name: cd docs && mvn verify
run: |
cd docs
../mvnw ${MAVEN_ARGS} ${BRANCH_OPTIONS} \
-Dformatter.skip -Dimpsort.skip -Denforce=false \
-Dformatter.skip -Dimpsort.skip -Denforcer.skip \
verify
extensions-jvm-tests:
Expand Down Expand Up @@ -270,7 +270,7 @@ jobs:
run: |
cd extensions-jvm
../mvnw ${MAVEN_ARGS} ${BRANCH_OPTIONS} \
-Dformatter.skip -Dimpsort.skip -Denforce=false \
-Dformatter.skip -Dimpsort.skip -Denforcer.skip \
clean test
integration-tests-alternative-jvm:
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:
run: |
cd integration-tests
../mvnw ${MAVEN_ARGS} ${BRANCH_OPTIONS} \
-Dformatter.skip -Dimpsort.skip -Denforce=false \
-Dformatter.skip -Dimpsort.skip -Denforcer.skip \
clean verify
examples-tests:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quarkus-master-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
git clone --depth 1 --branch master https://github.com/quarkusio/quarkus.git \
&& cd quarkus \
&& echo "Current Quarkus commit:" $(git rev-parse HEAD) \
&& ./mvnw ${MAVEN_ARGS} clean install -DskipTests -DskipITs -Denforcer.skip -Dquarkus.build.skip -DskipDocs
&& ./mvnw ${MAVEN_ARGS} clean install -Dquickly
- name: Build Camel Quarkus
run: |
./mvnw ${MAVEN_ARGS} clean install -Dquarkus.version=999-SNAPSHOT -pl '!docs'
Expand Down
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg["Chat on Zuli

== What is this

This project hosts the efforts to port and package the 280+ Camel components as Quarkus extensions.
This project hosts the efforts to port and package the 300+ Camel components as Quarkus extensions.

http://camel.apache.org/[Apache Camel] is the Swiss knife of integrating heterogeneous systems with more than a decade
of history and a lively community of users and developers.
Expand Down
6 changes: 4 additions & 2 deletions docs/modules/ROOT/pages/contributor-guide/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ $ git clone https://github.com/apache/camel-quarkus.git
$ cd camel-quarkus
----

A fast build without tests:
A fast build without tests and various checks:

[source,shell]
----
$ mvn clean install -DskipTests
$ mvn clean install -Dquickly
----

A build with integration tests in the JVM mode only:
Expand All @@ -46,6 +46,8 @@ A build with integration tests in both the JVM mode and the native mode:
$ mvn clean install -Pnative
----

TIP: You may want to install and use https://github.com/mvndaemon/mvnd[`mvnd` - the Maven Daemon] for faster builds.

== What's next?

* xref:contributor-guide/create-new-extension.adoc[Create new extension].
Expand Down
16 changes: 3 additions & 13 deletions docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<executions>
<execution>
<id>attach-descriptor</id>
<phase>none</phase><!-- skip to save time -->
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
Expand All @@ -68,18 +58,18 @@

<profiles>
<profile>
<id>docs-checks</id>
<id>full</id>
<activation>
<property>
<name>!skipTests</name>
<name>!quickly</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.6</version>
<version>${frontend-maven-plugin.version}</version>
<executions>
<execution>
<id>install node and yarn</id>
Expand Down
39 changes: 28 additions & 11 deletions extensions-core/caffeine-lrucache/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,6 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-maven-plugin</artifactId>
<executions>
<execution>
<id>update-extension-doc-page</id>
<goals><goal>update-extension-doc-page</goal></goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-maven-plugin</artifactId>
Expand All @@ -83,4 +72,32 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>full</id>
<activation>
<property>
<name>!quickly</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-maven-plugin</artifactId>
<executions>
<execution>
<id>update-extension-doc-page</id>
<goals>
<goal>update-extension-doc-page</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
39 changes: 28 additions & 11 deletions extensions-core/core-cloud/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,6 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-maven-plugin</artifactId>
<executions>
<execution>
<id>update-extension-doc-page</id>
<goals><goal>update-extension-doc-page</goal></goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-maven-plugin</artifactId>
Expand All @@ -94,4 +83,32 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>full</id>
<activation>
<property>
<name>!quickly</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-maven-plugin</artifactId>
<executions>
<execution>
<id>update-extension-doc-page</id>
<goals>
<goal>update-extension-doc-page</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
39 changes: 28 additions & 11 deletions extensions-core/core/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,6 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-maven-plugin</artifactId>
<executions>
<execution>
<id>update-extension-doc-page</id>
<goals><goal>update-extension-doc-page</goal></goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-maven-plugin</artifactId>
Expand All @@ -131,4 +120,32 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>full</id>
<activation>
<property>
<name>!quickly</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-maven-plugin</artifactId>
<executions>
<execution>
<id>update-extension-doc-page</id>
<goals>
<goal>update-extension-doc-page</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
39 changes: 28 additions & 11 deletions extensions-core/main/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,6 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-maven-plugin</artifactId>
<executions>
<execution>
<id>update-extension-doc-page</id>
<goals><goal>update-extension-doc-page</goal></goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-maven-plugin</artifactId>
Expand All @@ -98,4 +87,32 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>full</id>
<activation>
<property>
<name>!quickly</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-maven-plugin</artifactId>
<executions>
<execution>
<id>update-extension-doc-page</id>
<goals>
<goal>update-extension-doc-page</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
39 changes: 28 additions & 11 deletions extensions-core/reactive-executor/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,6 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-maven-plugin</artifactId>
<executions>
<execution>
<id>update-extension-doc-page</id>
<goals><goal>update-extension-doc-page</goal></goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-bootstrap-maven-plugin</artifactId>
Expand All @@ -97,4 +86,32 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>full</id>
<activation>
<property>
<name>!quickly</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-maven-plugin</artifactId>
<executions>
<execution>
<id>update-extension-doc-page</id>
<goals>
<goal>update-extension-doc-page</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Loading

0 comments on commit f580f1b

Please sign in to comment.