# HG changeset patch # User rougeronj # Date 1444036140 -7200 # Node ID 105ddd569ff708ab4e0061c59ecbee67f7ea960a # Parent 1e1791dfc9e44c091a4be91754e99993c1aef2a9# Parent de0d488a0a1bbf8407b66d34c7ee1a214926e63d Merge with de0d488a0a1bbf8407b66d34c7ee1a214926e63d diff -r 1e1791dfc9e4 -r 105ddd569ff7 client/gruntfile.js --- a/client/gruntfile.js Mon Oct 05 11:08:26 2015 +0200 +++ b/client/gruntfile.js Mon Oct 05 11:09:00 2015 +0200 @@ -284,7 +284,7 @@ }] }, 'version-maven': { - src: ['../server/java/pom.xml'], + src: ['../server/java/pom.xml', '../server/java/renkan-core/pom.xml', '../server/java/renkan-web/pom.xml', '../server/java/renkan-management/pom.xml'], overwrite: true, replacements: [{ from: /^(\s+)\s*([\d\.]+)\s*<\/version>[ \t]*$/m, diff -r 1e1791dfc9e4 -r 105ddd569ff7 server/java/README.md --- a/server/java/README.md Mon Oct 05 11:08:26 2015 +0200 +++ b/server/java/README.md Mon Oct 05 11:09:00 2015 +0200 @@ -2,12 +2,13 @@ - Icon user from echo-icon-theme (echo) (Open Icon Library - http://openiconlibrary.sourceforge.net/) licence CC BY-SA - Creative Commons -- eye icon by : Danilo De Marco : http://www.danilodemarco.com/ +- eye icon by : Danilo De Marco : http://www.danilodemarco.com/ - cf pom.xml for dependencies Commandes maven: mvn -DskipTests -Djava.awt.headless=true -Duser.timezone="UTC" clean jetty:run-war +mvn -Djava.awt.headless=true -Duser.timezone="UTC" clean package Commandes graddle: - `./gradlew clean build` @@ -17,6 +18,3 @@ Run a specific test : `./gradlew :renkan-web:test --tests org.iri_research.renkan.test.controller.RenkanControllerTest.testViewIdProject` The war file can then be fount in renkan-web/build/libs. - - - diff -r 1e1791dfc9e4 -r 105ddd569ff7 server/java/renkan-core/pom.xml --- a/server/java/renkan-core/pom.xml Mon Oct 05 11:08:26 2015 +0200 +++ b/server/java/renkan-core/pom.xml Mon Oct 05 11:09:00 2015 +0200 @@ -6,7 +6,7 @@ org.iri_research.renkan renkan - 0.7.11 + 0.12.11 renkan-core renkan-core @@ -28,6 +28,7 @@ 4.0 4.11 1.7.5 + 3.3 UTF-8 @@ -60,7 +61,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.1 + ${maven-compiler-plugin-version} 1.7 1.7 diff -r 1e1791dfc9e4 -r 105ddd569ff7 server/java/renkan-management/pom.xml --- a/server/java/renkan-management/pom.xml Mon Oct 05 11:08:26 2015 +0200 +++ b/server/java/renkan-management/pom.xml Mon Oct 05 11:09:00 2015 +0200 @@ -5,7 +5,7 @@ org.iri_research.renkan renkan - 0.7.11 + 0.12.11 renkan-management @@ -18,6 +18,7 @@ 1.7.5 3.0.1 3.2.6.RELEASE + 3.3 UTF-8 @@ -63,7 +64,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.1 + ${maven-compiler-plugin-version} 1.7 1.7 diff -r 1e1791dfc9e4 -r 105ddd569ff7 server/java/renkan-web/build.gradle --- a/server/java/renkan-web/build.gradle Mon Oct 05 11:08:26 2015 +0200 +++ b/server/java/renkan-web/build.gradle Mon Oct 05 11:09:00 2015 +0200 @@ -115,6 +115,11 @@ testCompile group: 'commons-io', name: 'commons-io', version:commons_io_version } +// call grunt +task buildClient(type:Exec) { + workingDir "../../../client" + commandLine "node_modules/.bin/grunt" +} //apply overlay war { @@ -162,3 +167,5 @@ into "static/data" } } + +war.dependsOn buildClient diff -r 1e1791dfc9e4 -r 105ddd569ff7 server/java/renkan-web/pom.xml --- a/server/java/renkan-web/pom.xml Mon Oct 05 11:08:26 2015 +0200 +++ b/server/java/renkan-web/pom.xml Mon Oct 05 11:09:00 2015 +0200 @@ -5,17 +5,17 @@ org.iri_research.renkan renkan - 0.7.11 + 0.12.11 renkan-web war - 2.16 + 2.18 1.0.1-SNAPSHOT 1.0 2.5.1 - 3.2.6.RELEASE + 3.2.9.RELEASE 1.3.3.RELEASE 3.2.0.RELEASE 1.6.3.RELEASE @@ -46,6 +46,8 @@ 0.9.1 2.4 0.9.4 + 3.3 + 1.4.0 UTF-8 @@ -53,9 +55,27 @@ package + exec-maven-plugin + org.codehaus.mojo + ${exec-maven-plugin-version} + + + Clident Build + generate-sources + + exec + + + node_modules/.bin/grunt + ${basedir}/../../../client + + + + + org.apache.maven.plugins maven-compiler-plugin - 3.1 + ${maven-compiler-plugin-version} 1.7 1.7 @@ -601,15 +621,15 @@ spring-security-acl ${spring-security-version} - + org.springframework.security spring-security-taglibs ${spring-security-version} - + - de.undercouch - bson4jackson - ${bson4jackson-version} + de.undercouch + bson4jackson + ${bson4jackson-version} joda-time