| <?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/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <prerequisites> |
| <maven>3.0.0</maven> |
| </prerequisites> |
| |
| <groupId>org.eclipse.openk</groupId> |
| <artifactId>mics-central-service</artifactId> |
| <version>0.1.3-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| |
| <name>mics-central-service</name> |
| |
| <properties> |
| <java-source-target-version>1.8</java-source-target-version> |
| <maven.test.skip>false</maven.test.skip> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <mainClass>org.eclipse.openk.MicsCentralApplication</mainClass> |
| |
| <dropwizard.version>1.3.1</dropwizard.version> |
| <easymock.version>3.4</easymock.version> |
| <powermock-api-easymock.version>1.6.6</powermock-api-easymock.version> |
| <jacoco-maven-plugin.version>0.7.9</jacoco-maven-plugin.version> |
| <sonar-maven-plugin.version>3.2</sonar-maven-plugin.version> |
| <commons-io.version>2.5</commons-io.version> |
| <gson.version>2.8.1</gson.version> |
| <httpclient.version>4.5.3</httpclient.version> |
| <swagger-maven-plugin-version>3.1.6</swagger-maven-plugin-version> |
| <swagger-core-version>1.5.17</swagger-core-version> |
| <swagger-annotations-version>1.5.13</swagger-annotations-version> |
| <swagger-jersey2-jaxrs>1.5.10</swagger-jersey2-jaxrs> |
| <maven-shade-plugin.version>2.4.1</maven-shade-plugin.version> |
| <maven-jar-plugin-version>2.6</maven-jar-plugin-version> |
| <maven-compiler-plugin-version>3.6.1</maven-compiler-plugin-version> |
| <maven-source-plugin-version>2.4</maven-source-plugin-version> |
| <maven-javadoc-plugin-version>2.10.3</maven-javadoc-plugin-version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-bom</artifactId> |
| <version>${dropwizard.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>${commons-io.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>${gson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>${httpclient.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <version>${easymock.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <version>${powermock-api-easymock.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-easymock</artifactId> |
| <version>${powermock-api-easymock.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco-maven-plugin.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.swagger</groupId> |
| <artifactId>swagger-jersey2-jaxrs</artifactId> |
| <version>${swagger-jersey2-jaxrs}</version> |
| <scope>compile</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>annotations</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <finalName>${project.artifactId}</finalName> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>${maven-shade-plugin.version}</version> |
| <configuration> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <mainClass>${mainClass}</mainClass> |
| </transformer> |
| </transformers> |
| <!-- exclude signed Manifests --> |
| <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> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>${maven-jar-plugin-version}</version> |
| <configuration> |
| <archive> |
| <manifest> |
| <addClasspath>true</addClasspath> |
| <mainClass>${mainClass}</mainClass> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven-compiler-plugin-version}</version> |
| <configuration> |
| <source>${java-source-target-version}</source> |
| <target>${java-source-target-version}</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>${maven-source-plugin-version}</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${maven-javadoc-plugin-version}</version> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>sonar-maven-plugin</artifactId> |
| <version>${sonar-maven-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco-maven-plugin.version}</version> |
| <configuration> |
| <skip>${maven.test.skip}</skip> |
| <output>file</output> |
| <append>true</append> |
| <excludes> |
| <exclude>**/Globals.*</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <id>jacoco-initialize</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>jacoco-site</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.github.kongchen</groupId> |
| <artifactId>swagger-maven-plugin</artifactId> |
| <version>${swagger-maven-plugin-version}</version> |
| <configuration> |
| <skipSwaggerGeneration>false</skipSwaggerGeneration> |
| <apiSources> |
| <apiSource> |
| <springmvc>false</springmvc> |
| <locations> |
| <location>org.eclipse.openk</location> |
| </locations> |
| <schemes> |
| <shema>http</shema> |
| </schemes> |
| <host>localhost:9010</host> |
| <basePath>/mics/central</basePath> |
| <info> |
| <title>micsCentralService@openK - Backend REST-Service documentation</title> |
| <version>v1</version> |
| <description>This documentation contains the description of all used REST services.</description> |
| <termsOfService> |
| . |
| </termsOfService> |
| <contact> |
| <email>nn@pta.de</email> |
| <name></name> |
| </contact> |
| <license> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> |
| <name>Apache 2.0</name> |
| </license> |
| </info> |
| <outputFormats>yaml</outputFormats> |
| <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath> |
| <outputPath>target/generated-docs/swaggerInterfaceDocumentation.html</outputPath> |
| <swaggerDirectory>target/generated-docs</swaggerDirectory> |
| <securityDefinitions> |
| <securityDefinition> |
| <json>/securityDefinitions.json</json> |
| </securityDefinition> |
| </securityDefinitions> |
| </apiSource> |
| </apiSources> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>compile</phase> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| |
| </project> |