You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bukama (via GitHub)" <gi...@apache.org> on 2026/02/25 20:16:31 UTC

[PR] Update 47 [maven-jmod-plugin]

Bukama opened a new pull request, #96:
URL: https://github.com/apache/maven-jmod-plugin/pull/96

   Testing if it works, getting one strange error with Zulu on my local machine, while all others work


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update 48, Maven 3.9.16 [maven-jmod-plugin]

Posted by "slawekjaranowski (via GitHub)" <gi...@apache.org>.
slawekjaranowski commented on code in PR #96:
URL: https://github.com/apache/maven-jmod-plugin/pull/96#discussion_r3336652758


##########
src/it/mjmod-20-set-main-class/pom.xml:
##########
@@ -49,11 +49,21 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>
-                    <version>@version.maven-compiler-plugin@</version>
+                    <!-- When this version is not set to 3.8.0, but to @version.maven-compiler-plugin@ then jar-plugin 4.0.0-beta gets pulled in which is not defined anywhere, but is the latest in my local repository.
+                    4.0.0-beta ofc is not compatible with Maven 3.9.x.
+                    if you then set the jar-plugin to @version.maven-jar-plugin@, the java module (of the module-info) gets not found -->

Review Comment:
   🤔 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update 48, Maven 3.9.16 [maven-jmod-plugin]

Posted by "Bukama (via GitHub)" <gi...@apache.org>.
Bukama commented on code in PR #96:
URL: https://github.com/apache/maven-jmod-plugin/pull/96#discussion_r3362720457


##########
src/it/mjmod-20-set-main-class/pom.xml:
##########
@@ -49,11 +49,21 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>
-                    <version>@version.maven-compiler-plugin@</version>
+                    <!-- When this version is not set to 3.8.0, but to @version.maven-compiler-plugin@ then jar-plugin 4.0.0-beta gets pulled in which is not defined anywhere, but is the latest in my local repository.
+                    4.0.0-beta ofc is not compatible with Maven 3.9.x.
+                    if you then set the jar-plugin to @version.maven-jar-plugin@, the java module (of the module-info) gets not found -->

Review Comment:
   @desruisseaux Do you maybe have an idea why the module-info might not be found, when I set @version.maven-jar-plugin@ (I'm not that into the module system by heart)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update 48, Maven 3.9.16 [maven-jmod-plugin]

Posted by "Bukama (via GitHub)" <gi...@apache.org>.
Bukama commented on code in PR #96:
URL: https://github.com/apache/maven-jmod-plugin/pull/96#discussion_r3336590925


##########
src/it/mjmod-20-set-main-class/pom.xml:
##########
@@ -49,11 +49,21 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>
-                    <version>@version.maven-compiler-plugin@</version>
+                    <!-- When this version is not set to 3.8.0, but to @version.maven-compiler-plugin@ then jar-plugin 4.0.0-beta gets pulled in which is not defined anywhere, but is the latest in my local repository.
+                    4.0.0-beta ofc is not compatible with Maven 3.9.x.
+                    if you then set the jar-plugin to @version.maven-jar-plugin@, the java module (of the module-info) gets not found -->

Review Comment:
   Yes changing the compiler version to `@version.maven-compiler-plugin@` pulls in a 4.0.0-beta-1 jar-plugin version.
   
   ```
   [DEBUG] org.apache.maven.plugins:maven-jar-plugin/maven-metadata.xml was not found in file:///C:/Users/matth/.m2/repository during a previous attempt. This failure was cached in the local repository and resolution is not be reattempted until the update interval of local.central has elapsed or updates are forced
   [DEBUG] Skipped remote request for org.apache.maven.plugins:maven-jar-plugin/maven-metadata.xml, locally cached metadata up-to-date
   [WARNING] Ignoring incompatible plugin version 4.0.0-beta-1
   org.apache.maven.plugin.PluginIncompatibleException: 
   The plugin org.apache.maven.plugins:maven-jar-plugin:4.0.0-beta-1 has unmet prerequisites: 
   	Required Maven version 4.0.0-beta-3 is not met by current version 3.9.16
   
   ```
   
   And yes this absolute does not makes sense, but I tried it multiple times.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update 48, Maven 3.9.16 [maven-jmod-plugin]

Posted by "slawekjaranowski (via GitHub)" <gi...@apache.org>.
slawekjaranowski commented on code in PR #96:
URL: https://github.com/apache/maven-jmod-plugin/pull/96#discussion_r3336534368


##########
src/it/mjmod-20-set-main-class/pom.xml:
##########
@@ -49,11 +49,21 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>
-                    <version>@version.maven-compiler-plugin@</version>
+                    <!-- When this version is not set to 3.8.0, but to @version.maven-compiler-plugin@ then jar-plugin 4.0.0-beta gets pulled in which is not defined anywhere, but is the latest in my local repository.
+                    4.0.0-beta ofc is not compatible with Maven 3.9.x.
+                    if you then set the jar-plugin to @version.maven-jar-plugin@, the java module (of the module-info) gets not found -->

Review Comment:
   you are writing about jar-plugin but it is for compiler ...?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update 48, Maven 3.9.16 [maven-jmod-plugin]

Posted by "Bukama (via GitHub)" <gi...@apache.org>.
Bukama merged PR #96:
URL: https://github.com/apache/maven-jmod-plugin/pull/96


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org