As a workaround, set the database to UTF-8 encoding after it has been populated. See {{{http://jira.codehaus.org/browse/MRM-1373} MRM-1373}} for more details.
+------+
-...
+<!-- omitted xml -->
<New id="users" class="org.mortbay.jetty.plus.naming.Resource">
<Arg>jdbc/users</Arg>
</New>
</Arg>
</New>
-...
+<!-- omitted xml -->
+------+
* Backing up the database
for more details.
+------+
- ...
+ <!-- omitted xml -->
<!-- Users / Security Database -->
</New>
</Arg>
</New>
- ...
+ <!-- omitted xml -->
+------+
More information about using Derby Network Server as an external user database
+-------------------------------------------------------------------------+
<settings>
- ...
+ <!-- omitted xml -->
<servers>
<server>
<id>archiva.internal</id>
<username>{archiva-deployment-user}</username>
<password>{archiva-deployment-pwd}</password>
</server>
- ...
+ <!-- omitted xml -->
</servers>
- ...
+ <!-- omitted xml -->
</settings>
+-------------------------------------------------------------------------+
+-------------------------------------------------------------------------+
<project>
- ...
+ <!-- omitted xml -->
<distributionManagement>
<repository>
<id>archiva.internal</id>
<url>http://reposerver.mycompany.com:8080/archiva/repository/snapshots/</url>
</snapshotRepository>
</distributionManagement>
- ...
+ <!-- omitted xml -->
</project>
+-------------------------------------------------------------------------+
+-------------------------------------------------------------------------+
<project>
- ...
+ <!-- omitted xml -->
<distributionManagement>
<repository>
<id>archiva.internal</id>
<url>dav:http://reposerver.mycompany.com:8080/archiva/repository/snapshots/</url>
</snapshotRepository>
</distributionManagement>
- ...
+ <!-- omitted xml -->
</project>
+-------------------------------------------------------------------------+
+-------------------------------------------------------------------------+
<project>
- ...
+ <!-- omitted xml -->
<build>
<extensions>
<extension>
</extension>
</extensions>
</build>
- ...
+ <!-- omitted xml -->
</project>
+-------------------------------------------------------------------------+
The repository files that are indexed during repository scan can be configured in the Repository Scanning page, in the
Repository Scanning - File Types section (indexable-content). By default, the indexable-content file types are:
-+-----+
+-----
**/*.txt
**/*.TXT
**/*.block
**/*.xsd
**/*.dtd
**/*.tld
-+-----+
+-----
* Quick Search
+-------------------------------------------------------------------------+
<settings>
- ...
+ <!-- omitted xml -->
<mirrors>
<mirror>
<id>archiva.default</id>
<mirrorOf>external:*</mirrorOf>
</mirror>
</mirrors>
- ...
+ <!-- omitted xml -->
</settings>
+-------------------------------------------------------------------------+
If you have separate Archiva repositories that you wish to use, you can add an extra mirror declaration as needed:
+-------------------------------------------------------------------------+
- ...
+ <!-- omitted xml -->
<mirror>
<id>archiva.apache.snapshots</id>
<url>http://repo.mycompany.com:8080/archiva/repository/snapshots/</url>
<mirrorOf>apache.snapshots</mirrorOf>
</mirror>
- ...
+ <!-- omitted xml -->
+-------------------------------------------------------------------------+
<<WARNING:>> Maven, as of version 2.0.8, does not properly report the correct URL in errors when a mirror is used - so although the Archiva instance is being consulted any error messages will still reflect
+-------------------------------------------------------------------------+
<settings>
- ...
+ <!-- omitted xml -->
<profiles>
<profile>
<id>Repository Proxy</id>
<!-- ******************************************************* -->
<repositories>
<repository>
- ...
+ <!-- omitted xml -->
</repository>
- ...
+ <!-- omitted xml -->
</repositories>
<!-- ******************************************************* -->
<!-- repositories for maven plugins -->
<!-- ******************************************************* -->
<pluginRepositories>
<pluginRepository>
- ...
+ <!-- omitted xml -->
</pluginRepository>
- ...
+ <!-- omitted xml -->
</pluginRepositories>
</profile>
- ...
+ <!-- omitted xml -->
</profiles>
- ...
+ <!-- omitted xml -->
</settings>
+-------------------------------------------------------------------------+
+-------------------------------------------------------------------------+
<settings>
- ...
+ <!-- omitted xml -->
<servers>
<server>
<id>repository-1</id>
<username>{archiva-user}</username>
<password>{archiva-pwd}</password>
</server>
- ...
+ <!-- omitted xml -->
</servers>
- ...
+ <!-- omitted xml -->
</settings>
+-------------------------------------------------------------------------+
+-------------------------------------------------------------------------+
<settings>
- ...
+ <!-- omitted xml -->
<profiles>
<profile>
<id>Repository Proxy</id>
</repository>
</repositories>
</profile>
- ...
+ <!-- omitted xml -->
</profiles>
- ...
+ <!-- omitted xml -->
</settings>
+-------------------------------------------------------------------------+
+-------------------------------------------------------------------------+
<settings>
- ...
+ <!-- omitted xml -->
<profiles>
<profile>
<id>Repository Proxy</id>
</repository>
</repositories>
</profile>
- ...
+ <!-- omitted xml -->
</profiles>
- ...
+ <!-- omitted xml -->
</settings>
+-------------------------------------------------------------------------+