This is an automated email from the ASF dual-hosted git repository.

tzimanyi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-optaplanner.git


The following commit(s) were added to refs/heads/main by this push:
     new 4d75ef4d04 Migrate from jboss-parent to apache parent pom. (#2992)
4d75ef4d04 is described below

commit 4d75ef4d040448ad749047f65a33a377baa16c64
Author: Tibor Zimányi <[email protected]>
AuthorDate: Wed Oct 4 10:34:20 2023 +0200

    Migrate from jboss-parent to apache parent pom. (#2992)
    
    * Migrate from jboss-parent to apache parent pom.
    
    * Fix javadoc generation.
---
 build/optaplanner-build-parent/pom.xml               | 20 +++++++++++++++++---
 .../optaplanner-quarkus-jackson/deployment/pom.xml   |  4 ++++
 .../optaplanner-quarkus-jsonb/deployment/pom.xml     |  4 ++++
 pom.xml                                              |  7 +++----
 4 files changed, 28 insertions(+), 7 deletions(-)

diff --git a/build/optaplanner-build-parent/pom.xml 
b/build/optaplanner-build-parent/pom.xml
index 229b8d8a1c..3e6db29b9f 100644
--- a/build/optaplanner-build-parent/pom.xml
+++ b/build/optaplanner-build-parent/pom.xml
@@ -67,7 +67,6 @@
 
     <version.asciidoctor.plugin>2.2.3</version.asciidoctor.plugin>
     <version.assembly.plugin>3.4.2</version.assembly.plugin>
-    <!-- jboss suffixed version from jboss-parent which cannot be downloaded 
due to SNAPSHOT only policy for plugins from JBoss -->
     <version.compiler.plugin>3.8.1</version.compiler.plugin>
     <version.dependency.plugin>3.5.0</version.dependency.plugin>
     <version.formatter.plugin>2.23.0</version.formatter.plugin>
@@ -77,7 +76,6 @@
       Do not upgrade unless prepared to deal with JPMS issues.
       If upgrading, ensure build still passes with the full profile (-Dfull).
     -->
-    <version.javadoc.plugin>3.5.0</version.javadoc.plugin>
     <version.jaxb2.plugin>2.5.0</version.jaxb2.plugin>
     <version.pitest.plugin>1.14.4</version.pitest.plugin>
     <version.revapi.plugin>0.15.0</version.revapi.plugin>
@@ -109,6 +107,8 @@
     
<schema.filename.benchmark>benchmark-with-import.xsd</schema.filename.benchmark>
     <schema.filename.solver>solver.xsd</schema.filename.solver>
     <sonar.coverage.exclusions>**/swingui/**/*.java</sonar.coverage.exclusions>
+
+    
<version.maven-javadoc-plugin.override>3.6.0</version.maven-javadoc-plugin.override>
   </properties>
 
   <dependencyManagement>
@@ -469,7 +469,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
-          <version>${version.javadoc.plugin}</version>
+          <version>${version.maven-javadoc-plugin.override}</version>
           <configuration>
             <author>false</author>
             <failOnError>true</failOnError>
@@ -478,6 +478,8 @@
             <header combine.self="override" />
             <footer combine.self="override" />
             <quiet>true</quiet>
+            <doclint>none</doclint>
+            <legacyMode>true</legacyMode>
           </configuration>
         </plugin>
         <plugin>
@@ -662,6 +664,18 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <goals>
+              <goal>jar-no-fork</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 
diff --git 
a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/deployment/pom.xml
 
b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/deployment/pom.xml
index 34a841e5f7..8437cfe3db 100644
--- 
a/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/deployment/pom.xml
+++ 
b/optaplanner-quarkus-integration/optaplanner-quarkus-jackson/deployment/pom.xml
@@ -41,6 +41,10 @@
       <groupId>io.quarkus</groupId>
       <artifactId>quarkus-core-deployment</artifactId>
     </dependency>
+    <dependency>
+      <groupId>io.quarkus</groupId>
+      <artifactId>quarkus-builder</artifactId>
+    </dependency>
     <dependency>
       <groupId>io.quarkus</groupId>
       <artifactId>quarkus-arc-deployment</artifactId>
diff --git 
a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/deployment/pom.xml 
b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/deployment/pom.xml
index 69fb2861b3..0bd27698db 100644
--- 
a/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/deployment/pom.xml
+++ 
b/optaplanner-quarkus-integration/optaplanner-quarkus-jsonb/deployment/pom.xml
@@ -41,6 +41,10 @@
       <groupId>io.quarkus</groupId>
       <artifactId>quarkus-core-deployment</artifactId>
     </dependency>
+    <dependency>
+      <groupId>io.quarkus</groupId>
+      <artifactId>quarkus-builder</artifactId>
+    </dependency>
     <dependency>
       <groupId>io.quarkus</groupId>
       <artifactId>quarkus-arc-deployment</artifactId>
diff --git a/pom.xml b/pom.xml
index 13fcea806e..b4a9062d11 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,10 +23,9 @@
 
   <modelVersion>4.0.0</modelVersion>
   <parent>
-    <groupId>org.jboss</groupId>
-    <artifactId>jboss-parent</artifactId>
-    <version>39</version>
-    <relativePath/>
+    <groupId>org.apache</groupId>
+    <artifactId>apache</artifactId>
+    <version>30</version>
   </parent>
 
   <groupId>org.optaplanner</groupId>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to