How to prevent password expiration in apache Archiva
You can configure via the Archiva web interface:
Section Users Runtime Configuration > Properties
At page 3, set as false the property security.policy.password.expiration.enabled
Save!
For me to get this to work for Archiva 2.2.0 I had to edit {archiva root}\conf\archiva.xml. There's a password section and within that is expiration where you can configure if it is enabled or not and set the number of days. Creating a security.properties did not work for me.