Make boringssl profile statically link APR
Make boringssl profile statically link APR

Motivation:

The boingssl profile statically links boringssl, but dynamically links APR, which means that the user still may have an extra step in installing APR onto the system before being able to use tcnative.

In addition, there was a bug with the boringssl profile in that the JNI lib was created with the name "netty-tcnative-boringssl", since it uses the artifactId by default. This prevents successful loading of the library in netty, since it's hard-coded to load "netty-tcnative".

Modifications:

Modified the pom.xml to download and build APR static libraries only.

Also manually setting the JNI library name to "netty-tcnative", regardless of artifactId.

Result:

BoringSSL profile is now completely stand-alone.

floragunncom/netty-tcnative,netty/netty-tcnative,netty/netty-tcnative,netty/netty-tcnative,floragunncom/netty-tcnative,netty/netty-tcnative