Skip to content

Commit

Permalink
Merge pull request #269 from tomasz/269_maven_managed_deps
Browse files Browse the repository at this point in the history
Use Maven's managed dependencies
  • Loading branch information
manuel-mauky committed Jun 16, 2015
2 parents 7290ee9 + bb071ff commit 63afa96
Show file tree
Hide file tree
Showing 18 changed files with 99 additions and 25 deletions.
1 change: 0 additions & 1 deletion examples/mvvmfx-books-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>eu.lestard</groupId>
Expand Down
3 changes: 0 additions & 3 deletions examples/mvvmfx-cdi-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,14 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-cdi</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-complex</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
Expand Down
1 change: 0 additions & 1 deletion examples/mvvmfx-complex-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down
3 changes: 0 additions & 3 deletions examples/mvvmfx-contacts/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,10 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-cdi</artifactId>
<version>${project.parent.version}</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -117,7 +115,6 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-testing-utils</artifactId>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
1 change: 0 additions & 1 deletion examples/mvvmfx-fx-root-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.parent.version}</version>
</dependency>

<dependency>
Expand Down
3 changes: 0 additions & 3 deletions examples/mvvmfx-guice-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,14 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-guice</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-complex</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
1 change: 0 additions & 1 deletion examples/mvvmfx-helloworld-without-fxml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>

Expand Down
1 change: 0 additions & 1 deletion examples/mvvmfx-helloworld/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>

Expand Down
1 change: 0 additions & 1 deletion examples/mvvmfx-synchronizefx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys.synchronizefx</groupId>
Expand Down
1 change: 0 additions & 1 deletion examples/mvvmfx-todomvc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.fxmisc.easybind</groupId>
Expand Down
56 changes: 56 additions & 0 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,60 @@
<module>mvvmfx-todomvc</module>
</modules>


<dependencyManagement>
<dependencies>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-complex</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-guice-example</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-cdi-example</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-fx-root-example</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-helloworld</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-helloworld-without-fxml</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-synchronizefx</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-contacts</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-library-example</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-todomvc</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

</project>
4 changes: 0 additions & 4 deletions mvvmfx-archetype/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
An maven archetype to create an example application with mvvmFX
</description>

<properties>
<version.mvvmfx>${project.parent.version}</version.mvvmfx>
</properties>


<build>
<extensions>
Expand Down
12 changes: 11 additions & 1 deletion mvvmfx-archetype/src/main/resources/archetype-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,22 @@
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-parent</artifactId>
<version>1.4.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${version}</version>
</dependency>
</dependencies>

Expand Down
1 change: 0 additions & 1 deletion mvvmfx-cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.parent.version}</version>
<scope>provided</scope>
</dependency>

Expand Down
1 change: 0 additions & 1 deletion mvvmfx-guice/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.parent.version}</version>
<scope>provided</scope>
</dependency>

Expand Down
1 change: 0 additions & 1 deletion mvvmfx-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-testing-utils</artifactId>
<version>${project.parent.version}</version>
</dependency>


Expand Down
1 change: 0 additions & 1 deletion mvvmfx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-testing-utils</artifactId>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
32 changes: 32 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,38 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-cdi</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-guice</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-archetype</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-utils</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.saxsys</groupId>
<artifactId>mvvmfx-testing-utils</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down

0 comments on commit 63afa96

Please sign in to comment.