| <?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 current 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"> |
| |
| <parent> |
| <groupId>org.apache.tamaya.ext</groupId> |
| <artifactId>tamaya-extensions</artifactId> |
| <version>0.2-incubating-SNAPSHOT</version> |
| <relativePath>..</relativePath> |
| </parent> |
| |
| <packaging>war</packaging> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>tamaya-ui</artifactId> |
| <name>Apache Tamaya Modules - UI</name> |
| |
| <properties> |
| <vaadin.version>7.6.4</vaadin.version> |
| <vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version> |
| <dropwizard.version>0.9.2</dropwizard.version> |
| <mainClass>org.apache.tamaya.ui.VaadinApplication</mainClass> |
| <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <servlet.api.version>3.0.1</servlet.api.version> |
| </properties> |
| |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>com.vaadin</groupId> |
| <artifactId>vaadin-bom</artifactId> |
| <version>${vaadin.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| <!--<dependency>--> |
| <!--<groupId>com.vaadin</groupId>--> |
| <!--<artifactId>vaadin-server</artifactId>--> |
| <!--<version>${vaadin.version}</version>--> |
| <!--</dependency>--> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-core</artifactId> |
| <version>${dropwizard.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-assets</artifactId> |
| <version>${dropwizard.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-testing</artifactId> |
| <version>${dropwizard.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.tamaya</groupId> |
| <artifactId>tamaya-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tamaya</groupId> |
| <artifactId>tamaya-core</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| <!--<dependency>--> |
| <!--<groupId>javax.servlet</groupId>--> |
| <!--<artifactId>javax.servlet-api</artifactId>--> |
| <!--<version>${servlet.api.version}</version>--> |
| <!--</dependency>--> |
| <dependency> |
| <groupId>com.vaadin</groupId> |
| <artifactId>vaadin-server</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.vaadin</groupId> |
| <artifactId>vaadin-push</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.vaadin</groupId> |
| <artifactId>vaadin-client-compiled</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-assets</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-testing</artifactId> |
| </dependency> |
| <!-- |
| Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory). |
| |
| For widgetset compilation, vaadin-client-compiler is automatically added on the |
| compilation classpath by vaadin-maven-plugin so normally there is no need for an |
| explicit dependency. |
| --> |
| <!-- |
| <dependency> |
| <groupId>com.vaadin</groupId> |
| <artifactId>vaadin-client-compiler</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| --> |
| <dependency> |
| <groupId>com.vaadin</groupId> |
| <artifactId>vaadin-themes</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>src/main/webapp/VAADIN/themes/mytheme/addons.scss</exclude> |
| <exclude>src/main/webapp/VAADIN/themes/mytheme/styles.css</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <failOnMissingWebXml>false</failOnMissingWebXml> |
| <!-- Exclude some unnecessary files generated by the GWT compiler. --> |
| <packagingExcludes>WEB-INF/classes/VAADIN/gwt-unitCache/**, |
| WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.vaadin</groupId> |
| <artifactId>vaadin-maven-plugin</artifactId> |
| <version>${vaadin.plugin.version}</version> |
| <configuration> |
| <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs> |
| <webappDirectory>${basedir}/target/classes/VAADIN/widgetsets</webappDirectory> |
| <draftCompile>false</draftCompile> |
| <compileReport>false</compileReport> |
| <style>OBF</style> |
| <strict>true</strict> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>update-theme</goal> |
| <goal>update-widgetset</goal> |
| <goal>compile</goal> |
| <!-- Comment out compile-theme goal to use on-the-fly theme compilation --> |
| <goal>compile-theme</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <!--<version>2.6.1</version>--> |
| <!-- Clean up also any pre-compiled themes --> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>src/main/webapp/VAADIN/themes</directory> |
| <includes> |
| <include>**/styles.css</include> |
| <include>**/styles.scss.cache</include> |
| </includes> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-shade-plugin</artifactId> |
| <configuration> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| <filters> |
| <filter> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.DSA</exclude> |
| <exclude>META-INF/*.RSA</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <mainClass>${mainClass}</mainClass> |
| </transformer> |
| </transformers> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| |
| <repositories> |
| <repository> |
| <id>vaadin-addons</id> |
| <url>http://maven.vaadin.com/vaadin-addons</url> |
| </repository> |
| <repository> |
| <id>vaadin-snapshots</id> |
| <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| |
| </project> |