From d1ec641331b6d327b49cb5e6d8571f57b29e55b1 Mon Sep 17 00:00:00 2001 From: Denny Israel Date: Tue, 28 Jun 2016 15:35:42 +0200 Subject: [PATCH 1/5] 413: remove validation messages from composite validator only if they have the same validator code to avoid removal of validation message of other validators --- .../validation/CompositeValidationStatus.java | 41 +++++++++-------- .../validation/CompositeValidatorTest.java | 44 ++++++++++++++++--- 2 files changed, 60 insertions(+), 25 deletions(-) diff --git a/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidationStatus.java b/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidationStatus.java index 7a8133623..1bec7dd3e 100644 --- a/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidationStatus.java +++ b/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidationStatus.java @@ -15,14 +15,8 @@ ******************************************************************************/ package de.saxsys.mvvmfx.utils.validation; -import javafx.beans.property.ListProperty; -import javafx.beans.property.SimpleListProperty; -import javafx.collections.FXCollections; -import javafx.collections.ListChangeListener; - -import java.util.*; +import java.util.List; import java.util.stream.Collectors; -import java.util.stream.Stream; /** * This class is used as {@link ValidationStatus} for {@link CompositeValidator}. @@ -73,25 +67,34 @@ void addMessage(Validator validator, List messages) /* Remove all given messages for the given validator. */ - void removeMessage(Validator validator, List messages) { - List messagesToRemove = - getMessagesInternal().stream() - .filter(messages::contains) // only the given messages - .filter(message -> (message instanceof CompositeValidationMessageWrapper)) - .map(message -> (CompositeValidationMessageWrapper) message) - .filter(message -> message.getValidatorCode().equals(System.identityHashCode(validator))) - .collect(Collectors.toList()); + void removeMessage(final Validator validator, final List messages) { + final List messagesToRemove = + getMessagesInternal().stream() + .filter(messages::contains) // only the given messages + .filter(message -> (message instanceof CompositeValidationMessageWrapper)) + .map(message -> (CompositeValidationMessageWrapper)message) + .filter(message -> message.getValidatorCode().equals(System.identityHashCode(validator))) + .collect(Collectors.toList()); - getMessagesInternal().removeAll(messagesToRemove); - } + getMessagesInternal().removeIf(validationMessage -> { + if (validationMessage instanceof CompositeValidationMessageWrapper) { + final CompositeValidationMessageWrapper wrapper = (CompositeValidationMessageWrapper)validationMessage; + return messagesToRemove.stream() + .filter(m -> m.getValidatorCode().equals(wrapper.getValidatorCode())) + .anyMatch(wrapper::equals); + } + + return false; + }); + } /* * Remove all messages for this particular validator. */ - void removeMessage(Validator validator) { + void removeMessage(final Validator validator) { getMessagesInternal().removeIf(validationMessage -> { if(validationMessage instanceof CompositeValidationMessageWrapper) { - CompositeValidationMessageWrapper wrapper = (CompositeValidationMessageWrapper) validationMessage; + final CompositeValidationMessageWrapper wrapper = (CompositeValidationMessageWrapper) validationMessage; return wrapper.getValidatorCode().equals(System.identityHashCode(validator)); } diff --git a/mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/validation/CompositeValidatorTest.java b/mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/validation/CompositeValidatorTest.java index 0bca51a22..0aa69c852 100644 --- a/mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/validation/CompositeValidatorTest.java +++ b/mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/validation/CompositeValidatorTest.java @@ -15,16 +15,20 @@ ******************************************************************************/ package de.saxsys.mvvmfx.utils.validation; -import javafx.beans.property.BooleanProperty; -import javafx.beans.property.SimpleBooleanProperty; -import javafx.beans.property.SimpleStringProperty; +import static org.assertj.core.api.Assertions.assertThat; + +import com.google.common.base.Strings; + import org.junit.Before; import org.junit.Test; import java.util.List; import java.util.stream.Collectors; -import static org.assertj.core.api.Assertions.assertThat; +import javafx.beans.property.BooleanProperty; +import javafx.beans.property.SimpleBooleanProperty; +import javafx.beans.property.SimpleStringProperty; +import javafx.beans.property.StringProperty; /** * @author manuel.mauky @@ -207,8 +211,36 @@ public void testTestability() { } - - private List asStrings(List messages) { + /** + * Issue #413 + */ + @Test + public void validatorsMayNotDeleteEachOthersValidationMessages() { + final StringProperty prop1 = new SimpleStringProperty(); + final StringProperty prop2 = new SimpleStringProperty(); + final Validator notEmpty1 = new FunctionBasedValidator<>(prop1, v -> { + if (Strings.isNullOrEmpty(v)) { + return ValidationMessage.error("msg"); + } + return null; + }); + final Validator notEmpty2 = new FunctionBasedValidator<>(prop2, v -> { + if (Strings.isNullOrEmpty(v)) { + return ValidationMessage.error("msg"); + } + return null; + }); + final CompositeValidator compositeValidator = new CompositeValidator(notEmpty1, notEmpty2); + prop1.set(""); + prop2.set(""); + prop1.set("a"); + assertThat(notEmpty1.getValidationStatus().isValid()).isTrue(); + assertThat(notEmpty2.getValidationStatus().isValid()).isFalse(); + assertThat(compositeValidator.getValidationStatus().isValid()).isFalse(); + } + + + private List asStrings(List messages) { return messages .stream() .map(ValidationMessage::getMessage) From 6d3e95f5cc1ebf4034a9a35e35643598565c724f Mon Sep 17 00:00:00 2001 From: Denny Israel Date: Wed, 29 Jun 2016 10:46:00 +0200 Subject: [PATCH 2/5] 413: code reformatted --- .../validation/CompositeValidatorTest.java | 54 +++++++++---------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/validation/CompositeValidatorTest.java b/mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/validation/CompositeValidatorTest.java index 0aa69c852..d5e23cbad 100644 --- a/mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/validation/CompositeValidatorTest.java +++ b/mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/validation/CompositeValidatorTest.java @@ -211,33 +211,33 @@ public void testTestability() { } - /** - * Issue #413 - */ - @Test - public void validatorsMayNotDeleteEachOthersValidationMessages() { - final StringProperty prop1 = new SimpleStringProperty(); - final StringProperty prop2 = new SimpleStringProperty(); - final Validator notEmpty1 = new FunctionBasedValidator<>(prop1, v -> { - if (Strings.isNullOrEmpty(v)) { - return ValidationMessage.error("msg"); - } - return null; - }); - final Validator notEmpty2 = new FunctionBasedValidator<>(prop2, v -> { - if (Strings.isNullOrEmpty(v)) { - return ValidationMessage.error("msg"); - } - return null; - }); - final CompositeValidator compositeValidator = new CompositeValidator(notEmpty1, notEmpty2); - prop1.set(""); - prop2.set(""); - prop1.set("a"); - assertThat(notEmpty1.getValidationStatus().isValid()).isTrue(); - assertThat(notEmpty2.getValidationStatus().isValid()).isFalse(); - assertThat(compositeValidator.getValidationStatus().isValid()).isFalse(); - } + /** + * Issue #413 + */ + @Test + public void validatorsMayNotDeleteEachOthersValidationMessages() { + final StringProperty prop1 = new SimpleStringProperty(); + final StringProperty prop2 = new SimpleStringProperty(); + final Validator notEmpty1 = new FunctionBasedValidator<>(prop1, v -> { + if (Strings.isNullOrEmpty(v)) { + return ValidationMessage.error("msg"); + } + return null; + }); + final Validator notEmpty2 = new FunctionBasedValidator<>(prop2, v -> { + if (Strings.isNullOrEmpty(v)) { + return ValidationMessage.error("msg"); + } + return null; + }); + final CompositeValidator compositeValidator = new CompositeValidator(notEmpty1, notEmpty2); + prop1.set(""); + prop2.set(""); + prop1.set("a"); + assertThat(notEmpty1.getValidationStatus().isValid()).isTrue(); + assertThat(notEmpty2.getValidationStatus().isValid()).isFalse(); + assertThat(compositeValidator.getValidationStatus().isValid()).isFalse(); + } private List asStrings(List messages) { From 23d4fa5495f428233e0c881dfb00e89ac975b30b Mon Sep 17 00:00:00 2001 From: Denny Israel Date: Wed, 29 Jun 2016 10:48:33 +0200 Subject: [PATCH 3/5] 413: code reformatted --- .../utils/validation/CompositeValidator.java | 31 ++++++------ .../validation/CompositeValidatorTest.java | 50 +++++++++---------- 2 files changed, 40 insertions(+), 41 deletions(-) diff --git a/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidator.java b/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidator.java index 8c41c33f4..7cb1fb1d3 100644 --- a/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidator.java +++ b/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidator.java @@ -1,12 +1,12 @@ /******************************************************************************* * Copyright 2015 Alexander Casall, Manuel Mauky - * + *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -15,21 +15,20 @@ ******************************************************************************/ package de.saxsys.mvvmfx.utils.validation; +import java.util.HashMap; +import java.util.Map; + import javafx.beans.property.ListProperty; import javafx.beans.property.SimpleListProperty; import javafx.collections.FXCollections; import javafx.collections.ListChangeListener; import javafx.collections.ObservableList; -import java.util.HashMap; -import java.util.Map; - /** * This {@link Validator} implementation is used to compose multiple other validators. *

* The {@link ValidationStatus} of this validator will contain all messages of all registered validators. * - * * @author manuel.mauky */ public class CompositeValidator implements Validator { @@ -45,7 +44,7 @@ public CompositeValidator() { validators.addListener(new ListChangeListener() { @Override public void onChanged(Change c) { - while(c.next()) { + while (c.next()) { // When validators are added... c.getAddedSubList().forEach(validator -> { @@ -55,7 +54,7 @@ public void onChanged(Change c) { status.addMessage(validator, messages); final ListChangeListener changeListener = change -> { - while(change.next()) { + while (change.next()) { // add/remove messages for this particular validator status.addMessage(validator, change.getAddedSubList()); status.removeMessage(validator, change.getRemoved()); @@ -73,7 +72,7 @@ public void onChanged(Change c) { c.getRemoved().forEach(validator -> { status.removeMessage(validator); - if(listenerMap.containsKey(validator)){ + if (listenerMap.containsKey(validator)) { ListChangeListener changeListener = listenerMap.get(validator); validator.getValidationStatus().getMessages().removeListener(changeListener); @@ -85,21 +84,21 @@ public void onChanged(Change c) { }); } - + public CompositeValidator(Validator... validators) { this(); // before adding the validators we need to setup the listeners in the default constructor addValidators(validators); } - - + + public void addValidators(Validator... validators) { this.validators.addAll(validators); } - + public void removeValidators(Validator... validators) { this.validators.removeAll(validators); } - + @Override public ValidationStatus getValidationStatus() { return status; diff --git a/mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/validation/CompositeValidatorTest.java b/mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/validation/CompositeValidatorTest.java index d5e23cbad..d35d58495 100644 --- a/mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/validation/CompositeValidatorTest.java +++ b/mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/validation/CompositeValidatorTest.java @@ -1,12 +1,12 @@ /******************************************************************************* * Copyright 2015 Alexander Casall, Manuel Mauky - * + *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -34,24 +34,24 @@ * @author manuel.mauky */ public class CompositeValidatorTest { - + private ValidationStatus status; - + private BooleanProperty valid1 = new SimpleBooleanProperty(); private BooleanProperty valid2 = new SimpleBooleanProperty(); private CompositeValidator compositeValidator; private ObservableRuleBasedValidator validator1; private ObservableRuleBasedValidator validator2; - + @Before public void setup() { validator1 = new ObservableRuleBasedValidator(); validator1.addRule(valid1, ValidationMessage.error("error1")); - + validator2 = new ObservableRuleBasedValidator(); validator2.addRule(valid2, ValidationMessage.warning("warning2")); - - + + compositeValidator = new CompositeValidator(); status = compositeValidator.getValidationStatus(); } @@ -68,56 +68,56 @@ public void testValidatorConstructor() { assertThat(newValidator.getValidationStatus().isValid()).isFalse(); assertThat(newValidator.getValidationStatus().getMessages()).hasSize(2); } - + @Test public void testValidation() { compositeValidator.addValidators(validator1, validator2); - + valid1.set(true); valid2.set(true); - + assertThat(status.isValid()).isTrue(); - + valid1.setValue(false); - + assertThat(status.isValid()).isFalse(); assertThat(asStrings(status.getErrorMessages())).containsOnly("error1"); assertThat(asStrings(status.getWarningMessages())).isEmpty(); assertThat(asStrings(status.getMessages())).containsOnly("error1"); - + valid2.setValue(false); assertThat(status.isValid()).isFalse(); assertThat(asStrings(status.getErrorMessages())).containsOnly("error1"); assertThat(asStrings(status.getWarningMessages())).containsOnly("warning2"); assertThat(asStrings(status.getMessages())).containsOnly("error1", "warning2"); - + valid1.setValue(true); assertThat(status.isValid()).isFalse(); assertThat(asStrings(status.getErrorMessages())).isEmpty(); assertThat(asStrings(status.getWarningMessages())).containsOnly("warning2"); assertThat(asStrings(status.getMessages())).containsOnly("warning2"); - + valid2.setValue(true); assertThat(status.isValid()).isTrue(); assertThat(asStrings(status.getErrorMessages())).isEmpty(); assertThat(asStrings(status.getWarningMessages())).isEmpty(); assertThat(asStrings(status.getMessages())).isEmpty(); - + } - + @Test public void testLazyRegistration() { valid1.set(false); valid2.set(true); - + assertThat(status.isValid()).isTrue(); // no validator is registered at the moment - + compositeValidator.addValidators(validator2); assertThat(status.isValid()).isTrue(); // validator2 is valid - + compositeValidator.addValidators(validator1); assertThat(status.isValid()).isFalse(); - + compositeValidator.removeValidators(validator1); assertThat(status.isValid()).isTrue(); } @@ -240,7 +240,7 @@ public void validatorsMayNotDeleteEachOthersValidationMessages() { } - private List asStrings(List messages) { + private List asStrings(List messages) { return messages .stream() .map(ValidationMessage::getMessage) From a9a0a240c2cc4c3df95f4e33faea89db4516c81d Mon Sep 17 00:00:00 2001 From: Denny Israel Date: Wed, 29 Jun 2016 10:50:41 +0200 Subject: [PATCH 4/5] 413: code reformatted --- .../validation/CompositeValidationStatus.java | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidationStatus.java b/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidationStatus.java index 1bec7dd3e..42cc27754 100644 --- a/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidationStatus.java +++ b/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidationStatus.java @@ -1,12 +1,12 @@ /******************************************************************************* * Copyright 2015 Alexander Casall, Manuel Mauky - * + *

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -60,40 +60,40 @@ void addMessage(Validator validator, List messages) getMessagesInternal().addAll( messages.stream() // ... we wrap them to keep track of the used validator. - .map(message -> new CompositeValidationMessageWrapper(message, validator)) - .collect(Collectors.toList())); + .map(message -> new CompositeValidationMessageWrapper(message, validator)) + .collect(Collectors.toList())); } /* Remove all given messages for the given validator. */ void removeMessage(final Validator validator, final List messages) { - final List messagesToRemove = - getMessagesInternal().stream() - .filter(messages::contains) // only the given messages - .filter(message -> (message instanceof CompositeValidationMessageWrapper)) - .map(message -> (CompositeValidationMessageWrapper)message) - .filter(message -> message.getValidatorCode().equals(System.identityHashCode(validator))) - .collect(Collectors.toList()); + final List messagesToRemove = + getMessagesInternal().stream() + .filter(messages::contains) // only the given messages + .filter(message -> (message instanceof CompositeValidationMessageWrapper)) + .map(message -> (CompositeValidationMessageWrapper) message) + .filter(message -> message.getValidatorCode().equals(System.identityHashCode(validator))) + .collect(Collectors.toList()); - getMessagesInternal().removeIf(validationMessage -> { - if (validationMessage instanceof CompositeValidationMessageWrapper) { - final CompositeValidationMessageWrapper wrapper = (CompositeValidationMessageWrapper)validationMessage; - return messagesToRemove.stream() - .filter(m -> m.getValidatorCode().equals(wrapper.getValidatorCode())) - .anyMatch(wrapper::equals); - } + getMessagesInternal().removeIf(validationMessage -> { + if (validationMessage instanceof CompositeValidationMessageWrapper) { + final CompositeValidationMessageWrapper wrapper = (CompositeValidationMessageWrapper) validationMessage; + return messagesToRemove.stream() + .filter(m -> m.getValidatorCode().equals(wrapper.getValidatorCode())) + .anyMatch(wrapper::equals); + } - return false; - }); - } + return false; + }); + } /* * Remove all messages for this particular validator. */ void removeMessage(final Validator validator) { getMessagesInternal().removeIf(validationMessage -> { - if(validationMessage instanceof CompositeValidationMessageWrapper) { + if (validationMessage instanceof CompositeValidationMessageWrapper) { final CompositeValidationMessageWrapper wrapper = (CompositeValidationMessageWrapper) validationMessage; return wrapper.getValidatorCode().equals(System.identityHashCode(validator)); From bd818238081bae8c11a1cba2717fe5910e032a00 Mon Sep 17 00:00:00 2001 From: Manuel Mauky Date: Thu, 30 Jun 2016 13:29:59 +0200 Subject: [PATCH 5/5] Update version to 1.5.2 to prepare for hotfix release --- examples/books-example/pom.xml | 2 +- examples/contacts-example/pom.xml | 2 +- examples/mini-examples/fx-root-example/pom.xml | 2 +- examples/mini-examples/helloworld-without-fxml/pom.xml | 2 +- examples/mini-examples/helloworld/pom.xml | 2 +- examples/mini-examples/pom.xml | 2 +- examples/mini-examples/scopes-example/pom.xml | 2 +- examples/mini-examples/synchronizefx-example/pom.xml | 2 +- examples/mini-examples/welcome-example/pom.xml | 2 +- examples/pom.xml | 2 +- examples/todomvc-example/pom.xml | 2 +- mvvmfx-archetype/pom.xml | 2 +- mvvmfx-archetype/src/main/resources/archetype-resources/pom.xml | 2 +- mvvmfx-cdi/pom.xml | 2 +- mvvmfx-guice/pom.xml | 2 +- mvvmfx-testing-utils/pom.xml | 2 +- mvvmfx-utils/pom.xml | 2 +- mvvmfx/pom.xml | 2 +- pom.xml | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/examples/books-example/pom.xml b/examples/books-example/pom.xml index 1f75bfdbe..e3072a853 100644 --- a/examples/books-example/pom.xml +++ b/examples/books-example/pom.xml @@ -5,7 +5,7 @@ de.saxsys.mvvmfx examples - 1.5.2-SNAPSHOT + 1.5.2 4.0.0 diff --git a/examples/contacts-example/pom.xml b/examples/contacts-example/pom.xml index d2b339661..df88eac33 100644 --- a/examples/contacts-example/pom.xml +++ b/examples/contacts-example/pom.xml @@ -6,7 +6,7 @@ de.saxsys.mvvmfx examples - 1.5.2-SNAPSHOT + 1.5.2 contacts-example diff --git a/examples/mini-examples/fx-root-example/pom.xml b/examples/mini-examples/fx-root-example/pom.xml index c327c7584..cd08863c0 100644 --- a/examples/mini-examples/fx-root-example/pom.xml +++ b/examples/mini-examples/fx-root-example/pom.xml @@ -5,7 +5,7 @@ mini-examples de.saxsys.mvvmfx - 1.5.2-SNAPSHOT + 1.5.2 4.0.0 diff --git a/examples/mini-examples/helloworld-without-fxml/pom.xml b/examples/mini-examples/helloworld-without-fxml/pom.xml index 4002b7644..33b63338c 100644 --- a/examples/mini-examples/helloworld-without-fxml/pom.xml +++ b/examples/mini-examples/helloworld-without-fxml/pom.xml @@ -5,7 +5,7 @@ mini-examples de.saxsys.mvvmfx - 1.5.2-SNAPSHOT + 1.5.2 4.0.0 diff --git a/examples/mini-examples/helloworld/pom.xml b/examples/mini-examples/helloworld/pom.xml index afae78070..fe5505e13 100644 --- a/examples/mini-examples/helloworld/pom.xml +++ b/examples/mini-examples/helloworld/pom.xml @@ -5,7 +5,7 @@ mini-examples de.saxsys.mvvmfx - 1.5.2-SNAPSHOT + 1.5.2 4.0.0 diff --git a/examples/mini-examples/pom.xml b/examples/mini-examples/pom.xml index 105edc14d..ccc741864 100644 --- a/examples/mini-examples/pom.xml +++ b/examples/mini-examples/pom.xml @@ -5,7 +5,7 @@ examples de.saxsys.mvvmfx - 1.5.2-SNAPSHOT + 1.5.2 4.0.0 pom diff --git a/examples/mini-examples/scopes-example/pom.xml b/examples/mini-examples/scopes-example/pom.xml index aed7bbc21..c00ed34fd 100644 --- a/examples/mini-examples/scopes-example/pom.xml +++ b/examples/mini-examples/scopes-example/pom.xml @@ -5,7 +5,7 @@ mini-examples de.saxsys.mvvmfx - 1.5.2-SNAPSHOT + 1.5.2 4.0.0 diff --git a/examples/mini-examples/synchronizefx-example/pom.xml b/examples/mini-examples/synchronizefx-example/pom.xml index 8bec3c691..6853fd187 100644 --- a/examples/mini-examples/synchronizefx-example/pom.xml +++ b/examples/mini-examples/synchronizefx-example/pom.xml @@ -5,7 +5,7 @@ mini-examples de.saxsys.mvvmfx - 1.5.2-SNAPSHOT + 1.5.2 4.0.0 diff --git a/examples/mini-examples/welcome-example/pom.xml b/examples/mini-examples/welcome-example/pom.xml index c3657f17b..12f3979b1 100644 --- a/examples/mini-examples/welcome-example/pom.xml +++ b/examples/mini-examples/welcome-example/pom.xml @@ -5,7 +5,7 @@ mini-examples de.saxsys.mvvmfx - 1.5.2-SNAPSHOT + 1.5.2 4.0.0 diff --git a/examples/pom.xml b/examples/pom.xml index 77d8b4401..59e60ad20 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -5,7 +5,7 @@ de.saxsys mvvmfx-parent - 1.5.2-SNAPSHOT + 1.5.2 de.saxsys.mvvmfx diff --git a/examples/todomvc-example/pom.xml b/examples/todomvc-example/pom.xml index dddd8388a..46102b921 100644 --- a/examples/todomvc-example/pom.xml +++ b/examples/todomvc-example/pom.xml @@ -5,7 +5,7 @@ de.saxsys.mvvmfx examples - 1.5.2-SNAPSHOT + 1.5.2 4.0.0 diff --git a/mvvmfx-archetype/pom.xml b/mvvmfx-archetype/pom.xml index a34bdc68d..917c196b7 100644 --- a/mvvmfx-archetype/pom.xml +++ b/mvvmfx-archetype/pom.xml @@ -5,7 +5,7 @@ de.saxsys mvvmfx-parent - 1.5.2-SNAPSHOT + 1.5.2 diff --git a/mvvmfx-archetype/src/main/resources/archetype-resources/pom.xml b/mvvmfx-archetype/src/main/resources/archetype-resources/pom.xml index 330696fd9..20690d277 100644 --- a/mvvmfx-archetype/src/main/resources/archetype-resources/pom.xml +++ b/mvvmfx-archetype/src/main/resources/archetype-resources/pom.xml @@ -16,7 +16,7 @@ de.saxsys mvvmfx-parent - 1.5.2-SNAPSHOT + 1.5.2 pom import diff --git a/mvvmfx-cdi/pom.xml b/mvvmfx-cdi/pom.xml index 137712e53..11fc1a76c 100644 --- a/mvvmfx-cdi/pom.xml +++ b/mvvmfx-cdi/pom.xml @@ -20,7 +20,7 @@ de.saxsys mvvmfx-parent - 1.5.2-SNAPSHOT + 1.5.2 mvvmfx-cdi diff --git a/mvvmfx-guice/pom.xml b/mvvmfx-guice/pom.xml index 4c7327717..23f5500ff 100644 --- a/mvvmfx-guice/pom.xml +++ b/mvvmfx-guice/pom.xml @@ -20,7 +20,7 @@ de.saxsys mvvmfx-parent - 1.5.2-SNAPSHOT + 1.5.2 mvvmfx-guice diff --git a/mvvmfx-testing-utils/pom.xml b/mvvmfx-testing-utils/pom.xml index 6aee314d5..cb205f850 100644 --- a/mvvmfx-testing-utils/pom.xml +++ b/mvvmfx-testing-utils/pom.xml @@ -5,7 +5,7 @@ mvvmfx-parent de.saxsys - 1.5.2-SNAPSHOT + 1.5.2 4.0.0 diff --git a/mvvmfx-utils/pom.xml b/mvvmfx-utils/pom.xml index ccd149eea..2573948ff 100644 --- a/mvvmfx-utils/pom.xml +++ b/mvvmfx-utils/pom.xml @@ -5,7 +5,7 @@ mvvmfx-parent de.saxsys - 1.5.2-SNAPSHOT + 1.5.2 4.0.0 diff --git a/mvvmfx/pom.xml b/mvvmfx/pom.xml index 43666f493..13206ab67 100644 --- a/mvvmfx/pom.xml +++ b/mvvmfx/pom.xml @@ -20,7 +20,7 @@ de.saxsys mvvmfx-parent - 1.5.2-SNAPSHOT + 1.5.2 mvvmfx diff --git a/pom.xml b/pom.xml index a007a7181..de2f221d2 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ de.saxsys mvvmfx-parent pom - 1.5.2-SNAPSHOT + 1.5.2 mvvmFX parent Application Framework for MVVM with JavaFX. http://www.saxsys.de