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

spring-example pom.xml: assembly plugin #26

Closed
wants to merge 2 commits into from

Conversation

pcarrier
Copy link
Contributor

@pcarrier pcarrier commented Sep 13, 2019

Allows for:

$ mvn package && java -jar spring-example/target/federation-spring-example-0.2.1-SNAPSHOT-jar-with-dependencies.jar

We should confirm the artifacts do not get attached for upload.

Should update README.md to reflect the option.

Copy link

@zionts zionts left a comment

Choose a reason for hiding this comment

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

Looks good if we're positive it doesn't get uploaded to bintray :)

@lqc
Copy link

lqc commented Sep 14, 2019

I see you already list "springboot-maven-plugin", so why not use that (https://docs.spring.io/spring-boot/docs/current/maven-plugin/repackage-mojo.html) instead. The repackage mojo is the way recommended by Spring for this.

Allows for:

```
$ mvn package && java -jar spring-example/target/federation-spring-example-0.2.1-SNAPSHOT-jar-with-dependencies.jar
```
@pcarrier pcarrier force-pushed the pcarrier/assembly_for_spring-example branch from aee905e to 2c6a856 Compare January 16, 2020 18:34
@pcarrier pcarrier closed this Mar 22, 2020
@pcarrier pcarrier deleted the pcarrier/assembly_for_spring-example branch March 22, 2020 23:07
@pcarrier
Copy link
Contributor Author

@lqc Sounds better, thanks, dropping this.

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

Successfully merging this pull request may close these issues.

None yet

3 participants