Skip to content

Commit

Permalink
Add howto-deploy-to-central.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave committed Mar 3, 2024
1 parent 6ce42b1 commit 7ba6e5f
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions howto-deploy-to-central.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Deploy to Central

```shell
## confirm on master and building
git checkout master
mvn clean verify

## set the appropriate version
mvs

## run tests and package
mvn -T 4 clean package

## deploy
mvn -T 4 deploy -pl '!composites,!platforms' -Pcentral -DskipTests -DskipStagingRepositoryClose=true -DstagingProgressTimeoutMinutes=9

## git commit, git tag, git push --tags

## convert to javax
./jakarta-to-javax.sh

## set javax version
mvs

## deploy javax
mvn -T 4 clean package
mvn -T 4 deploy -pl '!composites,!platforms' -Pcentral -DskipTests -DskipStagingRepositoryClose=true -DstagingProgressTimeoutMinutes=9

## checkout / cleanup
git checkout .

## goto ebean-15x branch
git checkout ebean-15x

## update ebean-15x branch from master and resolve conflicts
git merge master
## resolve conflicts
## git commit, git push

## set 15.x version
mvs

## build and deploy 15.x
mvn -T 4 clean package
mvn -T 4 deploy -pl '!composites,!platforms' -Pcentral -DskipTests -DskipStagingRepositoryClose=true -DstagingProgressTimeoutMinutes=9

```


0 comments on commit 7ba6e5f

Please sign in to comment.