| <?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>planned-grid-measures</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| |
| <name>planned-grid-measures</name> |
| |
| <properties> |
| <java-source-target-version>1.8</java-source-target-version> |
| |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <maven.test.skip>false</maven.test.skip> |
| <mainClass>org.eclipse.openk.PlannedGridMeasuresApplication</mainClass> |
| <skip.asciidoc>false</skip.asciidoc> |
| |
| <dropwizard.version>1.3.1</dropwizard.version> |
| <httpclient.version>4.5.3</httpclient.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> |
| <jacoco-maven-plugin.version>0.7.9</jacoco-maven-plugin.version> |
| <sonar-maven-plugin.version>3.2</sonar-maven-plugin.version> |
| <flyway-maven-plugin-version>4.2.0</flyway-maven-plugin-version> |
| <maven-compiler-plugin-version>3.6.1</maven-compiler-plugin-version> |
| <maven-jar-plugin-version>2.6</maven-jar-plugin-version> |
| <maven-project-info-reports-plugin-version>3.0.0</maven-project-info-reports-plugin-version> |
| <maven-shade-plugin.version>2.4.1</maven-shade-plugin.version> |
| <maven-javadoc-plugin-version>2.10.3</maven-javadoc-plugin-version> |
| <maven-source-plugin-version>2.4</maven-source-plugin-version> |
| <swagger-jersey2-jaxrs>1.5.12</swagger-jersey2-jaxrs> |
| <swagger-maven-plugin-version>3.1.6</swagger-maven-plugin-version> |
| <java-jwt-version>3.2.0</java-jwt-version> |
| <gson-version>2.8.5</gson-version> |
| <commons-codec-version>1.11</commons-codec-version> |
| <eclipselink-version>2.6.4</eclipselink-version> |
| <postgresql-version>9.1-901-1.jdbc4</postgresql-version> |
| <asciidoctor-maven-plugin-version>1.5.3</asciidoctor-maven-plugin-version> |
| <asciidoctorj-pdf-version>1.5.0-alpha.11</asciidoctorj-pdf-version> |
| <asciidoctorj-version>1.5.4</asciidoctorj-version> |
| <asciidoctorj-diagram-versions>1.5.4.1</asciidoctorj-diagram-versions> |
| <jruby-complete-version>1.7.21</jruby-complete-version> |
| <javax.mail.version>1.4.3</javax.mail.version> |
| <greenmail.version>1.5.7</greenmail.version> |
| <rabbitmq.version>5.2.0</rabbitmq.version> |
| |
| <database.url>jdbc:postgresql://172.18.22.160:5432/PlannedGridMeasuresDev</database.url> |
| <database.user>postgres</database.user> |
| <database.password>admin</database.password> |
| |
| </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> |
| <!-- https://mvnrepository.com/artifact/javax.ws.rs/javax.ws.rs-api --> |
| <dependency> |
| <groupId>javax.ws.rs</groupId> |
| <artifactId>javax.ws.rs-api</artifactId> |
| <version>2.1</version> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>${httpclient.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>${gson-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>${commons-io.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.persistence</groupId> |
| <artifactId>eclipselink</artifactId> |
| <version>${eclipselink-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>postgresql</groupId> |
| <artifactId>postgresql</artifactId> |
| <version>${postgresql-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.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco-maven-plugin.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-beanutils</groupId> |
| <artifactId>commons-beanutils</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.auth0</groupId> |
| <artifactId>java-jwt</artifactId> |
| <version>${java-jwt-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> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <version>${commons-codec-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.mail</groupId> |
| <artifactId>mail</artifactId> |
| <version>${javax.mail.version}</version> |
| </dependency> |
| <!-- https://mvnrepository.com/artifact/com.icegreen/greenmail --> |
| <dependency> |
| <groupId>com.icegreen</groupId> |
| <artifactId>greenmail</artifactId> |
| <version>${greenmail.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- https://mvnrepository.com/artifact/com.rabbitmq/amqp-client --> |
| <dependency> |
| <groupId>com.rabbitmq</groupId> |
| <artifactId>amqp-client</artifactId> |
| <version>${rabbitmq.version}</version> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <finalName>${project.artifactId}</finalName> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.flywaydb</groupId> |
| <artifactId>flyway-maven-plugin</artifactId> |
| <version>${flyway-maven-plugin-version}</version> |
| <configuration> |
| <sqlMigrationSeparator>__</sqlMigrationSeparator> |
| <locations> |
| <location>filesystem:db/migrations/</location> |
| </locations> |
| <url>${database.url}</url> |
| <user>${database.user}</user> |
| <password>${database.password}</password> |
| <schemas> |
| <schema>public</schema> |
| </schemas> |
| |
| </configuration> |
| </plugin> |
| <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.sonarsource.scanner.maven</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>org.asciidoctor</groupId> |
| <artifactId>asciidoctor-maven-plugin</artifactId> |
| <version>${asciidoctor-maven-plugin-version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.jruby</groupId> |
| <artifactId>jruby-complete</artifactId> |
| <version>${jruby-complete-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctorj-pdf</artifactId> |
| <version>${asciidoctorj-pdf-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-versions}</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <sourceDirectory>src/main/asciidoc</sourceDirectory> |
| <requires> |
| <require>asciidoctor-diagram</require> |
| </requires> |
| <attributes> |
| <imagesoutdir>${project.build.directory}/generated-docs/img</imagesoutdir> |
| <imagesDir>${project.build.directory}/generated-docs/img</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>./img</imagesDir> |
| <requires> |
| <require>asciidoctor-diagram</require> |
| </requires> |
| <sourceHighlighter>coderay</sourceHighlighter> |
| <backend>html</backend> |
| <doctype>book</doctype> |
| </configuration> |
| </execution> |
| <execution> |
| <id>output-pdf</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>process-asciidoc</goal> |
| </goals> |
| <configuration> |
| <skip>${skip.asciidoc}</skip> |
| <imagesDir>${project.build.directory}/generated-docs/img</imagesDir> |
| <requires> |
| <require>asciidoctor-diagram</require> |
| </requires> |
| <sourceHighlighter>coderay</sourceHighlighter> |
| <backend>pdf</backend> |
| <doctype>book</doctype> |
| <attributes> |
| <icons>font</icons> |
| <pagenums /> |
| <toc /> |
| <idprefix /> |
| <idseparator>-</idseparator> |
| </attributes> |
| </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</location> |
| </locations> |
| <schemes> |
| <shema>http</shema> |
| </schemes> |
| <host>localhost:9050</host> |
| <basePath>/mics/gridMeasures</basePath> |
| <info> |
| <title>plannedGridMeasures@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> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>${maven-project-info-reports-plugin-version}</version> |
| <configuration> |
| <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| <dependencyDetailsEnabled>false</dependencyDetailsEnabled> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${maven-javadoc-plugin-version}</version> |
| </plugin> |
| </plugins> |
| </reporting> |
| </project> |