This file contains 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
find . -name "*" -type f ! -path "./.git/*" -exec gsed -i 's/Copyright (C) 20..-20.. Flow Logix/Copyright (C) 2011-2025 Flow Logix/' {} \; |
This file contains 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
https://www.cloudbees.com/blog/apache-maven-continuous-deliverydeployment-devoptics-teams-approach |
This file contains 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
Assume the new version is 15, old is 14 | |
* If new postgres is not available in code, make sure Tap petere/postgresql exsists | |
* Do not uninstall the old database version until the end | |
stop the database (as postgres user) | |
pg_ctl -mf stop | |
brew install postgres@15 | |
/opt/homebrew/Cellar/postgresql@15/15.0/bin/initdb ~/var/postgres_new -U admin --locale=C --encoding=UTF8 | |
LC_ALL=C /opt/homebrew/Cellar/postgresql@15/15.0/bin/pg_upgrade -b /opt/homebrew/Cellar/postgresql@14/14.5_5/bin -B /opt/homebrew/Cellar/postgresql@15/15.0/bin -d ~/var/postgres -D ~/var/postgres_new -U admin | |
migrate postgresql.conf and pg_hba.conf manually |
This file contains 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
sudo dseditgroup -o edit -a lprimak -t user access_bpf |
This file contains 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
openssl enc -aes-128-cbc -k secret -P -md sha256 |
This file contains 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
var lookup = MethodHandles.privateLookupIn(EagerBeansWebListener.class, MethodHandles.lookup()); | |
var mh = lookup.findStatic(EagerBeansWebListener.class, "disable", MethodType.methodType(void.class)); | |
mh.invokeExact(); |
This file contains 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
$ git fetch upstream pull/5081/head |
This file contains 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
here's a full set of tests/samples here: | |
https://github.com/eclipse-ee4j/soteria/tree/master/test | |
Every test is a full web application. | |
There's a larger application using Jakarta EE security available here: https://github.com/javaeekickoff/java-ee-kickoff-app | |
Let me know if that works for you. |
This file contains 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
# Version things | |
mvn versions:set -DprocessAllModules=true -DgenerateBackupPoms=false -DoldVersion=2.5-SNAPSHOT -DnewVersion=2.6-SNAPSHOT | |
# Update deps | |
mvn versions:use-latest-versions -DgenerateBackupPoms=false -Dmaven.version.rules=file://$HOME/.m2/versions-ruleset.xml | |
mvn versions:update-properties -DgenerateBackupPoms=false -Dmaven.version.rules=file://$HOME/.m2/versions-ruleset.xml | |
mvn -U versions:display-plugin-updates -DgenerateBackupPoms=false -DprocessUnboundPlugins=true | |
# Deploy Arquillian Core | |
mvn release:prepare -DaltReleaseDeploymentRepository=payara-nexus-artifacts::default::https://nexus.payara.fish/repository/payara-artifacts \ |
NewerOlder