Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Siedlerchr
Copy link
Member

Closes https://github.com/JabRef/jabref-issue-melting-pot/issues/1083

Steps to test

Mandatory checks

  • I own the copyright of the code submitted and I license it under the MIT license
  • [.] I manually tested my changes in running JabRef (always required)
  • [.] I added JUnit tests for changes (if applicable)
  • [.] I added screenshots in the PR description (if change is visible to the user)
  • [.] I described the change in CHANGELOG.md in a way that is understandable for the average user (if change is visible to the user)
  • [.] I checked the user documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request updating file(s) in https://github.com/JabRef/user-documentation/tree/main/en.

@Siedlerchr
Copy link
Member Author

stack overflow error in jbang wtf?

* main:
  change command imports
  Chore(deps): Bump org.openrewrite.rewrite from 7.19.0 to 7.20.0 (#14266)
  Chore(deps): Bump org.openrewrite.recipe:rewrite-recipe-bom from 3.17.0 to 3.18.0 (#14265)
  Chore(deps): Bump com.google.errorprone:error_prone_core in /versions (#14269)
  Chore(deps): Bump io.github.thibaultmeyer:cuid in /versions (#14268)
  Chore(deps): Bump org.gradlex:java-module-testing in /build-logic (#14267)
  Chore(deps): Bump jablib/src/main/resources/csl-styles (#14264)
  Chore(deps): Bump appleboy/ssh-action from 1.2.2 to 1.2.3 (#14262)
  Fix: Ctrl+Shift+L now opens terminal in the active library directory (#14256)

# Conflicts:
#	jabsrv/src/main/java/module-info.java
#	jabsrv/src/main/java/org/jabref/http/server/command/CommandResource.java
@Siedlerchr
Copy link
Member Author

definitely something with the dep:
at dev.jbang.dependencies.DependencyUtil.looksLikeAPossibleGav(DependencyUtil.java:158)
at dev.jbang.source.parser.Directives.isGav(Directives.java:82)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:196)

@koppor
Copy link
Member

koppor commented Nov 9, 2025

I filed jbangdev/jbang#2281

* main:
  Fix calling JBang command (#14282)
  .jbang scripts should not be included inside themselves (#14278)
  Fix typos (#14277)
  Refactor importDatabase for better readability (#14274)
  fix jbang (#14276)
  Feat: Add definition links for TeX Files (#14260)
  Update preventing module commits (#14273)
  Fix JabKitLuancher
  Rename packages in jabkit to start with org.jabref.toolkit to avoid split packages between jabkit and jabgui (#14052). (#14271)
  Add doi-to-bibtex to examples and JabKit (#14244)
@Siedlerchr
Copy link
Member Author

needs testing with LSP

Siedlerchr and others added 7 commits November 13, 2025 21:20
* upstream/main: (30 commits)
  Chore(deps): Bump io.github.classgraph:classgraph from 4.8.181 to 4.8.184 in /versions (#14304)
  Chore(deps): Bump com.fasterxml:aalto-xml in /versions (#14311)
  Chore(deps): Bump commons-io:commons-io in /versions (#14310)
  Chore(deps): Bump org.apache.maven.plugins:maven-surefire-plugin (#14298)
  Disable fetcher-gui-test (#14308)
  Chore(deps): Bump com.dlsc.gemsfx:gemsfx in /versions (#14307)
  No labels for dependeabot updates
  Fix fallback window height from 786 to 768 (#14295)
  Chore(deps): Bump com.fasterxml.jackson.dataformat:jackson-dataformat-yaml (#14306)
  Chore(deps): Bump org.apache.maven.plugins:maven-compiler-plugin (#14302)
  Chore(deps): Bump org.apache.maven.plugins:maven-deploy-plugin (#14300)
  Chore(deps): Bump org.apache.maven.plugins:maven-clean-plugin (#14299)
  Chore(deps): Bump jablib/src/main/resources/csl-styles (#14296)
  Chore(deps): Bump com.vanniktech.maven.publish in /jablib (#14303)
  Chore(deps): Bump org.apache.maven.plugins:maven-project-info-reports-plugin (#14297)
  Update all dependencies (#14301)
  Prepare maven3 example project (#14294)
  Refactor StringUtilTest to use parameterized tests (#14126)
  Try to fix download of pr_number
  Fix workflow names
  ...
@koppor
Copy link
Member

koppor commented Nov 14, 2025

Now, JBang outputs

 CSLStyleLoader.java:16: error: package tools.jackson.core.type does not exist
import tools.jackson.core.type.TypeReference;

This is OK, because jablib on maven central is not updated with the new jackson dependencies

@koppor
Copy link
Member

koppor commented Nov 14, 2025

JabKitLauncher has a strange error when it is executed... - I am not sure what this is, but I would wait for a merge in main and see what happens...

 Error: Exception in thread "main" java.lang.NoClassDefFoundError: textFormatter/color/Color
	at org.jabref.toolkit.JabKit.initLogging(JabKit.java:157)
	at org.jabref.toolkit.JabKit.main(JabKit.java:63)
	at JabKitLauncher.main(JabKitLauncher.java:41)
Caused by: java.lang.ClassNotFoundException: textFormatter.color.Color
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
``´

Comment on lines 33 to 36
//DEPS com.fasterxml.jackson.core:jackson-annotations:2.20
//DEPS tools.jackson.core:jackson-core:3.0.2
//DEPS tools.jackson.core:jackson-databind:3.0.2
//DEPS tools.jackson.dataformat:jackson-dataformat-yaml:3.0.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe, this can be left out, because it will come in using the jablib SNAPSHOT from maven central.

api("org.junit.jupiter:junit-jupiter")
api("org.junit.platform:junit-platform-launcher")

api(platform("tools.jackson:jackson-bom:3.0.2"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version has to go to below to the constraints (doesn't it?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have absolutely no idea, because it's a bom and other boms are declared at the top as well

@Siedlerchr Siedlerchr enabled auto-merge November 15, 2025 16:09
@Siedlerchr Siedlerchr added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Nov 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants