This is an automated email from the git hooks/post-receive script. New commit to branch feature/1197-modularisation in repository lima. See http://git.chorem.org/lima.git commit 542931034466d9b604269f3bee7b820e14c15e0c Author: Arnaud Thimel <thimel@codelutin.com> Date: Wed Mar 18 00:41:42 2015 +0100 Make lima-swing independent of lima-business (only lima-business-api) --- .../chorem/lima/business/utils/AccountComparator.java | 0 .../lima/business/utils/FiscalPeriodComparator.java | 0 lima-swing/pom.xml | 18 ++++++++++++------ .../main/java/org/chorem/lima/ui/MainViewHandler.java | 1 - 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/lima-business/src/main/java/org/chorem/lima/business/utils/AccountComparator.java b/lima-business-api/src/main/java/org/chorem/lima/business/utils/AccountComparator.java similarity index 100% rename from lima-business/src/main/java/org/chorem/lima/business/utils/AccountComparator.java rename to lima-business-api/src/main/java/org/chorem/lima/business/utils/AccountComparator.java diff --git a/lima-business/src/main/java/org/chorem/lima/business/utils/FiscalPeriodComparator.java b/lima-business-api/src/main/java/org/chorem/lima/business/utils/FiscalPeriodComparator.java similarity index 100% rename from lima-business/src/main/java/org/chorem/lima/business/utils/FiscalPeriodComparator.java rename to lima-business-api/src/main/java/org/chorem/lima/business/utils/FiscalPeriodComparator.java diff --git a/lima-swing/pom.xml b/lima-swing/pom.xml index c734be2..b84c24e 100644 --- a/lima-swing/pom.xml +++ b/lima-swing/pom.xml @@ -49,13 +49,19 @@ <artifactId>lima-server</artifactId> <version>${project.version}</version> <scope>compile</scope> + <exclusions> <!-- Exclude lima-business to make sure dependency is runtime only --> + <exclusion> + <groupId>${project.groupId}</groupId> + <artifactId>lima-business</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>lima-business</artifactId> + <version>${project.version}</version> + <scope>runtime</scope> </dependency> - <!--<dependency>--> - <!--<groupId>${project.groupId}</groupId>--> - <!--<artifactId>lima-business</artifactId>--> - <!--<version>${project.version}</version>--> - <!--<scope>compile</scope>--> - <!--</dependency>--> <dependency> <groupId>${project.groupId}</groupId> <artifactId>lima-business-api</artifactId> diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java b/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java index cbe4203..8acea8b 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java @@ -32,7 +32,6 @@ import org.chorem.lima.LimaSwingConfig; import org.chorem.lima.business.api.OptionsService; import org.chorem.lima.enums.ImportExportEnum; import org.chorem.lima.business.LimaServiceFactory; -import org.chorem.lima.server.LimaServerConfig; import org.chorem.lima.ui.account.AccountView; import org.chorem.lima.ui.celleditor.NumberSeparatorCellRenderer; import org.chorem.lima.ui.celleditor.NumberSeparatorTableCellRenderer; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.