From 009a415aa767ffc5dbc45d0b14ef78d0ec3901cf Mon Sep 17 00:00:00 2001
From: Thorsten Vitt <thorsten.vitt@uni-wuerzburg.de>
Date: Mon, 27 May 2013 11:38:36 +0000
Subject: [PATCH] Switched TEI downloading to maven-copy-plugin

git-svn-id: https://develop.sub.uni-goettingen.de/repos/textgrid/trunk/services/aggregator@14085 7c539038-3410-0410-b1ec-0f2a7bf1c452
---
 pom.xml | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index c12a394..85ccf88 100644
--- a/pom.xml
+++ b/pom.xml
@@ -315,6 +315,30 @@
 			      	   target WAR 
 			       -->
                         <plugin>
+                                <groupId>com.github.goldin</groupId>
+                                <artifactId>copy-maven-plugin</artifactId>
+                                <version>0.2.5</version>
+                                <executions>
+                                        <execution>
+                                                <id>download-tei-xsl</id>
+                                                <phase>generate-resources</phase>
+                                                <goals>
+                                                        <goal>copy</goal>
+                                                </goals>
+                                                <configuration>
+                                                        <resources>
+                                                                <resource>
+                                                                        <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>
+                                                                </resource>
+                                                        </resources>
+                                                </configuration>
+                                        </execution>
+                                </executions>
+                        </plugin>
+			       
+                        <!--plugin>
                                 <groupId>org.codehaus.mojo</groupId>
                                 <artifactId>wagon-maven-plugin</artifactId>
                                 <version>1.0-beta-4</version>
@@ -357,7 +381,7 @@
                                                 </includes>
                                         </fileset>
                                 </configuration>
-                        </plugin>
+                        </plugin-->
 
                         <plugin>
                                 <groupId>org.apache.maven.plugins</groupId>
-- 
GitLab