You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by GitBox <gi...@apache.org> on 2022/09/22 12:46:17 UTC

[GitHub] [felix-atomos] fipro78 opened a new issue, #66: Build fails with Java 17

fipro78 opened a new issue, #66:
URL: https://github.com/apache/felix-atomos/issues/66

   If I try to build atomos locally using a Java 17, the build fails with this error:
   
   `[ERROR] Failed to execute goal org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) on project osgi.core: Execution default of goal org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files failed: Unable to make private java.io.File(java.lang.String,java.io.File) accessible: module java.base does not "opens java.io" to unnamed module @627d5f99`
   
   Not sure if and how this can be fixed. Running the build using Java 11 works.


-- 
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: dev-unsubscribe@felix.apache.org.apache.org

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


Re: [I] Build fails with Java 17 [felix-atomos]

Posted by "tjwatson (via GitHub)" <gi...@apache.org>.
tjwatson commented on issue #66:
URL: https://github.com/apache/felix-atomos/issues/66#issuecomment-1810425691

   > @tjwatson I wanted to wait until someone tried it with java 17 to see whether it works
   
   The 8-SNAPSHOT with the updated felix parent works for me on Java 17.
   That is after remembering that felix-atomos has two references to the felix parent:
   
   https://github.com/apache/felix-atomos/blob/41e89d79d59a68f7223469797afae4be2251c29b/pom.xml#L23-L28
   https://github.com/apache/felix-atomos/blob/41e89d79d59a68f7223469797afae4be2251c29b/atomos-parent/pom.xml#L23-L28
   


-- 
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: dev-unsubscribe@felix.apache.org

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


Re: [I] Build fails with Java 17 [felix-atomos]

Posted by "cziegeler (via GitHub)" <gi...@apache.org>.
cziegeler commented on issue #66:
URL: https://github.com/apache/felix-atomos/issues/66#issuecomment-1806767026

   @tjwatson I wanted to wait until someone tried it with java 17 to see whether it works


-- 
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: dev-unsubscribe@felix.apache.org

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


Re: [I] Build fails with Java 17 [felix-atomos]

Posted by "tjwatson (via GitHub)" <gi...@apache.org>.
tjwatson closed issue #66: Build fails with Java 17
URL: https://github.com/apache/felix-atomos/issues/66


-- 
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: dev-unsubscribe@felix.apache.org

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


[GitHub] [felix-atomos] tjwatson commented on issue #66: Build fails with Java 17

Posted by GitBox <gi...@apache.org>.
tjwatson commented on issue #66:
URL: https://github.com/apache/felix-atomos/issues/66#issuecomment-1255210292

   I believe this is because of the felix-dev parent pom we use that has:
   
   ```
                   <plugin>
                       <groupId>org.codehaus.mojo</groupId>
                       <artifactId>ianal-maven-plugin</artifactId>
                       <version>1.0-alpha-1</version>
                   </plugin>
   ```
   
   That plugin looks completely unmantained.  No real release, only this alpha-1 from 2008!  @karlpauls Why does the felix parent pom use this unmaintained plugin?  https://github.com/apache/felix-dev/blob/master/pom/pom.xml


-- 
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: dev-unsubscribe@felix.apache.org

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


Re: [I] Build fails with Java 17 [felix-atomos]

Posted by "rombert (via GitHub)" <gi...@apache.org>.
rombert commented on issue #66:
URL: https://github.com/apache/felix-atomos/issues/66#issuecomment-1805313281

   In Sling we replaced that plugin with the tools-maven-plugin from Geronimo, see https://github.com/apache/sling-parent/pull/21


-- 
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: dev-unsubscribe@felix.apache.org

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


Re: [I] Build fails with Java 17 [felix-atomos]

Posted by "jingsx (via GitHub)" <gi...@apache.org>.
jingsx commented on issue #66:
URL: https://github.com/apache/felix-atomos/issues/66#issuecomment-1805075554

   I am facing same issue. Is there a fix available for this issue ? 


-- 
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: dev-unsubscribe@felix.apache.org

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


Re: [I] Build fails with Java 17 [felix-atomos]

Posted by "tjwatson (via GitHub)" <gi...@apache.org>.
tjwatson commented on issue #66:
URL: https://github.com/apache/felix-atomos/issues/66#issuecomment-1806343768

   > In Sling we replaced that plugin with the tools-maven-plugin from Geronimo, see [apache/sling-parent#21](https://github.com/apache/sling-parent/pull/21)
   
   Seems the felix parent also has been updated, but no release of it to include the fix:
   
   https://github.com/apache/felix-dev/blob/a3d7175628b93e07c88945c53dd39405bf81f6da/pom/pom.xml#L225-L239
   
   @cziegeler any plans to release the updated felix-parent pom?


-- 
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: dev-unsubscribe@felix.apache.org

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


Re: [I] Build fails with Java 17 [felix-atomos]

Posted by "VaginAY (via GitHub)" <gi...@apache.org>.
VaginAY commented on issue #66:
URL: https://github.com/apache/felix-atomos/issues/66#issuecomment-2156440413

   Hello. Here is my patch for project compilation 
   
   Check with bellsoft java and  actual graalvm :
   graalvm-community-openjdk-17.0.9+9.1
   graalvm-community-openjdk-21.0.2+13.1
   
   Example with atomos_lib is working good.
   
   [java17_atomos.zip](https://github.com/user-attachments/files/15751559/java17_atomos.zip)
   


-- 
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: dev-unsubscribe@felix.apache.org

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