sample-site
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.cognifide.aet</groupId>
<artifactId>sample-site</artifactId>
<version>3.1.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
AET
Copyright (C) 2013 Cognifide Limited
Licensed 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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>aet-root</artifactId>
<groupId>com.cognifide.aet</groupId>
<version>3.1.0</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>sample-site</artifactId>
<packaging>war</packaging>
<name>AET :: Integration Tests :: Sample Site</name>
<description>Web application with content necessary for AET integration (sanity) tests</description>
<properties>
<jetty.port>8083</jetty.port>
<cargo.version>1.4.10</cargo.version>
<finalName.extension>war</finalName.extension>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
<!-- provided by servlet container -->
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<!--
for using this plugin please switch to Eclipse Jetty implementation in web.xml file
configuration within pluginManagement section only
because this plugin has no execution specified
(it is run on-demand from command-line)
-->
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<scanIntervalSeconds>1</scanIntervalSeconds>
<stopPort>8000</stopPort>
<stopKey>STOP</stopKey>
<webApp>
<contextPath>/sample-site</contextPath>
</webApp>
<httpConnector>
<port>${jetty.port}</port>
</httpConnector>
<loginServices>
<loginService implementation="org.eclipse.jetty.security.HashLoginService">
<name>AET Private Stuff</name>
<config>${basedir}/src/main/resources/jetty-users.properties</config>
</loginService>
</loginServices>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<excludes>
<exclude>src/main/webapp/assets/demo_files/accessibility/bootstrap.css</exclude>
<exclude>src/main/webapp/assets/demo_files/bootstrap.css</exclude>
<exclude>src/main/webapp/assets/demo_files/bootstrap.min.js</exclude>
<exclude>src/main/webapp/assets/demo_files/bootswatch.min.css</exclude>
<exclude>src/main/webapp/assets/demo_files/combined.js</exclude>
<exclude>src/main/webapp/assets/demo_files/ie10-viewport-bug-workaround.js</exclude>
<exclude>src/main/webapp/assets/demo_files/jquery.min.js</exclude>
<exclude>src/main/webapp/assets/snippets/change-bg-snippet.js</exclude>
<exclude>src/main/webapp/assets/secured/change-bg-snippet.js</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>upload</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>truezip-maven-plugin</artifactId>
<executions>
<execution>
<id>repackage-sample-site</id>
<phase>install</phase>
<goals>
<goal>cp</goal>
</goals>
<configuration>
<from>
${project.build.directory}/${project.groupId}.sample-site-${project.version}.${finalName.extension}
</from>
<to>${project.build.directory}/${project.artifactId}.${finalName.extension}</to>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<executions>
<!-- skip execution from parent as this module has different artifact built -->
<execution>
<id>upload-single-bundle-to-karaf</id>
<phase>none</phase>
</execution>
<execution>
<id>upload-sample-site</id>
<phase>install</phase>
<goals>
<goal>upload-single</goal>
</goals>
<configuration>
<fromFile>
${project.build.directory}/${project.artifactId}.${finalName.extension}
</fromFile>
<!--
please configure credentials for ${target.tomcat.serverId}
in your settings.xml file
and check file and folders permissions
-->
<serverId>${target.tomcat.serverId}</serverId>
<url>${target.tomcat.url}</url>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>