strolch/test-performance/pom.xml

140 lines
4.1 KiB
XML

<?xml version="1.0"?>
<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>
<groupId>li.strolch</groupId>
<artifactId>strolch</artifactId>
<version>2.3.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>test-performance</artifactId>
<name>strolch-test-performance</name>
<description>Strolch project for running performance tests</description>
<inceptionYear>2015</inceptionYear>
<distributionManagement>
<site>
<id>localhost</id>
<url>file://${project.basedir}/../target/${project.artifactId}</url>
</site>
</distributionManagement>
<properties>
<perfTestDisabled>true</perfTestDisabled>
</properties>
<dependencies>
<!-- Base -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>li.strolch</groupId>
<artifactId>model</artifactId>
</dependency>
<dependency>
<groupId>li.strolch</groupId>
<artifactId>agent</artifactId>
</dependency>
<dependency>
<groupId>li.strolch</groupId>
<artifactId>service</artifactId>
</dependency>
<!-- underlying DB -->
<dependency>
<groupId>li.strolch</groupId>
<artifactId>persistence-postgresql</artifactId>
</dependency>
<dependency>
<groupId>li.strolch</groupId>
<artifactId>persistence-xml</artifactId>
</dependency>
<!-- test -->
<dependency>
<groupId>li.strolch</groupId>
<artifactId>test-base</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/*.properties</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>${perfTestDisabled}</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>performanceTest</id>
<properties>
<perfTestDisabled>false</perfTestDisabled>
</properties>
</profile>
</profiles>
</project>