This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +21
-8
lines changed
src/test/java/com/morgan/design/properties Expand file tree Collapse file tree 6 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 12
12
.springbeans
13
13
.classpath
14
14
target /*
15
+ /target
Original file line number Diff line number Diff line change 2
2
xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
3
<modelVersion >4.0.0</modelVersion >
4
4
<groupId >com.morgan.design</groupId >
5
- <artifactId >DynamicPropertyLoader </artifactId >
6
- <version >0.0.1 -SNAPSHOT</version >
5
+ <artifactId >ReloadablePropertiesAnnotation </artifactId >
6
+ <version >0.0.2 -SNAPSHOT</version >
7
7
8
8
<properties >
9
9
<spring .version>3.1.2.RELEASE</spring .version>
94
94
<plugin >
95
95
<groupId >org.apache.maven.plugins</groupId >
96
96
<artifactId >maven-eclipse-plugin</artifactId >
97
+ <version >2.6</version >
97
98
<configuration >
98
99
<downloadSources >true</downloadSources >
99
100
<downloadJavadocs >true</downloadJavadocs >
102
103
<plugin >
103
104
<groupId >org.apache.maven.plugins</groupId >
104
105
<artifactId >maven-clean-plugin</artifactId >
105
- <version >2.4</version >
106
+ <version >2.4.1 </version >
106
107
</plugin >
107
108
<plugin >
108
109
<groupId >org.apache.maven.plugins</groupId >
109
110
<artifactId >maven-compiler-plugin</artifactId >
110
- <version >2.2</version >
111
+ <version >2.3. 2</version >
111
112
<executions >
112
113
<execution >
113
114
<id >compile</id >
131
132
</plugins >
132
133
</build >
133
134
135
+ <pluginRepositories >
136
+ <pluginRepository >
137
+ <id >central</id >
138
+ <name >Maven Plugin Repository</name >
139
+ <url >http://repo1.maven.org/maven2</url >
140
+ <releases >
141
+ <enabled >true</enabled >
142
+ </releases >
143
+ <snapshots >
144
+ <enabled >true</enabled >
145
+ </snapshots >
146
+ </pluginRepository >
147
+ </pluginRepositories >
148
+
149
+
134
150
</project >
Original file line number Diff line number Diff line change 11
11
import org .springframework .beans .factory .BeanInitializationException ;
12
12
import org .springframework .context .support .ClassPathXmlApplicationContext ;
13
13
14
- @ SuppressWarnings ("unused" )
15
14
public class FailingReloadablePropertyPostProcessorIntTest {
16
15
17
16
@ Test
Original file line number Diff line number Diff line change 8
8
@ Component
9
9
public class BadValue {
10
10
11
- @ SuppressWarnings ("unused" )
12
11
@ ReloadableProperty ("invalid.period" )
13
12
private Period period ;
14
13
Original file line number Diff line number Diff line change 7
7
@ Component
8
8
public class FinalFieldBean {
9
9
10
- @ SuppressWarnings ("unused" )
11
10
@ ReloadableProperty ("dynamicProperty.intValue" )
12
11
private final Integer intObjectProperty = 999 ;
13
12
}
Original file line number Diff line number Diff line change 7
7
@ Component
8
8
public class MissingProperty {
9
9
10
- @ SuppressWarnings ("unused" )
11
10
@ ReloadableProperty ("does.not.exist" )
12
11
private String hasNoDefaultValue ;
13
12
You can’t perform that action at this time.
0 commit comments