Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

fix(rest): seperate creation of rest fatjars to maven profile #802

Merged
merged 1 commit into from
Apr 5, 2018

Conversation

maierthomas
Copy link
Contributor

@maierthomas maierthomas commented Mar 29, 2018

  • removed the auto build for fatjars in rest projects
    --> added maven profile to obtain the option to build rest fatjars

closes #799

@mcjaeger
Copy link
Contributor

mcjaeger commented Apr 3, 2018

maybe testing could be like this using the fatjar:
java -jar myfatjar.jar

@maierthomas
Copy link
Contributor Author

maierthomas commented Apr 4, 2018

Yes you can run the fatjar (wars) successfully with java -jar resource.war/authorization.war
In general if someone needs this fatjar war files the user can generate fatjars with maven profile parameter fatjar.

maven package -P fatjar
This command will generate package.war (fatjar) and package.war.original (no fatjar, no main manifest)

I think we should describe this options in the readme or wiki page.

@maierthomas maierthomas force-pushed the fix/799-fix-rest-build branch from f980f9d to 62c0351 Compare April 5, 2018 06:30
@maierthomas maierthomas merged commit 243ebc6 into master Apr 5, 2018
@maierthomas maierthomas deleted the fix/799-fix-rest-build branch April 24, 2018 09:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sw360 project build fails in the first time cause cannot build authorization server
3 participants