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

Automatically ignore *-javadoc.jar and *-sources.jar #153

Open
vorburger opened this issue May 2, 2018 · 0 comments
Open

Automatically ignore *-javadoc.jar and *-sources.jar #153

vorburger opened this issue May 2, 2018 · 0 comments

Comments

@vorburger
Copy link
Collaborator

vorburger commented May 2, 2018

This strikes me as a bit dumb and would be nice to have be more intelligent out-of-the-box:

(...)
Copying Maven artifacts from /tmp/src/spring/target to /deployments ...
Running: cp -v *.jar /deployments
'org.opendaylight.bot.spring-javadoc.jar' -> '/deployments/org.opendaylight.bot.spring-javadoc.jar'
'org.opendaylight.bot.spring-sources.jar' -> '/deployments/org.opendaylight.bot.spring-sources.jar'
'org.opendaylight.bot.spring.jar' -> '/deployments/org.opendaylight.bot.spring.jar'
Checking for fat jar archive...
... done
Build completed successfully

$ docker run --rm -p 8080:8080 opendaylight-bot
Starting the Java application using /opt/run-java/run-java.sh ...
ERROR: Neither JAVA_MAIN_CLASS nor JAVA_APP_JAR is set and 3 found in /deployments (1 expected)
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

1 participant