| <?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-ui-parent</artifactId> |
| <version>0.4-incubating-SNAPSHOT</version> |
| <relativePath>..</relativePath> |
| </parent> |
| |
| <packaging>jar</packaging> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>tamaya-ui-base_alpha</artifactId> |
| <name>Apache Tamaya Modules - UI (Base)</name> |
| |
| <properties> |
| <mainClass>org.apache.tamaya.ui.VadiinApp</mainClass> |
| </properties> |
| |
| <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> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>2.4.1</version> |
| <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>https://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> |
| <repository> |
| <id>vaadin-prereleases</id> |
| <name>Vaadin Pre-releases</name> |
| <url>https://maven.vaadin.com/vaadin-prereleases</url> |
| </repository> |
| </repositories> |
| |
| </project> |