toop-demo-ui-dc-maritime

Generic parent POM for Java 1.8+ applications

License

License

GroupId

GroupId

eu.toop
ArtifactId

ArtifactId

toop-demo-ui-dc-maritime
Last Version

Last Version

0.10.8
Release Date

Release Date

Type

Type

war
Description

Description

toop-demo-ui-dc-maritime
Generic parent POM for Java 1.8+ applications
Project Organization

Project Organization

Philip Helger

Download toop-demo-ui-dc-maritime

How to add to project

<!-- https://jarcasting.com/artifacts/eu.toop/toop-demo-ui-dc-maritime/ -->
<dependency>
    <groupId>eu.toop</groupId>
    <artifactId>toop-demo-ui-dc-maritime</artifactId>
    <version>0.10.8</version>
    <type>war</type>
</dependency>
// https://jarcasting.com/artifacts/eu.toop/toop-demo-ui-dc-maritime/
implementation 'eu.toop:toop-demo-ui-dc-maritime:0.10.8'
// https://jarcasting.com/artifacts/eu.toop/toop-demo-ui-dc-maritime/
implementation ("eu.toop:toop-demo-ui-dc-maritime:0.10.8")
'eu.toop:toop-demo-ui-dc-maritime:war:0.10.8'
<dependency org="eu.toop" name="toop-demo-ui-dc-maritime" rev="0.10.8">
  <artifact name="toop-demo-ui-dc-maritime" type="war" />
</dependency>
@Grapes(
@Grab(group='eu.toop', module='toop-demo-ui-dc-maritime', version='0.10.8')
)
libraryDependencies += "eu.toop" % "toop-demo-ui-dc-maritime" % "0.10.8"
[eu.toop/toop-demo-ui-dc-maritime "0.10.8"]

Dependencies

compile (13)

Group / Artifact Type Version
com.helger : ph-commons jar
eu.toop : toop-commons jar 0.10.8
eu.toop : toop-interface jar 0.10.8
org.apache.logging.log4j : log4j-core jar
org.apache.logging.log4j : log4j-slf4j-impl jar
org.apache.logging.log4j : log4j-web jar
org.slf4j : jul-to-slf4j jar 1.7.29
com.typesafe : config jar 1.4.0
com.vaadin : vaadin-server jar
com.vaadin : vaadin-client-compiled jar
com.vaadin : vaadin-themes jar
com.google.code.gson : gson jar 2.8.6
com.sun.activation : jakarta.activation jar

provided (1)

Group / Artifact Type Version
javax.servlet : javax.servlet-api jar 3.1.0

test (3)

Group / Artifact Type Version
junit : junit jar 4.12
com.helger : ph-oton-jetty jar
org.eclipse.jetty : jetty-continuation jar

Project Modules

There are no modules declared in this project.

toop-demo-ui

Template for a simple Vaadin application that only requires a Servlet 3.0 container to run.

Workflow

To compile the entire project, run "mvn install".

To run the application, run "mvn jetty:run" and open http://localhost:8080/ .

To produce a deployable production mode WAR:

  • change productionMode to true in the servlet class configuration (nested in the UI class)
  • run "mvn clean package"
  • test the war file with "mvn jetty:run-war"

Client-Side compilation

The generated maven project is using an automatically generated widgetset by default. When you add a dependency that needs client-side compilation, the maven plugin will automatically generate it for you. Your own client-side customizations can be added into package "client".

Debugging client side code

  • run "mvn vaadin:run-codeserver" on a separate console while the application is running
  • activate Super Dev Mode in the debug window of the application

Developing a theme using the runtime compiler

When developing the theme, Vaadin can be configured to compile the SASS based theme at runtime in the server. This way you can just modify the scss files in your IDE and reload the browser to see changes.

To use the runtime compilation, open pom.xml and comment out the compile-theme goal from vaadin-maven-plugin configuration. To remove a possibly existing pre-compiled theme, run "mvn clean package" once.

When using the runtime compiler, running the application in the "run" mode (rather than in "debug" mode) can speed up consecutive theme compilations significantly.

It is highly recommended to disable runtime compilation for production WAR files.

Using Vaadin pre-releases

If Vaadin pre-releases are not enabled by default, use the Maven parameter "-P vaadin-prerelease" or change the activation default value of the profile in pom.xml .

eu.toop

toop.eu

Open Source Development for TOOP

Versions

Version
0.10.8
0.10.6-2
0.10.6