mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
[DS-3872] Move exlcusion of Spring's Velocity autoconfig to where the others are.
This commit is contained in:
@@ -48,7 +48,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
|
||||
* @author Andrea Bollini (andrea.bollini at 4science.it)
|
||||
* @author Tim Donohue
|
||||
*/
|
||||
@SpringBootApplication(exclude = VelocityAutoConfiguration.class)
|
||||
@SpringBootApplication
|
||||
public class Application extends SpringBootServletInitializer {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(Application.class);
|
||||
|
@@ -85,12 +85,14 @@ server.error.include-stacktrace = always
|
||||
# * HibernateJpaAutoConfiguration (Hibernate ORM)
|
||||
# * FlywayAutoConfiguration (Flyway migrations)
|
||||
# * SolrAutoConfiguration (Solr)
|
||||
# * Velocity (email templating)
|
||||
#
|
||||
# TODO: At some point we may want to investigate whether we can re-enable these and remove the custom DSpace init code
|
||||
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, \
|
||||
org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, \
|
||||
org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration, \
|
||||
org.springframework.boot.autoconfigure.solr.SolrAutoConfiguration
|
||||
org.springframework.boot.autoconfigure.solr.SolrAutoConfiguration, \
|
||||
org.springframework.boot.autoconfigure.velocity.VelocityAutoConfiguration
|
||||
|
||||
#########################
|
||||
# Spring Boot Logging levels
|
||||
|
Reference in New Issue
Block a user