Commit 445735c5 authored by Steinberg, Jan's avatar Steinberg, Jan

optimize fqs xslt

parent 6324a215
<?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">
<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>
<parent>
<artifactId>spring-boot-starter-parent</artifactId>
<groupId>org.springframework.boot</groupId>
<version>1.5.2.RELEASE</version>
<relativePath/>
<relativePath />
</parent>
<groupId>org.gesis.dda</groupId>
......@@ -84,7 +86,8 @@
<project.testresult.directory>${project.build.directory}/test-results</project.testresult.directory>
<sonar-maven-plugin.version>2.6</sonar-maven-plugin.version>
<jacoco-maven-plugin.version>0.7.4.201502262128</jacoco-maven-plugin.version>
<sonar.exclusions>src/main/webapp/assets/**/*.*, src/main/webapp/bower_components/**/*.*, src/main/webapp/dist/**/*.*</sonar.exclusions>
<sonar.exclusions>src/main/webapp/assets/**/*.*,
src/main/webapp/bower_components/**/*.*, src/main/webapp/dist/**/*.*</sonar.exclusions>
<sonar.java.codeCoveragePlugin>jacoco</sonar.java.codeCoveragePlugin>
<sonar.jacoco.itReportPath>${project.testresult.directory}/coverage/jacoco/jacoco-it.exec</sonar.jacoco.itReportPath>
<sonar.jacoco.reportPath>${project.testresult.directory}/coverage/jacoco/jacoco.exec</sonar.jacoco.reportPath>
......@@ -98,6 +101,28 @@
</properties>
<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api -->
<!-- <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId>
<version>2.3.0-b170201.1204</version> </dependency> -->
<!-- https://mvnrepository.com/artifact/javax.activation/activation -->
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.glassfish.jaxb/jaxb-runtime -->
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.0-b170127.1453</version>
</dependency>
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
......@@ -235,12 +260,8 @@
</exclusions>
</dependency>
<!-- The HikariCP Java Agent is disabled by default, as it is experimental
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP-agent</artifactId>
<version>${HikariCP.version}</version>
</dependency>
-->
<dependency> <groupId>com.zaxxer</groupId> <artifactId>HikariCP-agent</artifactId>
<version>${HikariCP.version}</version> </dependency> -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
......@@ -558,8 +579,8 @@
<resultsFolder>target/gatling/results</resultsFolder>
<bodiesFolder>src/test/gatling/bodies</bodiesFolder>
<simulationsFolder>src/test/gatling/simulations</simulationsFolder>
<!-- This will force Gatling to ask which simulation to run
This is useful when you have multiple simulations -->
<!-- This will force Gatling to ask which simulation to run This is
useful when you have multiple simulations -->
<simulationClass>*</simulationClass>
</configuration>
</plugin>
......@@ -586,11 +607,13 @@
<configuration>
<rules>
<requireMavenVersion>
<message>You are running an older version of Maven. JHipster requires at least Maven 3.0</message>
<message>You are running an older version of Maven. JHipster
requires at least Maven 3.0</message>
<version>[3.0.0,)</version>
</requireMavenVersion>
<requireJavaVersion>
<message>You are running an older version of Java. JHipster requires at least JDK ${java.version}</message>
<message>You are running an older version of Java. JHipster
requires at least JDK ${java.version}</message>
<version>[${java.version}.0,)</version>
</requireJavaVersion>
</rules>
......@@ -625,11 +648,13 @@
<configuration>
<!-- Sets the path to the file which contains the execution data. -->
<destFile>${project.testresult.directory}/coverage/jacoco/jacoco.exec</destFile>
<!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
<!-- Sets the name of the property containing the settings for JaCoCo
runtime agent. -->
<propertyName>surefireArgLine</propertyName>
</configuration>
</execution>
<!-- Ensures that the code coverage report for unit tests is created after unit tests have been run -->
<!-- Ensures that the code coverage report for unit tests is created
after unit tests have been run -->
<execution>
<id>post-unit-test</id>
<phase>test</phase>
......@@ -735,11 +760,9 @@
</plugins>
<pluginManagement>
<plugins>
<!--
This plugin's configuration is used to store Eclipse m2e settings only.
It has no influence on the Maven build itself.
Remove when the m2e plugin can correctly bind to Maven lifecycle
-->
<!-- This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself. Remove when the m2e
plugin can correctly bind to Maven lifecycle -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
......@@ -759,7 +782,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
......@@ -773,7 +796,7 @@
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
......@@ -816,7 +839,8 @@
<id>run-grunt</id>
<phase>generate-resources</phase>
<goals>
<goal>build</goal> <!-- here, "build" as in "bind yeoman-maven-plugin's 'build' goal to the 'generate-resources' phase -->
<goal>build</goal> <!-- here, "build" as in "bind yeoman-maven-plugin's 'build' goal to the
'generate-resources' phase -->
</goals>
<configuration>
<skipTests>true</skipTests>
......@@ -884,7 +908,8 @@
<id>run-frontend-build</id>
<phase>generate-resources</phase>
<goals>
<goal>build</goal> <!-- here, "build" as in "bind yeoman-maven-plugin's 'build' goal to the 'generate-resources' phase -->
<goal>build</goal> <!-- here, "build" as in "bind yeoman-maven-plugin's 'build' goal to the
'generate-resources' phase -->
</goals>
<configuration>
<skipTests>true</skipTests>
......@@ -951,7 +976,8 @@
<id>run-frontend-build</id>
<phase>generate-resources</phase>
<goals>
<goal>build</goal> <!-- here, "build" as in "bind yeoman-maven-plugin's 'build' goal to the 'generate-resources' phase -->
<goal>build</goal> <!-- here, "build" as in "bind yeoman-maven-plugin's 'build' goal to the
'generate-resources' phase -->
</goals>
<configuration>
<skipTests>true</skipTests>
......
......@@ -2310,7 +2310,7 @@ public class XsltTransformerOaiPmhBundlesStreamSourceTest {
String oaiDcXsltString = IOUtils.toString(
getClass().
getClassLoader().
getResourceAsStream("xslt/fqs-oai_dc-2-xmlbundle.xslt"), StandardCharsets.UTF_8);
getResourceAsStream("xslt/fqs-oai_dc-2-xmlbundle_test1.xslt"), StandardCharsets.UTF_8);
map.put("oai_dc", oaiDcXsltString);
XsltTransformerOaiPmhBundlesStreamSource bss = new XsltTransformerOaiPmhBundlesStreamSource("http://www.qualitative-research.net/index.php/fqs/oai/", map);
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment