Created
September 20, 2014 02:31
-
-
Save senthilmuthiah/6a344c1af19f56a96fbc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> | |
<groupId>ZKExampleTheme</groupId> | |
<artifactId>ZKExampleTheme</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<properties> | |
<zk.version>7.0.3</zk.version> | |
<commons-io>1.3.1</commons-io> | |
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format> | |
<packname>-${project.version}-FL-${maven.build.timestamp}</packname> | |
</properties> | |
<packaging>war</packaging> | |
<name>The ZKExampleTheme Project</name> | |
<description>The ZKExampleTheme Project</description> | |
<licenses> | |
<license> | |
<name>GNU LESSER GENERAL PUBLIC LICENSE, Version 3</name> | |
<url>http://www.gnu.org/licenses/lgpl.html</url> | |
<distribution>repo</distribution> | |
</license> | |
</licenses> | |
<repositories> | |
<repository> | |
<id>ZK CE</id> | |
<name>ZK CE Repository</name> | |
<url>http://mavensync.zkoss.org/maven2</url> | |
</repository> | |
<repository> | |
<id>ZK EVAL</id> | |
<name>ZK Evaluation Repository</name> | |
<url>http://mavensync.zkoss.org/eval</url> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>zkmaven</id> | |
<name>ZK Maven Plugin Repository</name> | |
<url>http://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.zkoss.zk</groupId> | |
<artifactId>zul</artifactId> | |
<version>${zk.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.zkoss.zk</groupId> | |
<artifactId>zkplus</artifactId> | |
<version>${zk.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.zkoss.zk</groupId> | |
<artifactId>zhtml</artifactId> | |
<version>${zk.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-io</groupId> | |
<artifactId>commons-io</artifactId> | |
<version>${commons-io}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.zkoss.maven</groupId> | |
<artifactId>zkless-servlet</artifactId> | |
<version>0.9.4</version> | |
</dependency> | |
<!-- ZK 5 breeze theme <dependency> <groupId>org.zkoss.theme</groupId> | |
<artifactId>breeze</artifactId> <version>${zk.version}</version> <optional>true</optional> | |
</dependency> --> | |
</dependencies> | |
<build> | |
<finalName>${project.artifactId}</finalName> | |
<plugins> | |
<!-- Run with Jetty --> | |
<plugin> | |
<groupId>org.mortbay.jetty</groupId> | |
<artifactId>maven-jetty-plugin</artifactId> | |
<version>6.1.10</version> | |
<configuration> | |
<scanIntervalSeconds>5</scanIntervalSeconds> | |
<stopKey>foo</stopKey> | |
<stopPort>9999</stopPort> | |
</configuration> | |
<executions> | |
<execution> | |
<id>start-jetty</id> | |
<phase>pre-integration-test</phase> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
<configuration> | |
<scanIntervalSeconds>0</scanIntervalSeconds> | |
<daemon>true</daemon> | |
</configuration> | |
</execution> | |
<execution> | |
<id>stop-jetty</id> | |
<phase>post-integration-test</phase> | |
<goals> | |
<goal>stop</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<!-- Compile java --> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>1.5</source> | |
<target>1.5</target> | |
</configuration> | |
</plugin> | |
<!-- Build war --> | |
<plugin> | |
<artifactId>maven-war-plugin</artifactId> | |
<groupId>org.apache.maven.plugins</groupId> | |
<version>2.1.1</version> | |
</plugin> | |
<!-- Pack zips --> | |
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<version>2.2</version> | |
<executions> | |
<execution> | |
<id>webapp</id> | |
<phase>package</phase> | |
<goals> | |
<goal>single</goal> | |
</goals> | |
<configuration> | |
<finalName>ZKExampleTheme${packname}</finalName> | |
<appendAssemblyId>false</appendAssemblyId> | |
<descriptors> | |
<descriptor>src/main/assembly/webapp.xml</descriptor> | |
</descriptors> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment