jadb/pom.xml

222 lines
8.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<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>se.vidstige</groupId>
<artifactId>jadb</artifactId>
2021-03-05 16:40:24 +01:00
<version>1.2.1-SNAPSHOT</version>
<url>https://github.com/vidstige/jadb</url>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<id>vidstige</id>
<name>Samuel Carlsson</name>
<email>samuel.carlsson@gmai.com</email>
<url>https://github.com/vidstige</url>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.7</maven.compiler.source>
<mockito-core.version>2.7.17</mockito-core.version>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
2017-03-17 17:48:13 +01:00
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
2017-03-17 17:48:13 +01:00
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito-core.version}</version>
2017-03-17 17:48:13 +01:00
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
<plugins>
2016-09-30 16:25:27 +02:00
<!-- Version plugin is a plugin which can:
* Create report about all new versions for both code dependencies and maven plugins themselves
* Update them automatically (mvn versions:use-latest-versions and so on)
Usage - most commonly used patterns:
* `mvn versions:help` - will show all available tasks for this plugin with short description
* `mvn versions:dependency-updates-report` produces a report of those project dependencies which have newer versions available.
Will be in 'target\site' folder
* `mvn versions:plugin-updates-report` produces a report of those plugins which have newer versions available.
Will be in 'target\site' folder
* `mvn versions:use-latest-versions` searches the pom for all versions which have been a newer version and replaces them with the latest version.
For more info see official [documentation](http://www.mojohaus.org/versions-maven-plugin/)
-->
<plugin>
2016-09-28 15:45:50 +02:00
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2016-09-28 15:45:50 +02:00
<version>3.5.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
2016-09-28 15:45:50 +02:00
<version>3.0.1</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
2016-07-29 18:57:56 +02:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
2016-09-28 15:45:50 +02:00
<version>2.5.3</version>
<configuration>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<autoVersionSubmodules>true</autoVersionSubmodules>
<goals>deploy</goals>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.8.1</version>
</dependency>
</dependencies>
</plugin>
2017-10-22 19:30:48 +02:00
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.7.201606060606</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
2016-07-29 18:57:56 +02:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<includes>
<include>**/*.java</include>
</includes>
<excludes>
<!--Exclude integration tests -->
<exclude>se.vidstige.jadb.test.integration.*</exclude>
<!--Mocks and data-->
<exclude>**/data/*</exclude>
<exclude>**/fakes/*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
2016-07-29 18:57:56 +02:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<includes>
<include>**/*.java</include>
</includes>
<excludes>
<!--Include only integration tests -->
<include>se.vidstige.jadb.test.integration.*</include>
<!--Mocks and data-->
<exclude>**/data/*</exclude>
<exclude>**/fakes/*</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<scm>
<url>scm:git:git@github.com:vidstige/jadb.git</url>
<connection>scm:git:git@github.com:vidstige/jadb.git</connection>
<developerConnection>scm:git:git@github.com:vidstige/jadb.git</developerConnection>
<tag>HEAD</tag>
</scm>
2021-03-05 16:40:24 +01:00
</project>