Lines Matching +full:maven +full:- +full:settings

16 * [Java CRT Documentation](https://awslabs.github.io/aws-crt-java/)
18 * [Platform-Specific JARs](#platform-specific-jars)
19 * [System Properties](#system-properties)
20 * [TLS Behavior](#tls-behavior)
33 * Maven
36 1) `apt-get install cmake3 maven openjdk-8-jdk-headless -y`
37 2) `git clone https://github.com/awslabs/aws-crt-java.git`
38 3) `cd aws-crt-java`
39 4) `git submodule update --init --recursive`
47 * Maven
50 1) `brew install maven cmake` (if you have homebrew installed, otherwise install these manually)
51 2) `git clone https://github.com/awslabs/aws-crt-java.git`
52 3) `cd aws-crt-java`
53 4) `git submodule update --init --recursive`
61 * Maven
64 1) `choco install maven` (if you have chocolatey installed), otherwise install maven and the JDK ma…
65 2) `git clone https://github.com/awslabs/aws-crt-java.git`
66 3) `cd aws-crt-java`
67 4) `git submodule update --init --recursive`
74 [Java CRT Documentation](https://awslabs.github.io/aws-crt-java/)
77 From the aws-crt-java directory:
79 From maven: (https://search.maven.org/artifact/software.amazon.awssdk.crt/aws-crt/)
81 ## Platform-Specific JARs
83-crt` JAR in Maven Central is a large "uber" jar that contains compiled C libraries for many diffe…
86 <!-- Platform-specific Linux x86_64 JAR -->
89 <artifactId>aws-crt</artifactId>
91 <classifier>linux-x86_64</classifier>
96 <!-- "Uber" JAR that works on all platforms -->
99 <artifactId>aws-crt</artifactId>
106 - linux-armv6 (no auto-detect)
107 - linux-armv7 (no auto-detect)
108 - linux-aarch_64
109 - linux-x86_32
110 - linux-x86_64
111 - linux-x86_64-musl (no auto-detect)
112 - linux-armv7-musl (no auto-detect)
113 - linux-aarch_64-musl (no auto-detect)
114 - osx-aarch_64
115 - osx-x86_64
116 - windows-x86_32
117 - windows-x86_64
119 ### Auto-detect
121 The [os-maven-plugin](https://github.com/trustin/os-maven-plugin) can automatically detect your pla…
123 **NOTES**: The auto-detected `linux-arm_32` platform classifier is not supported, you must specify …
124 Additionally, musl vs glibc detection is not supported either. If you are deploying to a musl-base…
125 a classifier-based jar, you must specify the classifier name yourself.
130 <!-- Generate os.detected.classifier property -->
132 <groupId>kr.motd.maven</groupId>
133 <artifactId>os-maven-plugin</artifactId>
142 <artifactId>aws-crt</artifactId>
151 - To enable logging, set `aws.crt.log.destination` or `aws.crt.log.level`:
152- `aws.crt.log.level` - Log level. May be: "None", "Fatal", "Error", "Warn" (default), "Info", "De…
153- `aws.crt.log.destination` - Log destination. May be: "Stderr" (default), "Stdout", "File", "None…
154 - `aws.crt.log.filename` - File to use when `aws.crt.log.destination` is "File".
155 - `aws.crt.libc` - (Linux only) Set to "musl" or "glibc" if CRT cannot properly detect which to use.
156 - `aws.crt.lib.dir` - Set directory where CRT may extract its native library (by default, `java.io.…
157 - `aws.crt.memory.tracing` - May be: "0" (default, no tracing), "1" (track bytes), "2" (more detail…
164 On [Windows](https://learn.microsoft.com/en-us/windows/win32/security) and
166 the built-in OS libraries are used.
167 On Linux/Unix/etc [s2n-tls](https://github.com/aws/s2n-tls) is used.
171 [TlsContextOptions](https://awslabs.github.io/aws-crt-java/software/amazon/awssdk/crt/io/TlsContext…
172 [TlsConnectionOptions](https://awslabs.github.io/aws-crt-java/software/amazon/awssdk/crt/io/TlsConn…
174 ### Mac-Only TLS Behavior
176 Please note that on Mac, once a private key is used with a certificate, that certificate-key pair i…
179 static: certificate has an existing certificate-key pair that was previously imported into the Keyc…
192 - `AWS_TEST_MQTT311_IOT_CORE_HOST`: AWS IoT service endpoint hostname for MQTT3
193 - `AWS_TEST_MQTT311_IOT_CORE_RSA_CERT`: Path to the IoT thing certificate for MQTT3
194 - `AWS_TEST_MQTT311_IOT_CORE_RSA_KEY`: Path to the IoT thing private key for MQTT3
195 - `AWS_TEST_MQTT311_IOT_CORE_ECC_CERT`: Path to the IoT thing with EC-based certificate for MQTT3
196 - `AWS_TEST_MQTT311_IOT_CORE_ECC_KEY`: Path to the IoT thing with ECC private key for MQTT3 (The EC…
197 - `AWS_TEST_MQTT311_ROOT_CA`: Path to the root certificate
198 - `AWS_TEST_HTTP_PROXY_HOST`: Hostname of proxy
199 - `AWS_TEST_HTTP_PROXY_PORT`: Port of proxy
200 - `NETWORK_TESTS_DISABLED`: Set this if tests are running in a constrained environment where networ…
202 …erties()` function in [CrtTestFixture.java](https://github.com/awslabs/aws-crt-java/blob/main/src/…
204 These can be set persistently via Maven settings (usually in `~/.m2/settings.xml`):
206 <settings>
214 <crt.test.endpoint>XXXXXXXXXX-ats.iot.us-east-1.amazonaws.com</crt.test.endpoint>
215 <crt.test.certificate>/path/to/XXXXXXXX-certificate.pem.crt</crt.test.certificate>
216 <crt.test.privatekey>/path/to/XXXXXXXX-private.pem.key</crt.test.privatekey>
222 </settings>%
226 * CMake is configured to export a compilation database at target/cmake-build/compile_commands.json
227 …: Build once with maven, then import the project as a [Compilation Database Project](https://www.j…
231 Tests can be debugged in Java/Kotlin via the built-in tooling in VSCode and IntelliJ. If you need t…
235 of maven, so it is difficult to give consistent directions.
237 As an example, for Maven 3.6.0 on Linux:
238-classpath /usr/share/java/plexus-classworlds-2.5.2.jar -Dclassworlds.conf=/usr/share/maven/bin/m2…
241 …* ```-DforkCount=0``` - prevents the Maven process from forking to run tests, so your debugger wil…
243 …* ```-Ddebug.native``` - Makes CMake compile the JNI bindings and core libraries in debug. By defa…
247 4. Set the working directory to the `aws-crt-java` directory
248 … Studio, as it is not embedded in the JAR. It will be in the ```target/cmake-build/lib/windows/<ar…