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
Describe the bug
The documentation for the Integration part is not up-to-date, if you create an integration point based on that docs, it will not work.
/**** @param param build dir directory which will be made into a jar when build is done* @param pomFile location of pom.xml representing the projects dependencies* @param dependencies list of GAV to Path of artifact/classpath dependencies* @param nativeImage true if --native been requested* @return Map<String, Object> map of returns; special keys are "native-image" which is a and "files" to* return native-image to be run and list of files to get written to the output directory.**/Map<String, Object> postBuild(Pathbuilddir, PathpomFile, List<Map.Entry<String, Path>> dependencies,
booleannativeImage) {
}
But in reallity this should in the docs, I mean the parameter list:
Expected behavior
Change the documentation for the Integration
JBang version
❯ jbang --version
0.95.0
Additional context @maxandersen I saw some tickets about the Integration API/SPI "refactor" or rework. Is it process somewhere? Any ideas for it?
Maybe a Maven dependency that would include an interface and a wrapper class that can include the already existing method parameters inside that and it would be much cleaner probably to implement an integration point.
The text was updated successfully, but these errors were encountered:
Describe the bug
The documentation for the Integration part is not up-to-date, if you create an integration point based on that docs, it will not work.
https://www.jbang.dev/documentation/guide/latest/integration.html
In the docs now:
But in reallity this should in the docs, I mean the parameter list:
And in JBang the following code snippet is happening:
Expected behavior
Change the documentation for the Integration
JBang version
❯ jbang --version
0.95.0
Additional context
@maxandersen I saw some tickets about the Integration API/SPI "refactor" or rework. Is it process somewhere? Any ideas for it?
Maybe a Maven dependency that would include an interface and a wrapper class that can include the already existing method parameters inside that and it would be much cleaner probably to implement an integration point.
The text was updated successfully, but these errors were encountered: