You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
The first idea is to convert Maven artifacts to Ceylon modules by simply adding the JARs to the assembly as if they were legacy modules (adding module.properties files where needed) and adding an overrides.xml file to change the Maven imports to Ceylon imports.
The second idea is to put the Maven artifacts in a separate folder inside the assembly, with their pom.xml files, and use the MavenRepository to access them. It's probably the simplest in implementation.
The third idea would be like the second one, but using the AetherRepository instead. It's probably the hardest to get right and should only be considered if the other two ideas don't work out (but it's also the one most likely to get every aspect of Maven support right).
Edit: finally went with the second solution
The text was updated successfully, but these errors were encountered:
Ok, basic support seems to be working. More complex projects like @DiegoCoronel 's ceylon-spring-boot give problems. But the same seems to be true for fat-jar so perhaps @FroMage could take a look at that? (The code for the assemble tool and the fat-jar tool are very similar, I expect that the solution for one would also work for the other).
PS: I tried with the "gateway" module within Diego's project
Improvement on #6712 to add Maven support.
Possible implementations:
module.properties
files where needed) and adding anoverrides.xml
file to change the Maven imports to Ceylon imports.pom.xml
files, and use theMavenRepository
to access them. It's probably the simplest in implementation.AetherRepository
instead. It's probably the hardest to get right and should only be considered if the other two ideas don't work out (but it's also the one most likely to get every aspect of Maven support right).Edit: finally went with the second solution
The text was updated successfully, but these errors were encountered: