XStream Illegal Reflective Access
If you are compiling with AdoptOpenJDK 11, you might hit – “Illegal reflective access” com.thoughtworks.xstream.
If your build and your dependencies don’t show xstream in it, check your plugins:
mvn dependency:resolve-plugins -f fhir-parent/pom.xml | grep -B20 -i xst
[INFO] Plugin Resolved: maven-war-plugin-3.2.3.jar
[INFO] Plugin Dependency Resolved: maven-plugin-api-3.0.jar
[INFO] Plugin Dependency Resolved: maven-core-3.0.jar
[INFO] Plugin Dependency Resolved: maven-archiver-3.4.0.jar
[INFO] Plugin Dependency Resolved: commons-io-2.5.jar
[INFO] Plugin Dependency Resolved: plexus-archiver-4.1.0.jar
[INFO] Plugin Dependency Resolved: plexus-interpolation-1.25.jar
[INFO] Plugin Dependency Resolved: xstream-1.4.10.jar
I upgraded to the latest maven-war-plugin (3.1.0) and it was solved
Depgraph Maven Plugin
Use the depgraph-maven-plugin to aggregate the output as an image. (I used this in the FHIR project to see if there were any unknown dependencies – https://github.com/IBM/FHIR/issues/87 )
maven-plugin:3.3.0:aggregate -f fhir-parent/pom.xml -DshowAllAttributesForJson= true -DcreateImage=true -DreduceEdges=true -DmergeClassifiers=true -DmergeTypes=true -Dexcludes=testng:: -DgraphFormat=json
Extract the Certs (All of Them)
Quick way to extract the main cert, and the intermediate CA and ROOT ca from a host.
echo “” | openssl s_client -showcerts -prexit -connect HOSTNAME:443 2> /dev/null | sed -n -e ‘/BEGIN CERTIFICATE/,/END CERTIFICATE/ p’
You’ll get a PEM as output (just capture into a file you can use)
LINTING the Travis Yaml
curl -X POST https://api.travis-ci.com/lint -H “Accept: application/vnd.travis-ci.2+
“message”: “dropping \”file\” section: unexpected sequence”
More detail at https://developer.travis-ci.