Strabon

view endpoint-exec/pom.xml @ 1056:e2b76cad5b7c

Cleaned up the poms in order to produce (consistently!) a successful build even with an empty local maven repository.
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Sat Apr 20 12:12:38 2013 +0300 (2013-04-20)
parents 389213ce7843
children f662352c3799 a1e2561b7c2c 92b90ac06d39
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.9-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 </plugins>
97 </build>
98 </project>