Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAVEN, json-simple 1.1.1 depends on Junit #91

Open
GoogleCodeExporter opened this issue Apr 13, 2015 · 10 comments
Open

MAVEN, json-simple 1.1.1 depends on Junit #91

GoogleCodeExporter opened this issue Apr 13, 2015 · 10 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
On central maven repo, 
http://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple/1.1.1 
json-simple pom reference junit in its dependencies.

What is the expected output? What do you see instead?
junit deps should be in test scope

What version of the product are you using? On what operating system?
1.1.1

Please provide any additional information below.
json-simple comes with junit wich leads to conflicts in maven projects using 
json-simple

Thanks

Original issue reported on code.google.com by [email protected] on 23 Sep 2013 at 2:15

@gordysc
Copy link

gordysc commented Aug 2, 2016

Any chance we could please get a release of this to Maven Central? The JUnit library being included in shaded libraries is unnecessary bloat and can generating annoying classpath overlap warnings.

@gordysc
Copy link

gordysc commented Aug 15, 2016

Any news on getting this release out?

@loegering
Copy link

I just want to note that this issue has been addressed in my fork (which is fully compatible with this library if you're using java 7+). You can find more details about it here: https://cliftonlabs.github.io/json-simple/

k-jiang added a commit to k-jiang/BungeeAccess that referenced this issue Feb 17, 2017
murdos added a commit to murdos/jts that referenced this issue Mar 26, 2022
JUnit should be a test dependency only. Projects using `jts-io-common` also inherits from this (outdated) dependency.
See fangyidong/json-simple#91
dr-jts pushed a commit to locationtech/jts that referenced this issue Mar 31, 2022
JUnit should be a test dependency only. Projects using `jts-io-common` also inherits from this (outdated) dependency.
See fangyidong/json-simple#91
@xbcbqc
Copy link

xbcbqc commented Aug 17, 2023

Hello would it be possible to release a new version of this library? The code is fixed but there is no artifact of json-simple available without junit in the dependencies. Thanks

@loegering
Copy link

@xbcbqc https://cliftonlabs.github.io/json-simple/ you can use this release for json-simple without junit in in your project.

@xbcbqc
Copy link

xbcbqc commented Aug 21, 2023

Ok thanks. I need to communicate with the other project because it's a transitive lib in my dependencies.

@loegering
Copy link

Sure thing, just a heads up: you can use version 2.3.1 of the one I linked to be fully backwards compatible with this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants