| <?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 |
| 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" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.isis.incubator.viewer</groupId> |
| <artifactId>isis-viewer-vaadin</artifactId> |
| <version>2.0.0-M8</version> |
| </parent> |
| |
| <artifactId>isis-viewer-vaadin-ui</artifactId> |
| <name>Apache Isis Inc - Viewer Vaadin (UI Components)</name> |
| |
| <properties> |
| <jar-plugin.automaticModuleName>org.apache.isis.incubator.viewer.vaadin.ui</jar-plugin.automaticModuleName> |
| <git-plugin.propertiesDir>org/apache/isis/incubator/viewer/vaadin/ui</git-plugin.propertiesDir> |
| <enforcer.skip>true</enforcer.skip> |
| </properties> |
| |
| <!-- IN CASE WE WANT TO USE VAADIN ADDONS --> |
| <!-- <repositories> --> |
| <!-- <repository> --> |
| <!-- <id>vaadin-addons</id> --> |
| <!-- <url>https://maven.vaadin.com/vaadin-addons</url> --> |
| <!-- </repository> --> |
| <!-- </repositories> --> |
| |
| <build> |
| <plugins> |
| |
| <plugin> |
| <groupId>com.github.eirslett</groupId> |
| <artifactId>frontend-maven-plugin</artifactId> |
| <version>1.12.1</version> |
| <executions> |
| |
| <execution> |
| <id>install node and npm</id> |
| <goals> |
| <goal>install-node-and-npm</goal> |
| </goals> |
| <configuration> |
| <!-- See https://nodejs.org/en/download/ for latest node and npm (lts) |
| versions --> |
| <nodeVersion>${node.version}</nodeVersion> |
| <npmVersion>${npm.version}</npmVersion> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.vaadin</groupId> |
| <artifactId>vaadin-maven-plugin</artifactId> |
| <version>${vaadin.version}</version> |
| <executions> |
| <execution> |
| <id>frontend</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>prepare-frontend</goal> |
| <goal>build-frontend</goal> |
| </goals> |
| <configuration> |
| <productionMode>true</productionMode> |
| <!-- does not work due to realative path ../../ resolving issues; |
| instead we copy the frontend folder with the maven-resources-plugin below |
| <frontendDirectory>${project.basedir}/src/main/resources/static/frontend</frontendDirectory> |
| --> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-resource-one</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.basedir}/src/main/resources/static/frontend</outputDirectory> |
| <resources> |
| <resource> |
| <directory>frontend</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.isis.incubator.viewer</groupId> |
| <artifactId>isis-viewer-vaadin-model</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.isis.core</groupId> |
| <artifactId>isis-core-runtimeservices</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.isis.viewer</groupId> |
| <artifactId>isis-viewer-commons-services</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.isis.viewer</groupId> |
| <artifactId>isis-viewer-commons-prism</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.vaadin</groupId> |
| <artifactId>vaadin-spring</artifactId> |
| <exclusions> |
| <exclusion> |
| <!-- convergence issue with wicket 1.3.3 vs 1.4 --> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>1.4</version> |
| </dependency> |
| |
| <!-- VAADIN ADDONS --> |
| |
| <!-- <dependency> --> |
| <!-- <groupId>com.github.appreciated</groupId> --> |
| <!-- <artifactId>vaadin-css-grid</artifactId> --> |
| <!-- <version>2.0.0.beta3</version> --> |
| <!-- <version>0.8.4</version> --> |
| <!-- </dependency> --> |
| |
| </dependencies> |
| |
| </project> |