Blueprint Developer Manual / Version 2304
Table Of Contents
To run the Personal Data Checker in Blueprint you need to enable the Maven profile
checkPersonalData
while compiling. This profile is defined in module
blueprint-parent
.
Note
As of version 2.5.3 the Checker Framework has the following limitation:
You must not build in parallel while running Checker (issue typetools/checker-framework#1771).
The checker for personal data will analyze all modules with a direct or transitive dependency to
Maven module coremedia-personal-data
. In your Maven output you will recognize the
messageChecking @PersonalData
once such a module is found in your Maven build.
By default, the Checker Framework will trigger a failure once it detects a violation in
using personal data objects. To change the behavior to print only warnings instead, add the
compiler argument -Awarns
. Configure the maven-compiler-plugin
for the
checkPersonalData
profile in blueprint-parent
module accordingly. For more
configuration options have a look at the documentation at
checkerframework.org.