I downloaded the entire Felix code base for this commit. I then attempted
to build iPojo with "mvn clean install" and got the following error:

[ERROR] Failed to execute goal
org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files
(default) on project org.apache.felix.ipojo.metadata: 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
@214e3185 -> [Help 1]

I assume I built it the wrong way. Can anyone advise me how to build Felix
(or just iPojo)?

/Bengt

Den ons 9 mars 2022 kl 15:55 skrev Bengt Rodehav <be...@rodehav.com>:

> I haven't done this before. I was hoping someone had newly built iPojo
> jar's I could test.
>
> /Bengt
>
> Den ons 9 mars 2022 kl 15:41 skrev Karl Pauls <karlpa...@gmail.com>:
>
>> There is a PR here: https://github.com/apache/felix-dev/pull/129
>>
>> So I imaging you would apply it locally and build the ipojo subproject.
>>
>> regards,
>>
>> Karl
>>
>> On Wed, Mar 9, 2022 at 3:27 PM Bengt Rodehav <be...@rodehav.com> wrote:
>> >
>> > I can try. Not familiar with how to create a working JAR from the
>> > information in the JIRA though. Alexander, could you build the necessary
>> > jar's for me and instruct me what dependencies I should use?
>> >
>> > /Bengt
>> >
>> > Den fre 4 mars 2022 kl 10:58 skrev Karl Pauls <karlpa...@gmail.com>:
>> >
>> > > Yes, I agree - I didn't have time yet to review the path.
>> > >
>> > > Could you have a look and see if it is working for you?
>> > >
>> > > regards,
>> > >
>> > > Karl
>> > >
>> > > On Fri, Mar 4, 2022 at 10:14 AM Bengt Rodehav <be...@rodehav.com>
>> wrote:
>> > > >
>> > > > This is really interesting. We are very dependent on iPojo but we
>> need to
>> > > > move on to newer Java. We use OpenJDK 18 now. Even if iPojo won't be
>> > > > maintained as in new features, it would be very valuable to have the
>> > > > existing functionality work in newer Java versions.
>> > > >
>> > > > /Bengt Rodehav
>> > > >
>> > > > Den fre 4 mars 2022 kl 07:06 skrev Alexander Shaklein (Jira) <
>> > > > j...@apache.org>:
>> > > >
>> > > > >
>> > > > >      [
>> > > > >
>> > >
>> https://issues.apache.org/jira/browse/FELIX-6502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>> > > > > ]
>> > > > >
>> > > > > Alexander Shaklein updated FELIX-6502:
>> > > > > --------------------------------------
>> > > > >     Summary: IPOJO Java 11+ support  (was: Java 11+ support)
>> > > > >
>> > > > > > IPOJO Java 11+ support
>> > > > > > ----------------------
>> > > > > >
>> > > > > >                 Key: FELIX-6502
>> > > > > >                 URL:
>> > > https://issues.apache.org/jira/browse/FELIX-6502
>> > > > > >             Project: Felix
>> > > > > >          Issue Type: Improvement
>> > > > > >          Components: iPOJO
>> > > > > >            Reporter: Alexander Shaklein
>> > > > > >            Priority: Minor
>> > > > > >
>> > > > > > I have made some changes in ipojo projects to work in java 11+.
>> > > > > > The were successfully tested on java 11, 16. Should i make a PR
>> or i
>> > > can
>> > > > > work with fork alone?
>> > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > > This message was sent by Atlassian Jira
>> > > > > (v8.20.1#820001)
>> > > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Karl Pauls
>> > > karlpa...@gmail.com
>> > >
>>
>>
>>
>> --
>> Karl Pauls
>> karlpa...@gmail.com
>>
>

Reply via email to