* Update maven and maven wrapper to the latest versions * Update maven-war-plugin version Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
142 lines
5.1 KiB
XML
142 lines
5.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
The MIT License (MIT)
|
|
Copyright © 2014-2021 Ilkka Seppälä
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|
|
|
|
Module Model-view-viewmodel is using ZK framework
|
|
ZK framework is licensed under LGPL and the license can be found at lgpl-3.0.txt
|
|
|
|
-->
|
|
<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>
|
|
<artifactId>java-design-patterns</artifactId>
|
|
<groupId>com.iluwatar</groupId>
|
|
<version>1.26.0-SNAPSHOT</version>
|
|
</parent>
|
|
<groupId>com.iluwatar</groupId>
|
|
<artifactId>model-view-viewmodel</artifactId>
|
|
<version>1.26.0-SNAPSHOT</version>
|
|
<properties>
|
|
<zk.version>9.0.0</zk.version>
|
|
<guava.version>19.0</guava.version>
|
|
<jetty-maven-plugin.version>9.4.28.v20200408</jetty-maven-plugin.version>
|
|
<maven-war-plugin.version>3.3.2</maven-war-plugin.version>
|
|
<maven-assembly-plugin.version>2.2</maven-assembly-plugin.version>
|
|
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
|
|
<packname>-${project.version}-FL-${maven.build.timestamp}</packname>
|
|
</properties>
|
|
<packaging>war</packaging>
|
|
<name>model-view-viewmodel</name>
|
|
<description>model-view-viewmodel</description>
|
|
<licenses>
|
|
<license>
|
|
<name>GNU LESSER GENERAL PUBLIC LICENSE, Version 3</name>
|
|
<url>https://www.gnu.org/licenses/lgpl.html</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
<repositories>
|
|
<repository>
|
|
<id>ZK CE</id>
|
|
<name>ZK CE Repository</name>
|
|
<url>https://mavensync.zkoss.org/maven2</url>
|
|
</repository>
|
|
<repository>
|
|
<id>ZK EVAL</id>
|
|
<name>ZK Evaluation Repository</name>
|
|
<url>https://mavensync.zkoss.org/eval</url>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>zkmaven</id>
|
|
<name>ZK Maven Plugin Repository</name>
|
|
<url>https://mavensync.zkoss.org/maven2/</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.zkoss.zk</groupId>
|
|
<artifactId>zkbind</artifactId>
|
|
<version>${zk.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava-testlib</artifactId>
|
|
<version>${guava.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<!-- Run with Jetty -->
|
|
<plugin>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
<version>${jetty-maven-plugin.version}</version>
|
|
<configuration>
|
|
<webApp>
|
|
<contextPath>/${project.artifactId}</contextPath>
|
|
<allowDuplicateFragmentNames>true</allowDuplicateFragmentNames>
|
|
</webApp>
|
|
<scanIntervalSeconds>5</scanIntervalSeconds>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Build war -->
|
|
<plugin>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<version>${maven-war-plugin.version}</version>
|
|
</plugin>
|
|
<!-- Pack zips -->
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>${maven-assembly-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>webapp</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<finalName>model-view-viewmodel${packname}</finalName>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
<descriptors>
|
|
<descriptor>src/main/assembly/webapp.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|