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

struberg pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openwebbeans-meecrowave.git


The following commit(s) were added to refs/heads/main by this push:
     new c85a30f  fixing javadoc plugin
c85a30f is described below

commit c85a30f0b872c30e01ac47c93fdf551e8964042c
Author: Mark Struberg <strub...@apache.org>
AuthorDate: Fri Dec 13 22:02:28 2024 +0100

    fixing javadoc plugin
---
 meecrowave-core/pom.xml |  5 +----
 pom.xml                 | 21 +++++++++++++--------
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/meecrowave-core/pom.xml b/meecrowave-core/pom.xml
index 6b7a02d..8fc0d0b 100644
--- a/meecrowave-core/pom.xml
+++ b/meecrowave-core/pom.xml
@@ -434,10 +434,7 @@
               <shadedClassifierName>runner</shadedClassifierName>
               <shadedArtifactAttached>true</shadedArtifactAttached>
               <createDependencyReducedPom>false</createDependencyReducedPom>
-<!--
-              
<dependencyReducedPomLocation>${project.build.directory}/reduced-pom-bundle.xml
-              </dependencyReducedPomLocation>
--->
+
               <transformers>
                 <transformer 
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                   <mainClass>org.apache.meecrowave.runner.Cli</mainClass>
diff --git a/pom.xml b/pom.xml
index 174f325..1d0ac14 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,6 +48,8 @@
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <source>17</source>
+
     
<meecrowave.build.name>${project.groupId}.${project.artifactId}</meecrowave.build.name>
 
     <!--X TODO verify if everything is really needed -->
@@ -217,14 +219,16 @@
     </pluginManagement>
 
     <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.13.0</version>
-        <configuration>
-          <release>17</release>
-        </configuration>
-      </plugin>
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <version>3.13.0</version>
+            <configuration>
+                <source>${source}</source>
+                <target>${source}</target>
+                <release>${source}</release>
+            </configuration>
+        </plugin>
 
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -252,6 +256,7 @@
         <artifactId>maven-javadoc-plugin</artifactId>
         <version>3.2.0</version>
         <configuration>
+            <release>${source}</release>
           <doclint>none</doclint>
         </configuration>
       </plugin>

Reply via email to