
en.plugins.spring-maven-plugin.1.2.3.source-code.log4j.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-maven-plugin Show documentation
Show all versions of spring-maven-plugin Show documentation
This plugin provides integration between Spring and Maven.
Plugin goals support loading an arbitrary Spring context XML file as part of the Maven build lifecycle.
The XML file can be on the local file system or be accessible via any URL Spring's resource loading mechanism can understand.
Spring's "classpath:context.xml" style notation is supported.
From version 2.0.0 on, annotated Java classes can also be used to load a Spring context.
The full set of Maven properties are injected into the Spring context (both XML and annotation style) as a bean named "mavenProperties".
Maven properties are also registered as a top level PropertySource so that Spring's placeholder resolution framework automatically considers them.
See Project Reports -> Plugin Documentation for details on plugin goals.
<?xml version="1.0" encoding="UTF-8" ?> <!-- Copyright 2011-2012 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.opensource.org/licenses/ecl2.php Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> <appender name="console" class="org.apache.log4j.ConsoleAppender"> <param name="Target" value="System.out" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="[%-4p] %m%n" /> </layout> </appender> <root> <priority value="info" /> <appender-ref ref="console" /> </root> </log4j:configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy