Strabon

view endpoint-exec/pom.xml @ 1424:c8cc4daeeafa

corrected tests that were expecting a WKT in 4326 to contain also the URI of the CRS; we do not include this anymore, if the CRS is the default for that datatype
author Babis Nikolaou <charnik@di.uoa.gr>
date Tue Sep 23 14:36:26 2014 +0300 (2014-09-23)
parents e453684f594f
children 5b6b65340693 3a20ea696d0e
line source
1 <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">
3 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>eu.earthobservatory</groupId>
7 <artifactId>strabon</artifactId>
8 <version>3.2.11-SNAPSHOT</version>
9 </parent>
11 <artifactId>strabon-endpoint-exec</artifactId>
13 <name>Strabon: Executable endpoint</name>
14 <description>A Strabon endpoint packaged with Tomcat 7 as a single executable jar file</description>
15 <packaging>pom</packaging>
17 <dependencies>
18 <dependency>
19 <groupId>eu.earthobservatory</groupId>
20 <artifactId>strabon-endpoint</artifactId>
21 <version>${eu.earthobservatory.version}</version>
22 <type>war</type>
23 <scope>compile</scope>
24 </dependency>
25 </dependencies>
27 <build>
28 <plugins>
29 <plugin>
30 <groupId>org.apache.tomcat.maven</groupId>
31 <artifactId>tomcat7-maven-plugin</artifactId>
32 <version>2.0</version>
33 <executions>
34 <execution>
35 <id>tomcat-run</id>
36 <goals>
37 <goal>exec-war-only</goal>
38 </goals>
39 <phase>package</phase>
40 <configuration>
41 <path>/</path>
42 <uriEncoding>UTF-8</uriEncoding>
43 <finalName>strabon-endpoint-executable-${project.version}.jar</finalName>
44 <!-- Override the default server.xml if nessecary
45 <serverXml>src/main/tomcatconf/server.xml</serverXml>
46 -->
47 <!--
48 <extraResources>
49 <extraResource>
50 <directory>${basedir}/src/main/resources</directory>
51 <includes>
52 <include>**/log4j.xml</include>
53 </includes>
54 </extraResource>
55 </extraResources>
56 -->
57 <warRunDependencies>
58 <warRunDependency>
59 <dependency>
60 <groupId>eu.earthobservatory</groupId>
61 <artifactId>strabon-endpoint</artifactId>
62 <version>${eu.earthobservatory.version}</version>
63 <type>war</type>
64 </dependency>
65 <contextPath>/</contextPath>
66 </warRunDependency>
67 </warRunDependencies>
68 <!--
69 <extraDependencies>
70 <extraDependency>
71 <groupId>org.slf4j</groupId>
72 <artifactId>jul-to-slf4j</artifactId>
73 <version>${slf4jVersion}</version>
74 </extraDependency>
75 <extraDependency>
76 <groupId>org.slf4j</groupId>
77 <artifactId>slf4j-api</artifactId>
78 <version>${slf4jVersion}</version>
79 </extraDependency>
80 <extraDependency>
81 <groupId>org.slf4j</groupId>
82 <artifactId>slf4j-log4j12</artifactId>
83 <version>${slf4jVersion}</version>
84 </extraDependency>
85 <extraDependency>
86 <groupId>log4j</groupId>
87 <artifactId>log4j</artifactId>
88 <version>1.2.12</version>
89 </extraDependency>
90 </extraDependencies>
91 -->
92 </configuration>
93 </execution>
94 </executions>
95 </plugin>
96 <plugin>
97 <artifactId>jdeb</artifactId>
98 <groupId>org.vafer</groupId>
99 <version>1.3</version>
100 <executions>
101 <execution>
102 <phase>package</phase>
103 <goals>
104 <goal>jdeb</goal>
105 </goals>
106 <configuration>
107 <skipPOMs>false</skipPOMs>
108 <dataSet>
109 <data>
110 <src>${project.build.directory}/strabon-endpoint-executable-${project.version}.jar</src>
111 <type>file</type>
112 <mapper>
113 <type>perm</type>
114 <prefix>/usr/share/jdeb/lib</prefix>
115 </mapper>
116 </data>
117 <data>
118 <src>${basedir}/strabon-endpoint</src>
119 <type>file</type>
120 <mapper>
121 <type>perm</type>
122 <prefix>/usr/local/bin</prefix>
123 <user>root</user>
124 <group>root</group>
125 <filemode>755</filemode>
126 </mapper>
127 </data>
128 </dataSet>
129 </configuration>
130 </execution>
131 </executions>
132 </plugin>
135 </plugins>
136 </build>
137 </project>