zenwave-apimock
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.zenwave360</groupId>
<artifactId>zenwave-apimock</artifactId>
<version>0.1.5</version>
</dependency><?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>io.github.zenwave360</groupId>
<artifactId>zenwave-apimock</artifactId>
<version>0.1.5</version>
<packaging>jar</packaging>
<name>${project.groupId}:${project.artifactId}</name>
<description>ApiMock: Test Doubles for REST APIs with KarateDSL and OpenAPI</description>
<url>https://github.com/ZenWave360/apimock</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<karate.version>1.4.1</karate.version>
<armeria.version>1.13.4</armeria.version>
<openapi4j.version>1.0.7</openapi4j.version>
<jackson-dataformat-yaml.version>2.14.2</jackson-dataformat-yaml.version>
</properties>
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>
<developers>
<developer>
<name>Ivan Garcia Sainz-Aja</name>
<email>ivangsa@gmail.com</email>
<organization>ZenWave360</organization>
<organizationUrl>https://github.com/ZenWave360</organizationUrl>
</developer>
</developers>
<distributionManagement>
<repository>
<id>ossrh</id>
<name>Central Repository OSSRH</name>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<name>Central Repository OSSRH</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<scm>
<connection>scm:git:git://github.com/ZenWave360/apimock.git</connection>
<developerConnection>scm:git:git@github.com:ZenWave360/ZenWave360.git</developerConnection>
<url>https://github.com/ZenWave360/apimock</url>
<tag>v0.1.5</tag>
</scm>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<localCheckout>true</localCheckout>
<pushChanges>false</pushChanges>
<mavenExecutorId>forked-path</mavenExecutorId>
<autoVersionSubmodules>true</autoVersionSubmodules>
<tagNameFormat>v@{project.version}</tagNameFormat>
<!-- <arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>-->
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.9.5</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.0</version>
<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>3.3.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<archive>
<manifest>
<mainClass>io.github.apimock.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<configuration>
<excludes>
<exclude>com/intuit/karate/core/**</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<!-- attached to Maven test phase -->
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.simplify4u.plugins</groupId>
<artifactId>sign-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- <plugin>-->
<!-- <groupId>org.openapitools</groupId>-->
<!-- <artifactId>openapi-generator-maven-plugin</artifactId>-->
<!-- <version>5.3.0</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>generate-rest-api</id>-->
<!-- <phase>generate-test-sources</phase>-->
<!-- <goals>-->
<!-- <goal>generate</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <skip>true</skip>-->
<!-- <inputSpec>src/test/resources/petstore/petstore-openapi.yml</inputSpec>-->
<!-- <generatorName>java</generatorName>-->
<!-- <modelNameSuffix>Dto</modelNameSuffix>-->
<!-- <generateApiTests>false</generateApiTests>-->
<!-- <generateModelTests>false</generateModelTests>-->
<!-- <library>resttemplate</library>-->
<!-- <addCompileSourceRoot>false</addCompileSourceRoot>-->
<!-- <addTestCompileSourceRoot>true</addTestCompileSourceRoot>-->
<!-- <configOptions>-->
<!-- <basePackage>io.github.apimock.petstore.client</basePackage>-->
<!-- <modelPackage>io.github.apimock.petstore.client.model</modelPackage>-->
<!-- <apiPackage>io.github.apimock.petstore.client.api</apiPackage>-->
<!-- <configPackage>io.github.apimock.petstore.client.config</configPackage>-->
<!-- <dateLibrary>java8</dateLibrary>-->
<!-- </configOptions>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
</plugins>
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<plugins>
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${jackson-dataformat-yaml.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.intuit.karate</groupId>
<artifactId>karate-core</artifactId>
<version>${karate.version}</version>
</dependency>
<dependency>
<groupId>org.openapi4j</groupId>
<artifactId>openapi-operation-validator</artifactId>
<version>${openapi4j.version}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.linecorp.armeria</groupId>-->
<!-- <artifactId>armeria</artifactId>-->
<!-- <version>${armeria.version}</version>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>2.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>5.2.18.RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.2.18.RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.6.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>fatjar</id>
<build>
<finalName>${project.artifactId}</finalName>
<resources>
<resource>
<directory>src/main/java</directory>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
<exclude>com.intuit.karate:*</exclude>
<exclude>com.linecorp.armeria</exclude>
<exclude>org.graalvm.js:*</exclude>
<exclude>org.graalvm.sdk:graal-sdk</exclude>
<exclude>org.graalvm.js</exclude>
<exclude>org.graalvm.regex:regex</exclude>
<exclude>org.graalvm.truffle:truffle-api</exclude>
<exclude>com.ibm.icu:icu4j</exclude>
<exclude>ch.qos.logback</exclude>
<exclude>org.slf4j:*</exclude>
<exclude>com.jayway.jsonpath:json-path</exclude>
<exclude>net.minidev:*</exclude>
<exclude>org.ow2.asm:asm</exclude>
<exclude>info.cukes:*</exclude>
<exclude>org.yaml:snakeyaml</exclude>
<exclude>de.siegmar:fastcsv</exclude>
<exclude>info.picocli:picocli</exclude>
<exclude>org.thymeleaf:*</exclude>
<exclude>ognl:*</exclude>
<exclude>org.javassist:*</exclude>
<exclude>org.attoparser:*</exclude>
<exclude>org.unbescape:*</exclude>
<exclude>io.github.classgraph:*</exclude>
<exclude>org.apache.httpcomponents:*</exclude>
<exclude>org.antlr:*</exclude>
<exclude>commons-codec:*</exclude>
</excludes>
</artifactSet>
<relocations>
<relocation>
<pattern>org.openapi4j.</pattern>
<shadedPattern>apimock.org.openapi4j</shadedPattern>
</relocation>
<relocation>
<pattern>com.fasterxml.jackson.</pattern>
<shadedPattern>apimock.com.fasterxml.jackson.</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>io.github.apimock.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>