You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by jo...@apache.org on 2020/03/28 16:49:03 UTC

[isis] branch ISIS-2324-Merge-kroviz updated (7dbd53a -> dc5dfe0)

This is an automated email from the ASF dual-hosted git repository.

joergrade pushed a change to branch ISIS-2324-Merge-kroviz
in repository https://gitbox.apache.org/repos/asf/isis.git.


    from 7dbd53a  ISIS-2324 gradle called from pom.xml
     new 654a4f5  ISIS-2324 jar built, but js' missing yet
     new 21d4d87  ISIS-2324 import missed packages
     new dc5dfe0  ISIS-2324 prepare switch to build.gradle.kts

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 incubator/clients/kroviz/build.gradle              |  21 +-
 incubator/clients/kroviz/build.gradle.kts          | 211 +++++++++++++++++++++
 incubator/clients/kroviz/pom.xml                   |   7 +-
 .../kroviz/core/aggregator/ActionDispatcher.kt     |  22 +--
 .../apache/isis/client/kroviz/core/model/ListDM.kt |   8 +-
 .../apache/isis/client/kroviz/layout/ActionLt.kt   |   2 +-
 .../apache/isis/client/kroviz/core/UtilsTest.kt    |  11 +-
 incubator/pom.xml                                  |  31 +--
 8 files changed, 272 insertions(+), 41 deletions(-)
 create mode 100644 incubator/clients/kroviz/build.gradle.kts


[isis] 02/03: ISIS-2324 import missed packages

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

joergrade pushed a commit to branch ISIS-2324-Merge-kroviz
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 21d4d872f34dda8ff05bb2aa6b927e271b120c64
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Sat Mar 28 08:24:57 2020 +0100

    ISIS-2324 import missed packages
---
 .../kroviz/core/aggregator/ActionDispatcher.kt     | 22 +++++++++++-----------
 .../apache/isis/client/kroviz/core/model/ListDM.kt |  8 +++++---
 .../apache/isis/client/kroviz/layout/ActionLt.kt   |  2 +-
 .../apache/isis/client/kroviz/core/UtilsTest.kt    | 11 +++++++----
 4 files changed, 24 insertions(+), 19 deletions(-)

diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/aggregator/ActionDispatcher.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/aggregator/ActionDispatcher.kt
index 1c75b93..da8eaa3 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/aggregator/ActionDispatcher.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/aggregator/ActionDispatcher.kt
@@ -3,6 +3,7 @@ package org.apache.isis.client.kroviz.core.aggregator
 import org.apache.isis.client.kroviz.core.event.LogEntry
 import org.apache.isis.client.kroviz.to.Action
 import org.apache.isis.client.kroviz.to.Link
+import org.apache.isis.client.kroviz.to.Method
 import org.apache.isis.client.kroviz.ui.Point
 import org.apache.isis.client.kroviz.ui.kv.ActionPrompt
 import org.apache.isis.client.kroviz.utils.Utils
@@ -11,23 +12,22 @@ class ActionDispatcher(private val at: Point = Point(100, 100)) : BaseAggregator
 
     override fun update(logEntry: LogEntry, subType: String) {
         val action = logEntry.getTransferObject() as Action
-                action.links.forEach { link ->
-                    // it.rel should be neither: (self | up | describedBy )
-                    if (link.isInvokeAction()) {
-                        when (link.method) {
-                            org.apache.isis.client.kroviz.to.Method.GET.name -> processGet(action, link)
-                            org.apache.isis.client.kroviz.to.Method.POST.name -> processPost(action, link)
-                            org.apache.isis.client.kroviz.to.Method.PUT.name -> invoke(link)
-                        }
-                    }
+        action.links.forEach { link ->
+            // it.rel should be neither: (self | up | describedBy )
+            if (link.isInvokeAction()) {
+                when (link.method) {
+                    Method.GET.name -> processGet(action, link)
+                    Method.POST.name -> processPost(action, link)
+                    Method.PUT.name -> invoke(link)
                 }
+            }
+        }
     }
 
     /**
      *  link.rel should neither be: (self | up | describedBy )
      */
-    private fun Link.isInvokeAction(): Boolean
-    {
+    private fun Link.isInvokeAction(): Boolean {
         return rel.contains("invoke") && rel.contains("action")
     }
 
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/model/ListDM.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/model/ListDM.kt
index 3496607..53e7612 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/model/ListDM.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/model/ListDM.kt
@@ -3,8 +3,10 @@ package org.apache.isis.client.kroviz.core.model
 import org.apache.isis.client.kroviz.layout.Layout
 import org.apache.isis.client.kroviz.layout.PropertyLt
 import org.apache.isis.client.kroviz.layout.RowLt
+import org.apache.isis.client.kroviz.to.Extensions
 import org.apache.isis.client.kroviz.to.Property
 import org.apache.isis.client.kroviz.to.TObject
+import org.apache.isis.client.kroviz.to.TransferObject
 import org.apache.isis.client.kroviz.to.bs3.Grid
 import pl.treksoft.kvision.state.observableListOf
 
@@ -57,14 +59,14 @@ class ListDM(override val title: String) : DisplayModel() {
         }
     }
 
-    override fun addData(obj: org.apache.isis.client.kroviz.to.TransferObject) {
-        val exo = org.apache.isis.client.kroviz.core.model.Exposer(obj as TObject)
+    override fun addData(obj: TransferObject) {
+        val exo = Exposer(obj as TObject)
         data.add(exo.dynamise())  //if exposer is not dynamised, data access in tables won't work
     }
 
     fun addPropertyDescription(p: Property) {
         val id = p.id
-        val e: org.apache.isis.client.kroviz.to.Extensions = p.extensions!!
+        val e: Extensions = p.extensions!!
         val friendlyName = e.friendlyName
         addPropertyDescription(id, friendlyName)
     }
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/layout/ActionLt.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/layout/ActionLt.kt
index 5d53923..452e6df 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/layout/ActionLt.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/layout/ActionLt.kt
@@ -7,7 +7,7 @@ import org.apache.isis.client.kroviz.to.Link
 data class ActionLt(var named: String? = "",
                     var describedAs: String? = "",
                     var metadataError: String? = "",
-                    var link:org.apache.isis.client.kroviz.to.Link? = null,
+                    var link: Link? = null,
                     var id: String? = "",
                     var bookmarking: String? = "",
                     var cssClass: String? = "",
diff --git a/incubator/clients/kroviz/src/test/kotlin/org/apache/isis/client/kroviz/core/UtilsTest.kt b/incubator/clients/kroviz/src/test/kotlin/org/apache/isis/client/kroviz/core/UtilsTest.kt
index b4252b4..3e4a14c 100644
--- a/incubator/clients/kroviz/src/test/kotlin/org/apache/isis/client/kroviz/core/UtilsTest.kt
+++ b/incubator/clients/kroviz/src/test/kotlin/org/apache/isis/client/kroviz/core/UtilsTest.kt
@@ -1,5 +1,8 @@
 package org.apache.isis.client.kroviz.core
 
+import org.apache.isis.client.kroviz.to.Argument
+import org.apache.isis.client.kroviz.to.Link
+import org.apache.isis.client.kroviz.to.Method
 import org.apache.isis.client.kroviz.utils.DateHelper
 import org.apache.isis.client.kroviz.utils.Utils
 import kotlin.test.Test
@@ -59,12 +62,12 @@ class UtilsTest {
         val href = "http://localhost:8080/restful/services/isisApplib.FixtureScriptsDefault/actions/runFixtureScript/invoke"
         val rel = "urn:org.restfulobjects:rels/invoke;action='runFixtureScript'"
         val type = "application/json;profile='urn:org.restfulobjects:repr-types/object-action'"
-        val link = org.apache.isis.client.kroviz.to.Link(method = org.apache.isis.client.kroviz.to.Method.POST.operation, href = href, rel = rel, type = type)
+        val link = Link(method = Method.POST.operation, href = href, rel = rel, type = type)
 //        val arguments = LinkedHashMap<String, String>() //
         //       link.setArgument(arguments)
 
         // when
-        val body = Utils.argumentsAsBody(link)
+        //val body = Utils.argumentsAsBody(link)
 
         // then
 //        console.log("[UtilsTest.test_argumentsAsBody]")
@@ -77,7 +80,7 @@ class UtilsTest {
         //given
         val expected = """"script": {"value": {"href": "http://localhost:8080"}}"""
         val value = "http://localhost:8080"
-        val arg = org.apache.isis.client.kroviz.to.Argument("script", value)
+        val arg = Argument("script", value)
         // when
         val actual = Utils.asBody(arg)
         // then
@@ -89,7 +92,7 @@ class UtilsTest {
         //given
         val expected = """"parameters": {"value": ""}"""
         val value = ""
-        val arg = org.apache.isis.client.kroviz.to.Argument("parameters", value)
+        val arg = Argument("parameters", value)
         // when
         val actual = Utils.asBody(arg)
         // then


[isis] 03/03: ISIS-2324 prepare switch to build.gradle.kts

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

joergrade pushed a commit to branch ISIS-2324-Merge-kroviz
in repository https://gitbox.apache.org/repos/asf/isis.git

commit dc5dfe05c6706168cb13c76ad28304aa605e2c87
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Sat Mar 28 17:48:30 2020 +0100

    ISIS-2324 prepare switch to build.gradle.kts
---
 incubator/clients/kroviz/build.gradle     |  19 ++-
 incubator/clients/kroviz/build.gradle.kts | 211 ++++++++++++++++++++++++++++++
 2 files changed, 228 insertions(+), 2 deletions(-)

diff --git a/incubator/clients/kroviz/build.gradle b/incubator/clients/kroviz/build.gradle
index 0a1fbdf..5db2658 100644
--- a/incubator/clients/kroviz/build.gradle
+++ b/incubator/clients/kroviz/build.gradle
@@ -3,10 +3,20 @@ buildscript {
     ext.production = (findProperty('prod') ?: 'false') == 'true'
 
     repositories {
+        mavenCentral()
+        jcenter()
         maven { url = 'https://dl.bintray.com/kotlin/kotlin-eap' }
-        maven { url = 'https://plugins.gradle.org/m2/' }
         maven { url = 'https://kotlin.bintray.com/kotlinx' }
-        mavenCentral()
+        maven { url = 'https://dl.bintray.com/kotlin/kotlin-js-wrappers' }
+        maven {
+            url = uri("https://dl.bintray.com/gbaldeck/kotlin")
+            metadataSources {
+                mavenPom()
+                artifact()
+            }
+        }
+        maven { url = 'https://dl.bintray.com/rjaros/kotlin' }
+        mavenLocal()
     }
 
     dependencies {
@@ -117,6 +127,11 @@ task copyResourcesForDce() {
                         include "css/**"
                         include "img/**"
                         include "js/**"
+                        if (kvmodule == "kvision") {
+                            into("kvision/$kvisionVersion")
+                        } else {
+                            into("kvision-$kvmodule/$kvisionVersion")
+                        }
                     }
                 }
             }
diff --git a/incubator/clients/kroviz/build.gradle.kts b/incubator/clients/kroviz/build.gradle.kts
new file mode 100644
index 0000000..f05f8ed
--- /dev/null
+++ b/incubator/clients/kroviz/build.gradle.kts
@@ -0,0 +1,211 @@
+import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin
+import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpack
+import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig
+import org.jetbrains.kotlin.gradle.tasks.KotlinJsDce
+
+buildscript {
+    extra.set("production", (findProperty("prod") ?: findProperty("production") ?: "false") == "true")
+}
+
+plugins {
+    val kotlinVersion: String by System.getProperties()
+    id("kotlinx-serialization") version kotlinVersion
+    kotlin("js") version kotlinVersion
+}
+
+version = "2.0.0-M3-SNAPSHOT"
+group = "org.apache.isis.incubator"
+
+repositories {
+    mavenCentral()
+    jcenter()
+    maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
+    maven { url = uri("https://kotlin.bintray.com/kotlinx") }
+    maven { url = uri("https://dl.bintray.com/kotlin/kotlin-js-wrappers") }
+    maven {
+        url = uri("https://dl.bintray.com/gbaldeck/kotlin")
+        metadataSources {
+            mavenPom()
+            artifact()
+        }
+    }
+    maven { url = uri("https://dl.bintray.com/rjaros/kotlin") }
+    mavenLocal()
+}
+
+// Versions
+val kotlinVersion: String by System.getProperties()
+val kvisionVersion: String by System.getProperties()
+
+// Custom Properties
+val webDir = file("src/main/web")
+val isProductionBuild = project.extra.get("production") as Boolean
+
+kotlin {
+    target {
+        compilations.all {
+            kotlinOptions {
+                moduleKind = "umd"
+                sourceMap = !isProductionBuild
+                if (!isProductionBuild) {
+                    sourceMapEmbedSources = "always"
+                }
+            }
+        }
+        browser {
+            runTask {
+                outputFileName = "main.bundle.js"
+                devServer = KotlinWebpackConfig.DevServer(
+                    open = false,
+                    port = 3000,
+                    proxy = mapOf(
+                        "/kv/*" to "http://localhost:8080",
+                        "/kvws/*" to mapOf("target" to "ws://localhost:8080", "ws" to true)
+                    ),
+                    contentBase = listOf("$buildDir/processedResources/Js/main")
+                )
+            }
+            testTask {
+                useKarma {
+                    useChromeHeadless()
+                }
+            }
+        }
+    }
+    sourceSets["main"].dependencies {
+        implementation(kotlin("stdlib-js"))
+        implementation(npm("po2json"))
+        implementation(npm("grunt"))
+        implementation(npm("grunt-pot"))
+
+        implementation("pl.treksoft:kvision:$kvisionVersion")
+        implementation("pl.treksoft:kvision-i18n:$kvisionVersion")
+    }
+    sourceSets["test"].dependencies {
+        implementation(kotlin("test-js"))
+        implementation("pl.treksoft:kvision-testutils:$kvisionVersion:tests")
+    }
+    sourceSets["main"].resources.srcDir(webDir)
+}
+
+fun getNodeJsBinaryExecutable(): String {
+    val nodeDir = NodeJsRootPlugin.apply(project).nodeJsSetupTask.destination
+    val isWindows = System.getProperty("os.name").toLowerCase().contains("windows")
+    val nodeBinDir = if (isWindows) nodeDir else nodeDir.resolve("bin")
+    val command = NodeJsRootPlugin.apply(project).nodeCommand
+    val finalCommand = if (isWindows && command == "node") "node.exe" else command
+    return nodeBinDir.resolve(finalCommand).absolutePath
+}
+
+tasks {
+    withType<KotlinJsDce> {
+        doLast {
+            copy {
+                file("$buildDir/tmp/expandedArchives/").listFiles()?.forEach {
+                    if (it.isDirectory && it.name.startsWith("kvision")) {
+                        from(it) {
+                            include("css/**")
+                            include("img/**")
+                            include("js/**")
+                        }
+                    }
+                }
+                into(file("${buildDir.path}/js/packages/${project.name}/kotlin-dce"))
+            }
+        }
+    }
+    create("generateGruntfile") {
+        outputs.file("$buildDir/js/Gruntfile.js")
+        doLast {
+            file("$buildDir/js/Gruntfile.js").run {
+                writeText(
+                    """
+                    module.exports = function (grunt) {
+                        grunt.initConfig({
+                            pot: {
+                                options: {
+                                    text_domain: "messages",
+                                    dest: "../../src/main/resources/i18n/",
+                                    keywords: ["tr", "ntr:1,2", "gettext", "ngettext:1,2"],
+                                    encoding: "UTF-8"
+                                },
+                                files: {
+                                    src: ["../../src/main/kotlin/**/*.kt"],
+                                    expand: true,
+                                },
+                            }
+                        });
+                        grunt.loadNpmTasks("grunt-pot");
+                    };
+                """.trimIndent()
+                )
+            }
+        }
+    }
+    create("generatePotFile", Exec::class) {
+        dependsOn("kotlinNpmInstall", "generateGruntfile")
+        workingDir = file("$buildDir/js")
+        executable = getNodeJsBinaryExecutable()
+        args("$buildDir/js/node_modules/grunt/bin/grunt", "pot")
+        inputs.files(kotlin.sourceSets["main"].kotlin.files)
+        outputs.file("$projectDir/src/main/resources/i18n/messages.pot")
+    }
+}
+afterEvaluate {
+    tasks {
+        getByName("processResources", Copy::class) {
+            dependsOn("kotlinNpmInstall")
+            exclude("**/*.pot")
+            doLast("Convert PO to JSON") {
+                destinationDir.walkTopDown().filter {
+                    it.isFile && it.extension == "po"
+                }.forEach {
+                    exec {
+                        executable = getNodeJsBinaryExecutable()
+                        args(
+                            "$buildDir/js/node_modules/po2json/bin/po2json",
+                            it.absolutePath,
+                            "${it.parent}/${it.nameWithoutExtension}.json",
+                            "-f",
+                            "jed1.x"
+                        )
+                        println("Converted ${it.name} to ${it.nameWithoutExtension}.json")
+                    }
+                    it.delete()
+                }
+                copy {
+                    file("$buildDir/tmp/expandedArchives/").listFiles()?.forEach {
+                        if (it.isDirectory && it.name.startsWith("kvision")) {
+                            val kvmodule = it.name.split("-$kvisionVersion").first()
+                            from(it) {
+                                include("css/**")
+                                include("img/**")
+                                include("js/**")
+                                if (kvmodule == "kvision") {
+                                    into("kvision/$kvisionVersion")
+                                } else {
+                                    into("kvision-$kvmodule/$kvisionVersion")
+                                }
+                            }
+                        }
+                    }
+                    into(file(buildDir.path + "/js/packages_imported"))
+                }
+            }
+        }
+        create("zip", Zip::class) {
+            dependsOn("browserProductionWebpack")
+            group = "package"
+            destinationDirectory.set(file("$buildDir/libs"))
+            val distribution =
+                project.tasks.getByName("browserProductionWebpack", KotlinWebpack::class).destinationDirectory!!
+            from(distribution) {
+                include("*.*")
+            }
+            from(webDir)
+            duplicatesStrategy = DuplicatesStrategy.EXCLUDE
+            inputs.files(distribution, webDir)
+            outputs.file(archiveFile)
+        }
+    }
+}


[isis] 01/03: ISIS-2324 jar built, but js' missing yet

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

joergrade pushed a commit to branch ISIS-2324-Merge-kroviz
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 654a4f59844d5fa22121c9f81b6fc4c34ee94cf6
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Fri Mar 27 14:06:33 2020 +0100

    ISIS-2324 jar built, but js' missing yet
---
 incubator/clients/kroviz/build.gradle |  2 +-
 incubator/clients/kroviz/pom.xml      |  7 +++----
 incubator/pom.xml                     | 31 ++++++++++++++++---------------
 3 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/incubator/clients/kroviz/build.gradle b/incubator/clients/kroviz/build.gradle
index 67e8005..0a1fbdf 100644
--- a/incubator/clients/kroviz/build.gradle
+++ b/incubator/clients/kroviz/build.gradle
@@ -110,7 +110,7 @@ task copyResourcesForDce() {
     doLast {
         copy {
             from "src/main/resources"
-            ext.modulesDir = new File("${buildDir.path}/node_modules_imported/")
+            ext.modulesDir = File("${buildDir.path}/node_modules_imported/")
             modulesDir.eachDir {
                 if (it.name.startsWith("kvision")) {
                     from(it) {
diff --git a/incubator/clients/kroviz/pom.xml b/incubator/clients/kroviz/pom.xml
index 991f3dd..5a78b7c 100644
--- a/incubator/clients/kroviz/pom.xml
+++ b/incubator/clients/kroviz/pom.xml
@@ -34,7 +34,7 @@
         <git-plugin.propertiesDir>org/apache/isis/incubator/clients/kroviz</git-plugin.propertiesDir>
     </properties>
 
-    <packaging>pom</packaging>
+    <packaging>jar</packaging>
 
     <build>
         <plugins>
@@ -43,16 +43,15 @@
                 <artifactId>gradle-maven-plugin</artifactId>
                 <version>1.0.8</version>
                 <configuration>
-                    <gradleVersion>4.9</gradleVersion>
+                    <gradleVersion>5.3.1</gradleVersion>
                     <tasks>
-                        <!-- this would effectively call "gradle doSomething" -->
                         <task>distZip</task>
                     </tasks>
                 </configuration>
                 <executions>
                     <execution>
                         <!-- You can bind this to any phase you like -->
-                        <phase>compile</phase>
+                        <phase>distZip</phase>
                         <goals>
                             <!-- goal must be "invoke" -->
                             <goal>invoke</goal>
diff --git a/incubator/pom.xml b/incubator/pom.xml
index c37fe87..27f9b64 100644
--- a/incubator/pom.xml
+++ b/incubator/pom.xml
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
-	license agreements. See the NOTICE file distributed with this work for additional 
-	information regarding copyright ownership. The ASF licenses this file to 
-	you 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 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. See the License for the specific 
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+	license agreements. See the NOTICE file distributed with this work for additional
+	information regarding copyright ownership. The ASF licenses this file to
+	you 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 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. See the License for the specific
 	language governing permissions and limitations under the License. -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"
 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -60,19 +60,19 @@
 
 	<dependencyManagement>
 		<dependencies>
-			
+
 			<dependency>
 				<groupId>org.apache.isis.incubator</groupId>
 				<artifactId>isis-incubator-model</artifactId>
 				<version>2.0.0-M3-SNAPSHOT</version>
 			</dependency>
-			
+
 			<dependency>
 				<groupId>org.apache.isis.incubator</groupId>
 				<artifactId>isis-incubator-microprofile</artifactId>
 				<version>2.0.0-M3-SNAPSHOT</version>
 			</dependency>
-			
+
 			<dependency>
 				<groupId>org.apache.isis.incubator.viewer</groupId>
 				<artifactId>isis-viewer-vaadin</artifactId>
@@ -84,13 +84,13 @@
 				<artifactId>isis-viewer-vaadin-model</artifactId>
 				<version>2.0.0-M3-SNAPSHOT</version>
 			</dependency>
-		
+
 			<dependency>
 				<groupId>org.apache.isis.incubator.viewer</groupId>
 				<artifactId>isis-viewer-vaadin-ui</artifactId>
 				<version>2.0.0-M3-SNAPSHOT</version>
 			</dependency>
-		
+
 			<dependency>
 				<groupId>org.apache.isis.incubator.viewer</groupId>
 				<artifactId>isis-viewer-vaadin-viewer</artifactId>
@@ -98,7 +98,7 @@
 			</dependency>
 
 			<!-- TESTING -->
-			
+
 			<dependency>
 				<groupId>org.apache.isis.testing</groupId>
 				<artifactId>isis-testing-fixtures-applib</artifactId>
@@ -120,6 +120,7 @@
 		<module>core/model</module>
 		<module>mappings/microprofile</module>
 		<module>viewers/vaadin</module>
+		<module>clients/kroviz</module>
 	</modules>
 
 </project>