1 package org.codehaus.plexus.velocity;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 import javax.inject.Named;
20 import javax.inject.Singleton;
21
22 import java.util.Properties;
23
24 @Singleton
25 @Named
26 public class TestVelocityComponentConfigurator implements VelocityComponentConfigurator {
27 @Override
28 public void configure(Properties properties) {
29 properties.setProperty("resource.loaders", "classpath");
30 properties.setProperty(
31 "resource.loader.classpath.class",
32 "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader");
33 properties.setProperty("hello", "world");
34 }
35 }