Installing Apache Archiva as a Web Application
-~~TODO: link to wiki location for other application servers
-
Archiva can be deployed as a web application into any Java EE application server. This document will show an
- example of doing so with Apache Tomcat 5.5, 6.0.x and 7.0.x
+ example of doing so with Apache Tomcat 5.5, 6.0.x and 7.0.x.
+
+ You can find information about additional application servers on {{{https://cwiki.apache.org/confluence/display/ARCHIVA/HOWTO+run+Archiva+on+your+Application+Server+or+Database} the archiva wiki}}.
<<Note>>: When you first start Archiva, you will see an Exception that schema SA does not exist - however it doesn't
cause a problem. If you use a username other than 'sa', such as 'archiva', then you seem to get the same error but
* Redback REST api is available here: {{http://archiva.apache.org/docs/${project.version}/rest-docs-redback-rest-api/index.html}}
+* Security related information
+
+ Starting with version 2.2.2 we added HTTP verification techniques to avoid cross site request forgery attacks. The
+ updating services check Origin and Referer header and use a token provided by the login service.
+ If you use the webservices with a native client that is no browser or want to allow requests from different origin
+ URLs you have to change the configuration. For further information see the {{{/redback/integration/rest.html}Redback REST documentation}}
+
* Search Service
Authentication headers for connect to your Archiva instance :
Current versions use in Apache Archiva:
- * $\{project.version}: ${project.version}
+ * <<<$\{project.version}>>>: ${project.version}
- * $\{cxfVersion}: ${cxfVersion}
+ * <<<$\{cxfVersion}>>>: ${cxf.version}
- * $\{jacksonVersion}: ${jacksonVersion}
+ * <<<$\{jacksonVersion}>>>: ${jacksonVersion}
* Security Framework Services:
Writing a Consumer Plugin
For a sample custom consumer, you can checkout the archiva-consumer-plugin at the archiva sandbox in the SVN repository:
- Prior to release 1.4, plexus components are not anymore supported, you must use Spring components.
+ Starting with release 1.4, plexus components are not anymore supported, you must use Spring components.
* Writing manually
Apache Archiva ${project.version} is a bugs fix release:
- * There are added some fixes to avoid requests from unknown origin
+ * Some fixes were added to avoid requests from unknown origin
+ * Some minor bugfixes were added
* Compatibility Changes
For more information see {{{./adminguide/customising-security.html}Archiva Security Configuration}} and
the {{{/redback/integration/rest.html}Redback REST documentation }}
+ * Archiva uses redback for authentication and authorization in version ${redback.version}
* Release Notes