generated from konveyor-ecosystem/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DO NOT MERGE] mixtral - PR 171 (stored incident fix)
- Loading branch information
Showing
78 changed files
with
14,081 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
Model ID: mistralai/mixtral-8x7b-instruct-v0-1 | ||
|
||
## Reasoning | ||
|
||
1. Issue 1: The `javax` groupId is no longer used in Jakarta EE and has been replaced with `com.sun.activation`. This change is necessary to ensure compatibility with JBoss EAP 7.3 and later versions. | ||
|
||
2. Issue 2, 3, 4, 5: The `javax` groupId has been replaced with `jakarta.platform` in Jakarta EE. This change is necessary to ensure compatibility with Jakarta EE. | ||
|
||
3. Issue 6: Quarkus does not support JMS, and it is recommended to use SmallRye Reactive Messaging instead. This change is necessary to use messaging in Quarkus. | ||
|
||
4. Issue 7, 8, 9, 10, 11, 12: These issues are related to the configuration of the Maven build process for Quarkus. These changes are necessary to ensure that the build process is compatible with Quarkus. | ||
|
||
5. Issue 13, 14: The `org.flywaydb:flyway-core` dependency is no longer needed and should be replaced with the Quarkus dependency `io.quarkus:quarkus-flyway`. This change is necessary to ensure compatibility with Quarkus. | ||
|
||
## Updated File | ||
|
||
```xml | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.redhat.coolstore</groupId> | ||
<artifactId>monolith</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
<name>coolstore-monolith</name> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format> | ||
<project.encoding>UTF-8</project.encoding> | ||
<maven.test.skip>true</maven.test.skip> | ||
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> | ||
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id> | ||
<quarkus.platform.version>3.1.0.Final</quarkus.platform.version> | ||
<compiler-plugin.version>3.10.1</compiler-plugin.version> | ||
<maven.compiler.release>11</maven.compiler.release> | ||
<surefire-plugin.version>3.0.0</surefire-plugin.version> | ||
</properties> | ||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>${quarkus.platform.group-id}</groupId> | ||
<artifactId>${quarkus.platform.artifact-id}</artifactId> | ||
<version>${quarkus.platform.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.sun.activation</groupId> | ||
<artifactId>javax.activation</artifactId> | ||
<version>1.2.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>jakarta.platform</groupId> | ||
<artifactId>jakarta.jakartaee-api</artifactId> | ||
<version>9.1.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>jakarta.platform</groupId> | ||
<artifactId>jakarta.jakartaee-web-api</artifactId> | ||
<version>9.1.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-smallrye-reactive-messaging</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-flyway</artifactId> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>${quarkus.platform.group-id}</groupId> | ||
<artifactId>quarkus-maven-plugin</artifactId> | ||
<version>${quarkus.platform.version}</version> | ||
<extensions>true</extensions> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>build</goal> | ||
<goal>generate-code</goal> | ||
<goal>generate-code-tests</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>${compiler-plugin.version}</version> | ||
<configuration> | ||
<encoding>${project.encoding}</encoding> | ||
<release>${maven.compiler.release}</release> | ||
<compilerArgs> | ||
<arg>-parameters</arg> | ||
</compilerArgs> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>${surefire-plugin.version}</version> | ||
<configuration> | ||
<systemPropertyVariables> | ||
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> | ||
<maven.home>$</maven.home> | ||
</systemPropertyVariables> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-failsafe-plugin</artifactId> | ||
<version>${surefire-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>integration-test</goal> | ||
<goal>verify</goal> | ||
</goals> | ||
<configuration> | ||
<systemPropertyVariables> | ||
<native.image.path>$/$-runner</native.image.path> | ||
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> | ||
<maven.home>$</maven.home> | ||
</systemPropertyVariables> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<profiles> | ||
<profile> | ||
<id>native</id> | ||
<activation> | ||
<property> | ||
<name>native</name> | ||
</property> | ||
</activation> | ||
<properties> | ||
<skipITs>false</skipITs> | ||
<quarkus.package.type>native</quarkus.package.type> | ||
</properties> | ||
</profile> | ||
</profiles> | ||
</project> | ||
``` | ||
|
||
## Additional Information | ||
|
||
* The `packaging` element has been changed from `war` to `jar` to be compatible with Quarkus. | ||
* The `maven.test.skip` property has been set to `true` to disable tests during the build process. This property can be changed to `false` if tests are needed. | ||
* The `quarkus-flyway` dependency has been added to replace the `org.flywaydb:flyway-core` dependency. | ||
* The `quarkus-maven-plugin` has been added to the build process to ensure compatibility with Quarkus. | ||
* The `maven-compiler-plugin`, `maven-surefire-plugin`, and `maven-failsafe-plugin` have been updated to ensure compatibility with Quarkus. | ||
* A Maven profile has been added to run the Quarkus native build. This profile can be activated by setting the `native` property. |
Oops, something went wrong.