Skip to content

Instantly share code, notes, and snippets.

@jwmatthews
Created March 28, 2024 20:27
Show Gist options
  • Save jwmatthews/e7613c6b23f630095b0e1ee5f3b45203 to your computer and use it in GitHub Desktop.
Save jwmatthews/e7613c6b23f630095b0e1ee5f3b45203 to your computer and use it in GitHub Desktop.
["1. The first issue is about updating the `javax` groupId to `com.sun.activation` for the `javaee-web-api` and `javaee-api` dependencies. This change is necessary because the `javax` groupId is deprecated in Jakarta EE and has been replaced with `com.sun.activation`. This change ensures that the application will continue to function as expected when migrated to JBoss EAP 7.3 or later.\n2. The second and third issues are about updating the `javax` groupId to `jakarta.platform` for the `javaee-web-api` and `javaee-api` dependencies. This change is necessary because the `javax` groupId is deprecated in Jakarta EE and has been replaced with `jakarta.platform`.\n3. The fourth and fifth issues are about updating the `javaee-api` and `javaee-web-api` artifactIds to `jakarta.jakartaee-api` and `jakarta.jakartaee-web-api` respectively. This change is necessary because the `javaee-api` and `javaee-web-api` artifactIds are deprecated in Jakarta EE and have been replaced with `jakarta.jakartaee-api` and `jakarta.jakartaee-web-api` respectively.\n4. The sixth issue is about replacing the JavaEE/Jakarta JMS dependency with Smallrye Reactive. This change is necessary because Quarkus does not support JMS. Instead, Quarkus recommends using Smallrye Reactive Messaging.\n5. The seventh issue is about using the Quarkus BOM to omit the version of the different Quarkus dependencies. This change is necessary because it allows for easier management of the Quarkus dependencies.\n6. The eighth issue is about using the Quarkus Maven plugin. This change is necessary because it allows for easier building and testing of the Quarkus application.\n7. The ninth issue is about using the Maven Compiler plugin. This change is necessary because it allows for easier management of the Java compiler settings.\n8. The tenth issue is about using the Maven Surefire plugin. This change is necessary because it allows for easier management of the Surefire plugin settings.\n9. The eleventh issue is about using the Maven Failsafe plugin. This change is necessary because it allows for easier management of the Failsafe plugin settings.\n10. The twelfth issue is about using a Maven profile to run the Quarkus native build. This change is necessary because it allows for easier management of the native build settings.\n11. The thirteenth issue is about replacing the `org.flywaydb:flyway-core` dependency with the Quarkus dependency `io.quarkus:quarkus-flyway`. This change is necessary because Quarkus does not support the `org.flywaydb:flyway-core` dependency. Instead, Quarkus recommends using the `io.quarkus:quarkus-flyway` dependency.", "1. The first issue is about updating the `javax` groupId to `com.sun.activation` for the `javaee-web-api` and `javaee-api` dependencies. This change is necessary because the `javax` groupId is deprecated in Jakarta EE and replaced with `com.sun.activation`.\n\n2. The second and third issues are about updating the `javax` groupId to `jakarta.platform` for the `javaee-web-api` and `javaee-api` dependencies. This change is necessary because the `javax` groupId is deprecated in Jakarta EE and replaced with `jakarta.platform`.\n\n3. The fourth and fifth issues are about updating the `javaee-api` and `javaee-web-api` artifactIds to `jakarta.jakartaee-api` and `jakarta.jakartaee-web-api` respectively. This change is necessary because the `javaee-api` and `javaee-web-api` artifactIds are deprecated in Jakarta EE and replaced with `jakarta.jakartaee-api` and `jakarta.jakartaee-web-api` respectively.\n\n4. The sixth issue is about replacing the JavaEE/Jakarta JMS dependency with Smallrye Reactive. This change is necessary because Quarkus does not support JMS.\n\n5. The seventh issue is about using the Quarkus BOM to omit the version of the different Quarkus dependencies. This change is necessary to ensure that the Quarkus dependencies are managed by the BOM.\n\n6. The eighth issue is about using the Quarkus Maven plugin. This change is necessary to build and test the Quarkus application.\n\n7. The ninth issue is about using the Maven Compiler plugin. This change is necessary to set the compiler version and release.\n\n8. The tenth issue is about using the Maven Surefire plugin. This change is necessary to set the system properties for the Surefire plugin.\n\n9. The eleventh issue is about using the Maven Failsafe plugin. This change is necessary to set the system properties for the Failsafe plugin.\n\n10. The twelfth issue is about using a Maven profile to run the Quarkus native build. This change is necessary to build the Quarkus application as a native image.\n\n11. The thirteenth and fourteenth issues are about replacing the `org.flywaydb:flyway-core` dependency with the Quarkus dependency `io.quarkus:quarkus-flyway`. This change is necessary to use the Quarkus Flyway extension.", "1. The first issue is about updating the `javax` groupId to `com.sun.activation`. This change is necessary because the `javax` groupId is deprecated in Jakarta EE and replaced by `com.sun.activation`. However, in this specific `pom.xml` file, there is no usage of this groupId, so no changes are needed.\n2. The second and third issues are about updating the `javax` groupId to `jakarta.platform`. This change is necessary because the `javax` groupId is deprecated in Jakarta EE and replaced by `jakarta.platform`. However, in this specific `pom.xml` file, there is no usage of this groupId, so no changes are needed.\n3. The fourth and fifth issues are about updating the `javaee-api` artifactId to `jakarta.jakartaee-api`. This change is necessary because the `javaee-api` artifactId is deprecated in Jakarta EE and replaced by `jakarta.jakartaee-api`. However, in this specific `pom.xml` file, there is no usage of this artifactId, so no changes are needed.\n4. The sixth issue is about replacing the JavaEE/Jakarta JMS dependency with Smallrye Reactive. This change is necessary because Quarkus does not support JMS. However, in this specific `pom.xml` file, there is no usage of JMS, so no changes are needed.\n5. The seventh issue is about using the Quarkus BOM to omit the version of the different Quarkus dependencies. This change is necessary to ensure that the Quarkus dependencies are managed by the Quarkus BOM. The following changes need to be made to the `pom.xml` file:\n```xml\n<properties> \n <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> \n <quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id> \n <quarkus.platform.version>3.1.0.Final</quarkus.platform.version>\n</properties> \n<dependencyManagement> \n <dependencies> \n <dependency> \n <groupId>$</groupId> \n <artifactId>$</artifactId> \n <version>$</version> \n <type>pom</type> \n <scope>import</scope> \n </dependency> \n </dependencies> \n</dependencyManagement>\n```\n6. The eighth issue is about using the Quarkus Maven plugin. This change is necessary to ensure that the Quarkus build is managed by the Quarkus Maven plugin. The following changes need to be made to the `pom.xml` file:\n```xml\n<properties> \n <quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id> \n <quarkus.platform.version>3.1.0.Final</quarkus.platform.version>\n</properties> \n<build>\n <plugins>\n <plugin>\n <groupId>$</groupId>\n <artifactId>quarkus-maven-plugin</artifactId>\n <version>$</version>\n <extensions>true</extensions>\n <executions>\n <execution>\n <goals>\n <goal>build</goal>\n <goal>generate-code</goal>\n <goal>generate-code-tests</goal>\n </goals>\n </execution>\n </executions>\n </plugin>\n </plugins>\n</build>\n```\n7. The ninth issue is about using the Maven Compiler plugin. This change is necessary to ensure that the Java compiler is managed by the Maven Compiler plugin. The following changes need to be made to the `pom.xml` file:\n```xml\n<properties> \n <compiler-plugin.version>3.10.1</compiler-plugin.version> \n <maven.compiler.release>11</maven.compiler.release>\n</properties> \n<build>\n <plugins>\n <plugin>\n <artifactId>maven-compiler-plugin</artifactId>\n <version>$</version>\n <configuration>\n <compilerArgs>\n <arg>-parameters</arg>\n </compilerArgs>\n </configuration>\n </plugin>\n </plugins>\n</build>\n```\n8. The tenth issue is about using the Maven Surefire plugin. This change is necessary to ensure that the Java Surefire plugin is managed by the Maven Surefire plugin. The following changes need to be made to the `pom.xml` file:\n```xml\n<properties> \n <surefire-plugin.version>3.0.0</compiler-plugin.version>\n</properties> \n<build>\n <plugins>\n <plugin>\n <artifactId>maven-surefire-plugin</artifactId>\n <version>$</version>\n <configuration>\n <systemPropertyVariables>\n <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>\n <maven.home>$</maven.home>\n </systemPropertyVariables>\n </configuration>\n </plugin>\n </plugins>\n</build>\n```\n9. The eleventh issue is about using the Maven Failsafe plugin. This change is necessary to ensure that the Java Failsafe plugin is managed by the Maven Failsafe plugin. The following changes need to be made to the `pom.xml` file:\n```xml\n<properties> \n <surefire-plugin.version>3.0.0</compiler-plugin.version>\n</properties> \n<build>\n <plugins>\n <plugin>\n <artifactId>maven-failsafe-plugin</artifactId>\n <version>$</version>\n <executions>\n <execution>\n <goals>\n <goal>integration-test</goal>\n <goal>verify</goal>\n </goals>\n <configuration>\n <systemPropertyVariables>\n <native.image.path>$/$-"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment