Strabon

annotate endpoint-exec/pom.xml @ 1457:c56f16b4fb1a

#58: -Ddebian=true to create the debian package during maven
compiling.
author Giannis Vlachopoulos <johnvl@di.uoa.gr>
date Thu Jan 15 14:36:12 2015 +0200 (2015-01-15)
parents 3a20ea696d0e
children fdbcb246115b
rev   line source
kkyzir@829 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">
kkyzir@829 2
kkyzir@829 3 <modelVersion>4.0.0</modelVersion>
kkyzir@829 4
kkyzir@829 5 <parent>
kkyzir@829 6 <groupId>eu.earthobservatory</groupId>
kkyzir@829 7 <artifactId>strabon</artifactId>
charnik@1363 8 <version>3.2.11-SNAPSHOT</version>
kkyzir@829 9 </parent>
kkyzir@829 10
kkyzir@829 11 <artifactId>strabon-endpoint-exec</artifactId>
kkyzir@829 12
kkyzir@829 13 <name>Strabon: Executable endpoint</name>
kkyzir@829 14 <description>A Strabon endpoint packaged with Tomcat 7 as a single executable jar file</description>
kkyzir@829 15 <packaging>pom</packaging>
kkyzir@829 16
kkyzir@829 17 <dependencies>
kkyzir@829 18 <dependency>
kkyzir@829 19 <groupId>eu.earthobservatory</groupId>
kkyzir@829 20 <artifactId>strabon-endpoint</artifactId>
kkyzir@829 21 <version>${eu.earthobservatory.version}</version>
kkyzir@829 22 <type>war</type>
kkyzir@829 23 <scope>compile</scope>
kkyzir@829 24 </dependency>
kkyzir@829 25 </dependencies>
kkyzir@829 26
kkyzir@829 27 <build>
kkyzir@829 28 <plugins>
kkyzir@829 29 <plugin>
kkyzir@829 30 <groupId>org.apache.tomcat.maven</groupId>
kkyzir@829 31 <artifactId>tomcat7-maven-plugin</artifactId>
kkyzir@829 32 <version>2.0</version>
kkyzir@829 33 <executions>
kkyzir@829 34 <execution>
kkyzir@829 35 <id>tomcat-run</id>
kkyzir@829 36 <goals>
kkyzir@829 37 <goal>exec-war-only</goal>
kkyzir@829 38 </goals>
kkyzir@829 39 <phase>package</phase>
kkyzir@829 40 <configuration>
kkyzir@829 41 <path>/</path>
kkyzir@829 42 <uriEncoding>UTF-8</uriEncoding>
kkyzir@829 43 <finalName>strabon-endpoint-executable-${project.version}.jar</finalName>
kkyzir@829 44 <!-- Override the default server.xml if nessecary
kkyzir@829 45 <serverXml>src/main/tomcatconf/server.xml</serverXml>
kkyzir@829 46 -->
kkyzir@829 47 <!--
kkyzir@829 48 <extraResources>
kkyzir@829 49 <extraResource>
kkyzir@829 50 <directory>${basedir}/src/main/resources</directory>
kkyzir@829 51 <includes>
kkyzir@829 52 <include>**/log4j.xml</include>
kkyzir@829 53 </includes>
kkyzir@829 54 </extraResource>
kkyzir@829 55 </extraResources>
kkyzir@829 56 -->
kkyzir@829 57 <warRunDependencies>
kkyzir@829 58 <warRunDependency>
kkyzir@829 59 <dependency>
kkyzir@829 60 <groupId>eu.earthobservatory</groupId>
kkyzir@829 61 <artifactId>strabon-endpoint</artifactId>
kkyzir@829 62 <version>${eu.earthobservatory.version}</version>
kkyzir@829 63 <type>war</type>
kkyzir@829 64 </dependency>
kkyzir@829 65 <contextPath>/</contextPath>
kkyzir@829 66 </warRunDependency>
kkyzir@829 67 </warRunDependencies>
kkyzir@829 68 <!--
kkyzir@829 69 <extraDependencies>
kkyzir@829 70 <extraDependency>
kkyzir@829 71 <groupId>org.slf4j</groupId>
kkyzir@829 72 <artifactId>jul-to-slf4j</artifactId>
kkyzir@829 73 <version>${slf4jVersion}</version>
kkyzir@829 74 </extraDependency>
kkyzir@829 75 <extraDependency>
kkyzir@829 76 <groupId>org.slf4j</groupId>
kkyzir@829 77 <artifactId>slf4j-api</artifactId>
kkyzir@829 78 <version>${slf4jVersion}</version>
kkyzir@829 79 </extraDependency>
kkyzir@829 80 <extraDependency>
kkyzir@829 81 <groupId>org.slf4j</groupId>
kkyzir@829 82 <artifactId>slf4j-log4j12</artifactId>
kkyzir@829 83 <version>${slf4jVersion}</version>
kkyzir@829 84 </extraDependency>
kkyzir@829 85 <extraDependency>
kkyzir@829 86 <groupId>log4j</groupId>
kkyzir@829 87 <artifactId>log4j</artifactId>
kkyzir@829 88 <version>1.2.12</version>
kkyzir@829 89 </extraDependency>
kkyzir@829 90 </extraDependencies>
kkyzir@829 91 -->
kkyzir@829 92 </configuration>
kkyzir@829 93 </execution>
kkyzir@829 94 </executions>
kkyzir@829 95 </plugin>
johnvl@1457 96
johnvl@1457 97
johnvl@1457 98 </plugins>
johnvl@1457 99 </build>
johnvl@1457 100
johnvl@1457 101 <profiles>
johnvl@1457 102 <profile>
johnvl@1457 103 <id>create-debian</id>
johnvl@1457 104 <activation>
johnvl@1457 105 <activeByDefault>false</activeByDefault>
johnvl@1457 106 <property>
johnvl@1457 107 <name>debian</name>
johnvl@1457 108 <value>true</value>
johnvl@1457 109 </property>
johnvl@1457 110 </activation>
johnvl@1457 111 <build>
johnvl@1457 112 <plugins>
johnvl@1457 113 <plugin>
johnvl@1355 114 <artifactId>jdeb</artifactId>
johnvl@1355 115 <groupId>org.vafer</groupId>
johnvl@1355 116 <version>1.3</version>
johnvl@1355 117 <executions>
johnvl@1355 118 <execution>
johnvl@1355 119 <phase>package</phase>
johnvl@1355 120 <goals>
johnvl@1355 121 <goal>jdeb</goal>
johnvl@1355 122 </goals>
johnvl@1355 123 <configuration>
johnvl@1355 124 <skipPOMs>false</skipPOMs>
johnvl@1355 125 <dataSet>
johnvl@1355 126 <data>
johnvl@1355 127 <src>${project.build.directory}/strabon-endpoint-executable-${project.version}.jar</src>
johnvl@1355 128 <type>file</type>
johnvl@1355 129 <mapper>
johnvl@1355 130 <type>perm</type>
johnvl@1355 131 <prefix>/usr/share/jdeb/lib</prefix>
johnvl@1355 132 </mapper>
johnvl@1355 133 </data>
johnvl@1355 134 <data>
johnvl@1355 135 <src>${basedir}/strabon-endpoint</src>
johnvl@1355 136 <type>file</type>
johnvl@1355 137 <mapper>
johnvl@1355 138 <type>perm</type>
johnvl@1355 139 <prefix>/usr/local/bin</prefix>
johnvl@1355 140 <user>root</user>
johnvl@1355 141 <group>root</group>
johnvl@1355 142 <filemode>755</filemode>
johnvl@1355 143 </mapper>
johnvl@1355 144 </data>
johnvl@1456 145 <data>
johnvl@1456 146 <src>${basedir}/strabon-init</src>
johnvl@1456 147 <type>file</type>
johnvl@1456 148 <mapper>
johnvl@1456 149 <type>perm</type>
johnvl@1456 150 <prefix>/usr/local/bin</prefix>
johnvl@1456 151 <user>root</user>
johnvl@1456 152 <group>root</group>
johnvl@1456 153 <filemode>755</filemode>
johnvl@1456 154 </mapper>
johnvl@1456 155 </data>
johnvl@1355 156 </dataSet>
johnvl@1355 157 </configuration>
johnvl@1355 158 </execution>
johnvl@1355 159 </executions>
johnvl@1355 160 </plugin>
johnvl@1355 161
johnvl@1457 162 </plugins>
johnvl@1457 163 </build>
johnvl@1355 164
johnvl@1457 165 </profile>
johnvl@1457 166 </profiles>
kkyzir@829 167 </project>