Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 819159a

Browse files
committed
Updatiung POM
1 parent c980ff4 commit 819159a

File tree

6 files changed

+21
-8
lines changed

6 files changed

+21
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
.springbeans
1313
.classpath
1414
target/*
15+
/target

pom.xml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<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>
77

88
<properties>
99
<spring.version>3.1.2.RELEASE</spring.version>
@@ -94,6 +94,7 @@
9494
<plugin>
9595
<groupId>org.apache.maven.plugins</groupId>
9696
<artifactId>maven-eclipse-plugin</artifactId>
97+
<version>2.6</version>
9798
<configuration>
9899
<downloadSources>true</downloadSources>
99100
<downloadJavadocs>true</downloadJavadocs>
@@ -102,12 +103,12 @@
102103
<plugin>
103104
<groupId>org.apache.maven.plugins</groupId>
104105
<artifactId>maven-clean-plugin</artifactId>
105-
<version>2.4</version>
106+
<version>2.4.1</version>
106107
</plugin>
107108
<plugin>
108109
<groupId>org.apache.maven.plugins</groupId>
109110
<artifactId>maven-compiler-plugin</artifactId>
110-
<version>2.2</version>
111+
<version>2.3.2</version>
111112
<executions>
112113
<execution>
113114
<id>compile</id>
@@ -131,4 +132,19 @@
131132
</plugins>
132133
</build>
133134

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+
134150
</project>

src/test/java/com/morgan/design/properties/internal/FailingReloadablePropertyPostProcessorIntTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import org.springframework.beans.factory.BeanInitializationException;
1212
import org.springframework.context.support.ClassPathXmlApplicationContext;
1313

14-
@SuppressWarnings("unused")
1514
public class FailingReloadablePropertyPostProcessorIntTest {
1615

1716
@Test

src/test/java/com/morgan/design/properties/testBeans/BadValue.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
@Component
99
public class BadValue {
1010

11-
@SuppressWarnings("unused")
1211
@ReloadableProperty("invalid.period")
1312
private Period period;
1413

src/test/java/com/morgan/design/properties/testBeans/FinalFieldBean.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@Component
88
public class FinalFieldBean {
99

10-
@SuppressWarnings("unused")
1110
@ReloadableProperty("dynamicProperty.intValue")
1211
private final Integer intObjectProperty = 999;
1312
}

src/test/java/com/morgan/design/properties/testBeans/MissingProperty.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@Component
88
public class MissingProperty {
99

10-
@SuppressWarnings("unused")
1110
@ReloadableProperty("does.not.exist")
1211
private String hasNoDefaultValue;
1312

0 commit comments

Comments
 (0)