| <?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>openk.pta.de</groupId> |
| <artifactId>elogbook</artifactId> |
| <version>1.1.0_DEVELOP</version> |
| <packaging>war</packaging> |
| |
| <properties> |
| <skip.asciidoc>false</skip.asciidoc> |
| <httpclient.version>4.5.3</httpclient.version> |
| <jersey-bundle.version>1.19.3</jersey-bundle.version> |
| <org.json.version>20160810</org.json.version> |
| <jersey.server.version>1.19.3</jersey.server.version> |
| <gson.version>2.8.0</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> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <servlet-api>2.5</servlet-api> |
| <maven.test.skip>false</maven.test.skip> |
| <jacoco-maven-plugin.version>0.7.9</jacoco-maven-plugin.version> |
| <sonar-maven-plugin.version>3.0.2</sonar-maven-plugin.version> |
| <!--<javax.mail.version>3.0.2</javax.mail.version>--> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>${httpclient.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.bundles</groupId> |
| <artifactId>jaxrs-ri</artifactId> |
| <version>2.22.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <version>3.0.1</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>com.google.collections</groupId> |
| <artifactId>google-collections</artifactId> |
| <version>1.0</version> |
| </dependency> |
| <!-- https://mvnrepository.com/artifact/org.eclipse.persistence/eclipselink --> |
| <dependency> |
| <groupId>org.eclipse.persistence</groupId> |
| <artifactId>eclipselink</artifactId> |
| <version>2.7.7</version> |
| </dependency> |
| <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql --> |
| <dependency> |
| <groupId>org.postgresql</groupId> |
| <artifactId>postgresql</artifactId> |
| <version>42.2.18</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>2.5.4</version> |
| </dependency> |
| <dependency> |
| <groupId>com.auth0</groupId> |
| <artifactId>java-jwt</artifactId> |
| <version>3.2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <version>1.11</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.quartz-scheduler</groupId> |
| <artifactId>quartz</artifactId> |
| <version>2.3.2</version> |
| <!-- <exclusions> |
| <exclusion> |
| <artifactId>c3p0</artifactId> |
| <groupId>c3p0</groupId> |
| </exclusion> |
| </exclusions>--> |
| </dependency> |
| <!-- <dependency>--> |
| <!-- <groupId>javax.mail</groupId>--> |
| <!-- <artifactId>mail</artifactId>--> |
| <!-- <version>${javax.mail.version}</version>--> |
| <!-- </dependency>--> |
| <!-- https://mvnrepository.com/artifact/com.sun.mail/jakarta.mail --> |
| <dependency> |
| <groupId>com.sun.mail</groupId> |
| <artifactId>jakarta.mail</artifactId> |
| <version>2.0.0</version> |
| </dependency> |
| |
| |
| |
| </dependencies> |
| |
| |
| <build> |
| <finalName>${project.artifactId}</finalName> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</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>3.0.2</version> |
| <configuration> |
| <archive> |
| <manifest> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.1</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>2.7</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>1.5.3</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctorj-pdf</artifactId> |
| <version>1.5.0-alpha.11</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jruby</groupId> |
| <artifactId>jruby-complete</artifactId> |
| <version>1.7.21</version> |
| </dependency> |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctorj</artifactId> |
| <version>1.5.4</version> |
| </dependency> |
| <dependency> |
| <groupId>org.asciidoctor</groupId> |
| <artifactId>asciidoctorj-diagram</artifactId> |
| <version>1.5.4.1</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> |
| <!--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/images</imagesDir> |
| <requires> |
| <require>asciidoctor-diagram</require> |
| </requires> |
| <sourceHighlighter>coderay</sourceHighlighter> |
| <backend>pdf</backend> |
| <doctype>book</doctype> |
| <imagesDir>./images</imagesDir> |
| <attributes> |
| <icons>font</icons> |
| <pagenums /> |
| <toc /> |
| <idprefix /> |
| <idseparator>-</idseparator> |
| </attributes> |
| |
| </configuration> |
| </execution--> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| |
| </project> |