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

No install/download section #241

Closed
g4s8 opened this issue Apr 11, 2019 · 8 comments
Closed

No install/download section #241

g4s8 opened this issue Apr 11, 2019 · 8 comments
Labels
Milestone

Comments

@g4s8
Copy link

g4s8 commented Apr 11, 2019

I tried to download it from maven central and run using commands:

mvn dependency:get \ 
  -DgroupId=com.github.dgroup \
  -DartifactId=docker-unittests \
  -Dversion=1.1.0
java -jar ~/.m2/repository/com/github/dgroup/docker-unittests/1.1.0/docker-unittests-1.1.0.jar \
  -f tests.yml \
  -i alpine:latest

but got an error:

no main manifest attribute, in /home/g4s8/.m2/repository/com/github/dgroup/docker-unittests/1.1.0/docker-unittests-1.1.0.jar

then I tried to download sources from this repo build it and run:

git clone  --depth=1 https://github.com/dgroup/docker-unittests.git
cd docker-unittests
mvn clean install
cd ..
java -jar ./docker-unittests-1.1.0/target/docker-unittests-1.1.0.jar \
  -f tests.yml \
  -i alpine:latest

and got same error (no main manifest attribute).

Honestly speaking, I just forgot how to run it and now I can't find any documentation about it. Also it would be great if I'll be able to download a jar from somewhere (e.g. Github releases) without complex commands.

@dgroup
Copy link
Owner

dgroup commented Apr 11, 2019

Hi @g4s8 ,
Thank you for the issue reporting, will add the documentation.

As W/A the jar is available as shaded release
https://github.com/dgroup/docker-unittests/releases/download/v1.1.0/docker-unittests-app-1.1.0.jar

https://github.com/dgroup/docker-unittests/releases

@dgroup
Copy link
Owner

dgroup commented Apr 11, 2019

By default, there is no manifest within the *.jar for mvn central.

@g4s8
Copy link
Author

g4s8 commented Apr 11, 2019

@dgroup thanks this shaded release works fine, I tried to search this jar in latest github release https://github.com/dgroup/docker-unittests/releases/tag/1.1.0 (1.1.0 instead of v1.1.0)

@dgroup dgroup added this to the 1.1.1 milestone Apr 13, 2019
@dgroup
Copy link
Owner

dgroup commented Apr 13, 2019

@g4s8, i've renamed the release
image

The key problem here is that rultor didn't attach the files to the release
yegor256/rultor#1160

For this purpose, the github-release-plugin is used, however, it also can't attach the dist to the existing repository (only create from scratch or delete+create again).
https://github.com/jutzig/github-release-plugin/
I'm wondering to raise the RR to them.

@dgroup
Copy link
Owner

dgroup commented Apr 13, 2019

@rultor release, tag=1.1.1

@rultor
Copy link
Collaborator

rultor commented Apr 13, 2019

@rultor release, tag=1.1.1

@dgroup OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Apr 13, 2019

@rultor release, tag=1.1.1

@dgroup Done! FYI, the full log is here (took me 7min)

@dgroup dgroup added the bug label Apr 13, 2019
@g4s8
Copy link
Author

g4s8 commented Apr 16, 2019

@dgroup now it's clear, thanks

@g4s8 g4s8 closed this as completed Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants