Skip to content
Snippets Groups Projects
Commit 25ef713f authored by Thorsten Vitt's avatar Thorsten Vitt
Browse files

Fixed copy plugin configuration and paths

parent 009a415a
No related branches found
No related tags found
No related merge requests found
......@@ -331,6 +331,10 @@
<file>http://downloads.sourceforge.net/project/tei/Stylesheets/tei-xsl-${tei-xsl-version}.zip</file>
<targetPath>${project.build.directory}/${project.artifactId}-${project.version}/WEB-INF</targetPath>
<unpack>true</unpack>
<preservePath>true</preservePath>
<zipEntry>xml/**/*</zipEntry>
<skipIdentical>true</skipIdentical>
</resource>
</resources>
</configuration>
......@@ -338,51 +342,6 @@
</executions>
</plugin>
<!--plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<version>1.0-beta-4</version>
<executions>
<execution>
<id>download-tei-stylesheets</id>
<goals>
<goal>download-single</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<url>http://downloads.sourceforge.net/project/tei/Stylesheets/</url>
<fromFile>tei-xsl-${tei-xsl-version}.zip</fromFile>
<toDir>${project.build.directory}</toDir>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>truezip-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>extract-tei-stylesheets</id>
<goals>
<goal>copy</goal>
</goals>
<phase>generate-resources</phase>
</execution>
</executions>
<configuration>
<fileset>
<directory>${project.build.directory}/tei-xsl-${tei-xsl-version}.zip/xml</directory>
<outputDirectory>${project.build.directory}/${project.artifactId}-${project.version}/WEB-INF</outputDirectory>
<includes>
<include>**/*</include>
</includes>
</fileset>
</configuration>
</plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
......
......@@ -53,7 +53,7 @@
"this service is deployed.")
public class PDF {
private static final String TO_PDF_XSL = "/WEB-INF/tei/stylesheet/latex2/tei.xsl";
private static final String TO_PDF_XSL = "/WEB-INF/xml/tei/stylesheet/latex2/tei.xsl";
final Logger logger = Logger
.getLogger("info.textgrid.services.aggregator.pdf");
......
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tgs="http://www.textgrid.info/namespaces/middleware/tgsearch" exclude-result-prefixes="xs tei tgs xi" xpath-default-namespace="http://www.tei-c.org/ns/1.0" version="2.0">
<xsl:import href="../tei/stylesheet/xhtml2/tei.xsl"/>
<xsl:import href="../xml/tei/stylesheet/xhtml2/tei.xsl"/>
<!-- <xsl:import href="/db/xslt/tei/xhtml2/tei.xsl"/> -->
......@@ -535,4 +535,4 @@
allgemeinfreien Texte (Siehe auch Punkt 2 der Lizenzbestimmungen).
</p>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
</xsl:stylesheet>
......@@ -14,7 +14,7 @@
version="2.0"
exclude-result-prefixes="iso tei teix dc html opf ncx smil xs html">
<xsl:import href="../tei/stylesheet/epub/tei-to-epub.xsl"/>
<xsl:import href="../xml/tei/stylesheet/epub/tei-to-epub.xsl"/>
<!-- ************************* Variablen und Parameter ******************************* -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment