Skip to content

Commit

Permalink
remove parent poms
Browse files Browse the repository at this point in the history
Signed-off-by: spolti <[email protected]>
  • Loading branch information
spolti committed Sep 14, 2023
1 parent 6a7b736 commit 94c6341
Show file tree
Hide file tree
Showing 193 changed files with 17,213 additions and 14,514 deletions.
82 changes: 41 additions & 41 deletions .ci/environments/quarkus-3/patches/0001_before_sh.patch

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ index 130b10318..b4cb6502e 100644
+++ b/serverless-workflow-examples/serverless-workflow-stock-profit/pom.xml
@@ -25,7 +25,7 @@
<maven.compiler.release>11</maven.compiler.release>
<version.surefire.plugin>3.0.0-M7</version.surefire.plugin>
<version.surefire.plugin>3.1.2</version.surefire.plugin>
<version.failsafe.plugin>${version.surefire.plugin}</version.failsafe.plugin>
- <version.com.github.tomakehurst.wiremock>2.33.2</version.com.github.tomakehurst.wiremock>
+ <version.com.github.tomakehurst.wiremock>3.0.0-beta-8</version.com.github.tomakehurst.wiremock>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ index c2ca6f930..a50429305 100644
@@ -15,8 +15,9 @@
<version.compiler.plugin>3.8.1</version.compiler.plugin>
<maven.compiler.release>11</maven.compiler.release>
<version.surefire.plugin>3.0.0-M7</version.surefire.plugin>
<version.surefire.plugin>3.1.2</version.surefire.plugin>
- <version.com.google.protobuf>3.22.0</version.com.google.protobuf>
- <version.io.grpc>1.51.1</version.io.grpc>
+ <!-- Quarkus 2.13.x is using protobuf 3.19.6, but the correct version should be 3.21.1 to work properly with current io.grpc version -->
Expand Down
88 changes: 66 additions & 22 deletions kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.acme.examples</groupId>
<artifactId>kogito-quarkus-examples</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>

<artifactId>decisiontable-quarkus-example</artifactId>
<groupId>org.acme.examples</groupId>
<version>2.0.0-SNAPSHOT</version>

<name>Kogito Example :: Decision Table - Quarkus</name>

<properties>
<quarkus-plugin.version>2.16.10.Final</quarkus-plugin.version>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
Expand All @@ -19,7 +20,19 @@
<kogito.bom.version>2.0.0-SNAPSHOT</kogito.bom.version>
<version.org.kie.kogito>2.0.0-SNAPSHOT</version.org.kie.kogito>
<version.org.drools>8.45.0-SNAPSHOT</version.org.drools>
<version.surefire.plugin>3.1.2</version.surefire.plugin>
<version.failsafe.plugin>${version.surefire.plugin}</version.failsafe.plugin>
<version.compiler.plugin>3.8.1</version.compiler.plugin>
<!-- Port 0 means dynamic port -->
<tests.quarkus.http.port>0</tests.quarkus.http.port>
<!-- override default to fast-jar packaging for forward-compatibility -->
<quarkus.package.type>fast-jar</quarkus.package.type>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
Expand Down Expand Up @@ -90,20 +103,51 @@
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>${quarkus.platform.group-id}</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.surefire.plugin}</version>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${version.failsafe.plugin}</version>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<quarkus.http.test-port>${tests.quarkus.http.port}</quarkus.http.test-port>
<native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
<profile>
<id>kogito-apps-downstream-native</id>
<activation>
<property>
<name>kogito-apps-native</name>
</property>
</activation>
<properties>
<failsafe.include>**/Native*IT.java</failsafe.include>
<failsafe.exclude></failsafe.exclude>
<quarkus.package.type>native</quarkus.package.type>
<quarkus.native.native-image-xmx>8g</quarkus.native.native-image-xmx>
<!-- Native building needs a fixed port for tests -->
<tests.quarkus.http.port>8080</tests.quarkus.http.port>
</properties>
</profile>
</profiles>

</project>
77 changes: 70 additions & 7 deletions kogito-quarkus-examples/dmn-drools-quarkus-metrics/pom.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.acme.examples</groupId>
<artifactId>kogito-quarkus-examples</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>

<artifactId>dmn-drools-quarkus-metrics</artifactId>
<groupId>org.acme.examples</groupId>
<version>2.0.0-SNAPSHOT</version>

<name>Kogito Example :: DMN Metrics Quarkus</name>

<properties>
<quarkus-plugin.version>2.16.10.Final</quarkus-plugin.version>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
Expand All @@ -18,7 +19,20 @@
<kogito.bom.artifact-id>kogito-bom</kogito.bom.artifact-id>
<kogito.bom.version>2.0.0-SNAPSHOT</kogito.bom.version>
<version.org.kie.kogito>2.0.0-SNAPSHOT</version.org.kie.kogito>
<version.org.testcontainers>1.17.3</version.org.testcontainers>
<version.surefire.plugin>3.1.2</version.surefire.plugin>
<!-- Port 0 means dynamic port -->
<tests.quarkus.http.port>0</tests.quarkus.http.port>
<!-- override default to fast-jar packaging for forward-compatibility -->
<quarkus.package.type>fast-jar</quarkus.package.type>
<version.clean.plugin>3.1.0</version.clean.plugin>
<version.resources.plugin>3.1.0</version.resources.plugin>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
Expand All @@ -37,6 +51,7 @@
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.kie.kogito</groupId>
Expand Down Expand Up @@ -83,6 +98,7 @@
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-test-utils</artifactId>
<version>${version.org.kie.kogito}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -96,6 +112,7 @@
<artifactId>quarkus-smallrye-health</artifactId>
</dependency>
</dependencies>

<build>
<finalName>${project.artifactId}</finalName>
<resources>
Expand All @@ -122,6 +139,7 @@
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>${version.clean.plugin}</version>
<configuration>
<filesets>
<fileset>
Expand All @@ -137,6 +155,7 @@
<!-- Keep this after quarkus-maven-plugin, since both are bind to package phase, and this one has to be executed after !-->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${version.resources.plugin}</version>
<executions>
<execution>
<id>copy-filtered-resources</id>
Expand Down Expand Up @@ -195,5 +214,49 @@
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.surefire.plugin}</version>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${version.failsafe.plugin}</version>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<quarkus.http.test-port>${tests.quarkus.http.port}</quarkus.http.test-port>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
<profile>
<id>kogito-apps-downstream-native</id>
<activation>
<property>
<name>kogito-apps-native</name>
</property>
</activation>
<properties>
<failsafe.include>**/Native*IT.java</failsafe.include>
<failsafe.exclude></failsafe.exclude>
<quarkus.package.type>native</quarkus.package.type>
<quarkus.native.native-image-xmx>8g</quarkus.native.native-image-xmx>
<!-- Native building needs a fixed port for tests -->
<tests.quarkus.http.port>8080</tests.quarkus.http.port>
</properties>
</profile>
</profiles>
</project>
67 changes: 62 additions & 5 deletions kogito-quarkus-examples/dmn-event-driven-quarkus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.acme.examples</groupId>
<artifactId>kogito-quarkus-examples</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>dmn-event-driven-quarkus</artifactId>
<groupId>org.acme.examples</groupId>
<version>2.0.0-SNAPSHOT</version>

<name>Kogito Example :: DMN Event-Driven :: Quarkus</name>

<properties>
<quarkus-plugin.version>2.16.10.Final</quarkus-plugin.version>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
Expand All @@ -20,7 +19,18 @@
<kogito.bom.artifact-id>kogito-bom</kogito.bom.artifact-id>
<kogito.bom.version>2.0.0-SNAPSHOT</kogito.bom.version>
<version.org.kie.kogito>2.0.0-SNAPSHOT</version.org.kie.kogito>
<version.org.skyscreamer>1.5.0</version.org.skyscreamer>
<!-- Port 0 means dynamic port -->
<tests.quarkus.http.port>0</tests.quarkus.http.port>
<!-- override default to fast-jar packaging for forward-compatibility -->
<quarkus.package.type>fast-jar</quarkus.package.type>
<version.surefire.plugin>3.1.2</version.surefire.plugin>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
Expand All @@ -39,6 +49,7 @@
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.kie.kogito</groupId>
Expand Down Expand Up @@ -97,6 +108,7 @@
<dependency>
<groupId>org.skyscreamer</groupId>
<artifactId>jsonassert</artifactId>
<version>${version.org.skyscreamer}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -117,5 +129,50 @@
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.surefire.plugin}</version>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${version.failsafe.plugin}</version>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<quarkus.http.test-port>${tests.quarkus.http.port}</quarkus.http.test-port>
<native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
<profile>
<id>kogito-apps-downstream-native</id>
<activation>
<property>
<name>kogito-apps-native</name>
</property>
</activation>
<properties>
<failsafe.include>**/Native*IT.java</failsafe.include>
<failsafe.exclude></failsafe.exclude>
<quarkus.package.type>native</quarkus.package.type>
<quarkus.native.native-image-xmx>8g</quarkus.native.native-image-xmx>
<!-- Native building needs a fixed port for tests -->
<tests.quarkus.http.port>8080</tests.quarkus.http.port>
</properties>
</profile>
</profiles>
</project>
Loading

0 comments on commit 94c6341

Please sign in to comment.