add a snippet to file for configuration file places

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1239848 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-02-02 21:10:38 +00:00
parent d5be3487eb
commit f13660cfc1
2 changed files with 16 additions and 5 deletions

View File

@ -20,7 +20,10 @@
~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~~ KIND, either express or implied. See the License for the ~~ KIND, either express or implied. See the License for the
~~ specific language governing permissions and limitations ~~ specific language governing permissions and limitations
~~ under the License. ~~ under the License.
~~ NOTE: For help with the syntax of this file, see:
~~ http://maven.apache.org/guides/mini/guide-apt-format.html
Archiva Security Configuration Archiva Security Configuration
@ -65,7 +68,13 @@ security.policy.password.rule.reuse.enabled=true
security.policy.password.rule.nowhitespace.enabled=true security.policy.password.rule.nowhitespace.enabled=true
+-----+ +-----+
<<Note:>> If installed standalone, Archiva's list of configuration files is <itself> configurable, and <<Note:>> If installed standalone, Archiva's list of configuration files is <itself> configurable, and
can be found in: can be found in:
<<<apps/archiva/WEB-INF/applicationContext.xml>>> <<<apps/archiva/WEB-INF/applicationContext.xml>>>
Values from sources
%{snippet|id=configuration-files-list|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml}

View File

@ -73,6 +73,7 @@
<property name="session" ref="mailSession"/> <property name="session" ref="mailSession"/>
</bean> </bean>
<!-- START SNIPPET: configuration-files-list -->
<bean name="commons-configuration" class="org.codehaus.redback.components.registry.commons.CommonsConfigurationRegistry"> <bean name="commons-configuration" class="org.codehaus.redback.components.registry.commons.CommonsConfigurationRegistry">
<property name="properties"> <property name="properties">
<value> <value>
@ -111,7 +112,8 @@
</value> </value>
</property> </property>
</bean> </bean>
<!-- END SNIPPET: configuration-files-list -->
<bean name="jdoFactory#users" class="org.codehaus.plexus.jdo.DataSourceConfigurableJdoFactory"> <bean name="jdoFactory#users" class="org.codehaus.plexus.jdo.DataSourceConfigurableJdoFactory">
<property name="connectionFactoryName" value="java:comp/env/jdbc/users"/> <property name="connectionFactoryName" value="java:comp/env/jdbc/users"/>
<property name="shutdownConnectionFactoryName" value="java:comp/env/jdbc/usersShutdown"/> <property name="shutdownConnectionFactoryName" value="java:comp/env/jdbc/usersShutdown"/>