This guide gives you some handy hints to upgrade from an archiva 1.0.x instance to a version 1.1.x.
It describes where settings in archiva 1.0.x are stored in archiva 1.1.x, which ones have to be kept, updated or removed...
Repositories
Keep your repositories content and delete the .index directories of your respective managed repositories, and execute the repository and database scanners after starting Archiva.
Archiva Settings
Archiva's configuration is loaded from the following files, in order of most precedent:
~/.m2/archiva.xml
${archiva.base}/conf/archiva.xml
conf/archiva.xml
in the Archiva installation
It will be automatically updated.
Custom security settings
Didn't change between 1.0.x and 1.1.x : ${archiva.base}/conf/security.properties
Logs & Memory Settings
Description |
Archiva 1.0.x settings |
Archiva 1.1.x settings |
---|---|---|
JVM Settings |
|
|
Wrapper logs |
|
|
Jetty logs |
— |
|
Requests logs |
— |
|
Jetty settings
Description |
Archiva 1.0.x settings |
Archiva 1.1.x settings |
---|---|---|
jetty server hostname & http port |
|
|
SMTP server settings
Description |
Archiva 1.0.x settings |
Archiva 1.1.x settings |
---|---|---|
SMTP server host, port & credentials |
|
|
Databases
Internal databases
Retain data/databases/users
directories and remove data/databases/archiva
.
External databases
If your are using some external databases like mysql.
Drivers
Description |
Archiva 1.0.x settings |
Archiva 1.1.x settings |
---|---|---|
Put it in |
|
|
Datasources
Description |
Archiva 1.0.x settings |
Archiva 1.1.x settings |
---|---|---|
Datasources |
|
|
Instances
Archiva 1.0.x |
Archiva 1.1.x |
---|---|
Archiva Database |
To be truncated |
Archiva Users Database |
To be kept |
Miscellaneous
Description |
Archiva 1.0.x settings |
Archiva 1.1.x settings |
---|---|---|
Patch for Needed for MRM-227 and the utf8 mysql "bug" |
|
|