| <?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>org.eclipse.openk</groupId> |
| <artifactId>mics-home-service</artifactId> |
| <version>1.0.1</version> |
| <packaging>war</packaging> |
| |
| <properties> |
| <gson.version>2.8.5</gson.version> |
| <log4j.version>1.2.17</log4j.version> |
| <commons-io.version>2.5</commons-io.version> |
| <junit.version>4.12</junit.version> |
| <easymock.version>3.4</easymock.version> |
| <powermock-api-easymock.version>1.6.6</powermock-api-easymock.version> |
| <powermock-module-junit4.version>1.7.3</powermock-module-junit4.version> |
| <servlet-api>3.1.0</servlet-api> |
| <jacoco-maven-plugin.version>0.7.9</jacoco-maven-plugin.version> |
| <sonar-maven-plugin.version>3.0.2</sonar-maven-plugin.version> |
| <swagger-maven-plugin-version>3.1.6</swagger-maven-plugin-version> |
| <swagger-jersey2-jaxrs>1.5.12</swagger-jersey2-jaxrs> |
| <httpclient-version>4.5.5</httpclient-version> |
| <jaxrs-ri-version>2.22.1</jaxrs-ri-version> |
| <jackson-annotations-version>2.5.4</jackson-annotations-version> |
| <maven-compiler-plugin-version>3.1</maven-compiler-plugin-version> |
| <maven-jar-plugin-version>3.0.2</maven-jar-plugin-version> |
| <maven-war-plugin-version>2.1</maven-war-plugin-version> |
| <maven-project-info-reports-plugin-version>2.7</maven-project-info-reports-plugin-version> |
| <asciidoctor-maven-plugin-version>1.5.3</asciidoctor-maven-plugin-version> |
| <asciidoctorj-pdf-version>1.5.0-alpha.11</asciidoctorj-pdf-version> |
| <jruby-complete-version>1.7.21</jruby-complete-version> |
| <asciidoctorj-version>1.5.4</asciidoctorj-version> |
| <asciidoctorj-diagram-version>1.5.4.1</asciidoctorj-diagram-version> |
| |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <maven.test.skip>false</maven.test.skip> |
| <skip.asciidoc>false</skip.asciidoc> |
| </properties> |
| <dependencies> |
| |
| |
| <dependency> |
| <groupId>org.glassfish.jersey.bundles</groupId> |
| <artifactId>jaxrs-ri</artifactId> |
| <version>${jaxrs-ri-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>${httpclient-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <version>${servlet-api}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>${gson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>${log4j.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.sun.jmx</groupId> |
| <artifactId>jmxri</artifactId> |
| </exclusion> |
| |
| <exclusion> |
| <groupId>com.sun.jdmk</groupId> |
| <artifactId>jmxtools</artifactId> |
| </exclusion> |
| |
| <exclusion> |
| <groupId>javax.jms</groupId> |
| <artifactId>jms</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>${commons-io.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <version>${easymock.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-easymock</artifactId> |
| <version>${powermock-api-easymock.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <version>${powermock-module-junit4.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>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| <version>${jackson-annotations-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> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven-compiler-plugin-version}</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>${maven-jar-plugin-version}</version> |
| <configuration> |
| <archive> |
| <manifest> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>${maven-war-plugin-version}</version> |
| <configuration> |
| <archive> |
| <manifest> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>${maven-project-info-reports-plugin-version}</version> |
| </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> |
| <exclude>**/dao/**/*Dao*.java</exclude> |
| <exclude>**/controller/BackendController.java</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>org.asciidoctor</groupId> |
| <artifactId>asciidoctor-maven-plugin</artifactId> |
| <version>${asciidoctor-maven-plugin-version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctorj-pdf</artifactId> |
| <version>${asciidoctorj-pdf-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jruby</groupId> |
| <artifactId>jruby-complete</artifactId> |
| <version>${jruby-complete-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctorj</artifactId> |
| <version>${asciidoctorj-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctorj-diagram</artifactId> |
| <version>${asciidoctorj-diagram-version}</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <sourceDirectory>src/main/asciidoc</sourceDirectory> |
| <requires> |
| <require>asciidoctor-diagram</require> |
| </requires> |
| <attributes> |
| <imagesoutdir>${project.build.directory}/generated-docs/images</imagesoutdir> |
| <imagesDir>${project.build.directory}/generated-docs/images</imagesDir> |
| </attributes> |
| </configuration> |
| <executions> |
| <execution> |
| <id>output-html</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <skip>${skip.asciidoc}</skip> |
| <imagesDir>${project.build.directory}/generated-docs/images</imagesDir> |
| <requires> |
| <require>asciidoctor-diagram</require> |
| </requires> |
| <sourceHighlighter>coderay</sourceHighlighter> |
| <backend>html</backend> |
| <doctype>book</doctype> |
| <imagesDir>./images</imagesDir> |
| </configuration> |
| </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.mics.home</location> |
| </locations> |
| <schemes> |
| <shema>http</shema> |
| </schemes> |
| <host>localhost:8080</host> |
| <basePath>/mics/home</basePath> |
| <info> |
| <title>micsHomeService@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> |