From Command Line at Component root:
- Confirm GPG is running (check this every time you open a new Terminal):
- $ env | grep GPG # you should see something like: GPG_TTY=/dev/ttys000
- To start GPG if GPG Agent is not running:
- $ eval $(gpg-agent --daemon)
- Confirm GitHub repository is current and git status is clean:
- $ git status
- “nothing to commit, working tree clean”
- At major version releases, search for deprecated code and remove at Major Versions only.
- $ find . -name “*.java” -type f -print | xargs grep -i -n -s -A0 “deprecated”
- Check Maven Versions:
- $ mvn versions:display-plugin-updates
- Maven Tests:
- $ mvn apache-rat:check
- $ mvn clean test
- $ mvn clean test -P strict
- $ mvn clean javadoc:javadoc
- $ mvn clean install -DskipTests=true
- Check that the /target/ directory has 5 jars:
- -javadoc.jar
- -sources.jar
- -test-sources.jar
- -tests.jar
- -.jar
- Check your local Maven repository
- ~/.m2/repository/org/apache/datasketches/datasketches-<component>/A.B.0-SNAPSHOT/
- It should have 5 new jars and a .pom file.