Last active
September 24, 2020 17:33
-
-
Save Magisus/d209c31ccf8cf33ac11881d9bd4f035e to your computer and use it in GitHub Desktop.
Building a pe-puppetserver uberjar with a dev dependency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On branches for Marshall and beyond*: | |
1. Make changes to dependent project (no commit necessary) | |
2. Run `lein clean && lein install` in that project dir, will put a SNAPSHOT version in your local maven repo | |
3. Update the entry for the dep in the `project.clj` file of pe-puppet-server-extenions to point to that installed SNAPSHOT version | |
4. Run `lein clean && lein uberjar` in pe-puppet-server-extensions. This creates a new `puppet-server-release.jar` in `target` | |
5. Copy the jar to your PE box: | |
`scp target/puppet-server-release.jar [email protected]:/opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar` | |
6. On that box, restart pe-puppetserver | |
* On the Irving branch, pe-puppet-server-extensions and pe-puppetserver are still two separate projects, | |
so the dep update and ezbake build need to happen in pe-puppetserver instead. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment