8000 Non-mvn instructions · Issue #16 · oostendo/python-zxing · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Non-mvn instructions #16

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

Open
AbdealiLoKo opened this issue May 30, 2016 · 2 comments
Open

Non-mvn instructions #16

AbdealiLoKo opened this issue May 30, 2016 · 2 comments

Comments

@AbdealiLoKo
Copy link
AbdealiLoKo commented May 30, 2016

The readme gives usage instructions that need maven. As I'm making a python application, it wouldn't be appropriate for me to ask my users to install maven and build maven packages.
Isn't there a standalone jar file or so that they can simply download and use ?

@alanrgan
Copy link
alanrgan commented Jun 1, 2017

You can build a standalone jar yourself from the zxing project and distribute that along with your application.

Simply run:

cd zxing/javase/
mvn -DskipTests package assembly:single

A standalone jar will be generated in the javase/target/ directory with the name javase-X.X.X-jar-with-dependencies.jar, which you can then distribute.

You do have to modify the __init__.py by replacing libs = ... and args = ... with libs = ["javase/javase.jar"] and args = ["-jar", "LIBS"].

@Matt-Payne
Copy link
Matt-Payne commented Dec 21, 2019

getting this error when trying to build standalone or mvn install in the javase folder.

"
Failed to execute goal on project javase: Could not resolve dependencies for project com.google.zxing:javase:jar:3.4.1-SNAPSHOT: Failed to collect dependencies at com.google.zxing:core:jar:3.4.1-SNAPSHOT: Failed to read artifact descriptor for com.google.zxing:core:jar:3.4.1-SNAPSHOT: Could not find artifact com.google.zxing:zxing-parent:pom:3.4.1-SNAPSHOT -> [Help 1]"

seems like it doesn't exist anymore.

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

No branches or pull requests

3 participants
0