Skip to content

Commit

Permalink
small maven upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenp committed Mar 27, 2015
1 parent 8732875 commit 8d51116
Show file tree
Hide file tree
Showing 23 changed files with 49 additions and 49 deletions.
4 changes: 2 additions & 2 deletions spring-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>
<javassist.version>3.18.1-GA</javassist.version>
<jstl.version>1.2</jstl.version>

Expand Down
4 changes: 2 additions & 2 deletions spring-exceptions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>
<javassist.version>3.18.1-GA</javassist.version>
<jstl.version>1.2</jstl.version>

Expand Down
4 changes: 2 additions & 2 deletions spring-hibernate3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>
<javassist.version>3.18.1-GA</javassist.version>

<!-- persistence -->
Expand Down
4 changes: 2 additions & 2 deletions spring-hibernate4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>
<javassist.version>3.19.0-GA</javassist.version>

<!-- persistence -->
Expand Down
4 changes: 2 additions & 2 deletions spring-jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
4 changes: 2 additions & 2 deletions spring-mvc-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
2 changes: 1 addition & 1 deletion spring-mvc-no-xml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>

<!-- logging -->
<org.slf4j.version>1.7.9</org.slf4j.version>
Expand Down
2 changes: 1 addition & 1 deletion spring-mvc-xml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>

<!-- logging -->
<org.slf4j.version>1.7.9</org.slf4j.version>
Expand Down
4 changes: 2 additions & 2 deletions spring-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
4 changes: 2 additions & 2 deletions spring-security-basic-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
2 changes: 1 addition & 1 deletion spring-security-login-and-registration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
<properties>
<java-version>1.7</java-version>
<org.springframework-version>3.1.4.RELEASE</org.springframework-version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- logging -->
<org.slf4j.version>1.7.7</org.slf4j.version>
Expand Down
4 changes: 2 additions & 2 deletions spring-security-mvc-custom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
4 changes: 2 additions & 2 deletions spring-security-mvc-digest-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public class MetricService implements IMetricService {
@Autowired
private CounterService counter;

private List<ArrayList<Integer>> statusMetric;
private List<String> statusList;
private final List<ArrayList<Integer>> statusMetric;
private final List<String> statusList;
private static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");

public MetricService() {
Expand All @@ -33,18 +33,20 @@ public MetricService() {

// API

@Override
public void increaseCount(final int status) {
counter.increment("status." + status);
if (!statusList.contains("counter.status." + status)) {
statusList.add("counter.status." + status);
}
}

@Override
public Object[][] getGraphData() {
Date current = new Date();
int colCount = statusList.size() + 1;
int rowCount = statusMetric.size() + 1;
Object[][] result = new Object[rowCount][colCount];
final Date current = new Date();
final int colCount = statusList.size() + 1;
final int rowCount = statusMetric.size() + 1;
final Object[][] result = new Object[rowCount][colCount];
result[0][0] = "Time";

int j = 1;
Expand Down Expand Up @@ -73,8 +75,8 @@ public Object[][] getGraphData() {
@Scheduled(fixedDelay = 60000)
private void exportMetrics() {
Metric<?> metric;
ArrayList<Integer> statusCount = new ArrayList<Integer>();
for (String status : statusList) {
final ArrayList<Integer> statusCount = new ArrayList<Integer>();
for (final String status : statusList) {
metric = repo.findOne(status);
if (metric != null) {
statusCount.add(metric.getValue().intValue());
Expand Down
4 changes: 2 additions & 2 deletions spring-security-mvc-login/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
4 changes: 2 additions & 2 deletions spring-security-mvc-session/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
4 changes: 2 additions & 2 deletions spring-security-oauth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
4 changes: 2 additions & 2 deletions spring-security-rest-basic-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
4 changes: 2 additions & 2 deletions spring-security-rest-custom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
4 changes: 2 additions & 2 deletions spring-security-rest-digest-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/generated-sources/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/test/resources"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/test/java"/>
<property name="context-root" value="spring-security-rest-full"/>
<property name="java-output-path" value="/spring-security-rest-full/target/classes"/>
</wb-module>
Expand Down
4 changes: 2 additions & 2 deletions spring-security-rest-full/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down
4 changes: 2 additions & 2 deletions spring-security-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@

<properties>
<!-- Spring -->
<org.springframework.version>4.1.5.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.5.RELEASE</org.springframework.security.version>
<org.springframework.version>4.1.6.RELEASE</org.springframework.version>
<org.springframework.security.version>3.2.7.RELEASE</org.springframework.security.version>

<!-- persistence -->
<hibernate.version>4.3.8.Final</hibernate.version>
Expand Down

0 comments on commit 8d51116

Please sign in to comment.