...
Java → Code Style → Clean Up → Import via cleanup.xml
Then activate the Shibboleth profile.
Java → Code Style → Code Templates → Import via codetemplates.xml
Check the box at the bottom to automatically apply standard templates to new files and classes.
Note: this configuration includes the Shibboleth project's standard Apache 2 license header. Code contributed to the Shibboleth project must contain this header. However, if you are not planning to contribute the code you'll probably want to change this.
Java → Code Style → Code Formatter → Import via formatter.xml
Then activate the Shibboleth profile.
General → Editors → Text Editors → Insert spaces for tabs → check
XML → XML Files → Editor → Line Width → 120
XML → XML Files → Editor → Indent Using Spaces → selected
XML → XML Files → Editor → Indentation Size → 4
...
General → Show heap status → check
General → Startup and Shutdown → Confirm exit when closing last window → uncheck
General → Startup and Shutdown → Plug-ins activated on startup → Mylyn .* → uncheck
Java → Editor → Folding → Comments → check
Java → Editor → Folding → Inner Types → check
Java → Compiler → Javadoc
Malformed Jacadoc Javadoc Comment
... as visible as: Private
Validate tag arguments: ticked
Report non visible references: ticked
Report deprecated references: unticked
Missing Javadoc tags: Warning (but Error might be a better idea)
... as visible as: Private
Ignore in overriding and implementing methods: ticked
Ignore method type parameters: unticked (perhaps a mistake)
Missing Javadoc comments: Ignore
Maven → Download Artifact Sources → check
Maven → Download Artifact JavaDoc → check
Maven → User Interface → Open XML page in the POM editor by default → check
...