Skip to content

Commit

Permalink
Merge pull request #10230 from aloubyansky/quick-build
Browse files Browse the repository at this point in the history
quick-build profile that sets various system props to skip tests and validation steps
  • Loading branch information
aloubyansky authored Jun 25, 2020
2 parents 7cf5c59 + 527a8fd commit 5d8f17d
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 2 deletions.
11 changes: 11 additions & 0 deletions devtools/gradle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,16 @@
<gradle.task>assemble</gradle.task>
</properties>
</profile>
<profile>
<id>quick-build</id>
<activation>
<property>
<name>quickly</name>
</property>
</activation>
<properties>
<gradle.task>assemble</gradle.task>
</properties>
</profile>
</profiles>
</project>
1 change: 0 additions & 1 deletion docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<quarkus-home-url>https://quarkus.io</quarkus-home-url>
<quarkus-base-url>https://github.com/quarkusio/quarkus</quarkus-base-url>
<quickstarts-base-url>https://github.com/quarkusio/quarkus-quickstarts</quickstarts-base-url>
<skipDocs>false</skipDocs>
</properties>

<name>Quarkus - Documentation</name>
Expand Down
14 changes: 14 additions & 0 deletions independent-projects/arc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,20 @@
</distributionManagement>

<profiles>
<profile>
<id>quick-build</id>
<activation>
<property>
<name>quickly</name>
</property>
</activation>
<properties>
<skipTests>true</skipTests>
<skipITs>true</skipITs>
<enforcer.skip>true</enforcer.skip>
<format.skip>true</format.skip>
</properties>
</profile>
<profile>
<id>release</id>
<build>
Expand Down
14 changes: 14 additions & 0 deletions independent-projects/bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,20 @@
</distributionManagement>

<profiles>
<profile>
<id>quick-build</id>
<activation>
<property>
<name>quickly</name>
</property>
</activation>
<properties>
<skipTests>true</skipTests>
<skipITs>true</skipITs>
<enforcer.skip>true</enforcer.skip>
<format.skip>true</format.skip>
</properties>
</profile>
<profile>
<id>release</id>
<build>
Expand Down
14 changes: 14 additions & 0 deletions independent-projects/qute/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,20 @@
</distributionManagement>

<profiles>
<profile>
<id>quick-build</id>
<activation>
<property>
<name>quickly</name>
</property>
</activation>
<properties>
<skipTests>true</skipTests>
<skipITs>true</skipITs>
<enforcer.skip>true</enforcer.skip>
<format.skip>true</format.skip>
</properties>
</profile>
<profile>
<id>release</id>
<build>
Expand Down
14 changes: 14 additions & 0 deletions independent-projects/tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,20 @@
</build>

<profiles>
<profile>
<id>quick-build</id>
<activation>
<property>
<name>quickly</name>
</property>
</activation>
<properties>
<skipTests>true</skipTests>
<skipITs>true</skipITs>
<enforcer.skip>true</enforcer.skip>
<format.skip>true</format.skip>
</properties>
</profile>
<profile>
<id>release</id>
<build>
Expand Down
14 changes: 13 additions & 1 deletion integration-tests/gradle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@
</properties>

<profiles>
<profile>
<id>skip-gradle-build</id>
<activation>
<property>
<name>skip.gradle.build</name>
<value>true</value>
</property>
</activation>
<properties>
<skip.gradle.tests>true</skip.gradle.tests>
</properties>
</profile>
<profile>
<id>Gradle-IT</id>
<activation>
Expand Down Expand Up @@ -52,7 +64,7 @@
<MAVEN_LOCAL_REPO>${settings.localRepository}</MAVEN_LOCAL_REPO>
<GRADLE_OPTS>${env.MAVEN_OPTS}</GRADLE_OPTS>
</environmentVariables>
<skip>${skip.gradle.build}</skip>
<skip>${skip.gradle.tests}</skip>
</configuration>
<goals>
<goal>exec</goal>
Expand Down
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
<postgres.url>jdbc:postgresql:hibernate_orm_test</postgres.url>

<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>

<skipDocs>false</skipDocs>
<skip.gradle.tests>false</skip.gradle.tests>
</properties>

<modules>
Expand Down Expand Up @@ -92,6 +95,23 @@
</distributionManagement>

<profiles>
<profile>
<id>quick-build</id>
<activation>
<property>
<name>quickly</name>
</property>
</activation>
<properties>
<skipTests>true</skipTests>
<skipITs>true</skipITs>
<skipDocs>true</skipDocs>
<enforcer.skip>true</enforcer.skip>
<format.skip>true</format.skip>
<skipExtensionValidation>true</skipExtensionValidation>
<skip.gradle.tests>true</skip.gradle.tests>
</properties>
</profile>
<profile>
<id>release</id>
<build>
Expand Down

0 comments on commit 5d8f17d

Please sign in to comment.