Strabon

annotate endpoint-exec/pom.xml @ 1484:fdbcb246115b

#58 added script that is invoked by maven to update the versions in
the control files
author Giannis Vlachopoulos <johnvl@di.uoa.gr>
date Wed Mar 11 15:29:31 2015 +0200 (2015-03-11)
parents c56f16b4fb1a
children 0397b9f4b68f
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@1484 114 <groupId>org.codehaus.mojo</groupId>
johnvl@1484 115 <artifactId>exec-maven-plugin</artifactId>
johnvl@1484 116 <version>1.1.1</version>
johnvl@1484 117 <executions>
johnvl@1484 118 <execution>
johnvl@1484 119 <!--
johnvl@1484 120 <id>some-execution</id>
johnvl@1484 121 -->
johnvl@1484 122 <phase>package</phase>
johnvl@1484 123 <goals>
johnvl@1484 124 <goal>exec</goal>
johnvl@1484 125 </goals>
johnvl@1484 126 </execution>
johnvl@1484 127 </executions>
johnvl@1484 128 <configuration>
johnvl@1484 129 <executable>${basedir}/../scripts/update-debian-version.sh</executable>
johnvl@1484 130 </configuration>
johnvl@1484 131 </plugin>
johnvl@1355 132
johnvl@1484 133 <plugin>
johnvl@1484 134 <artifactId>jdeb</artifactId>
johnvl@1484 135 <groupId>org.vafer</groupId>
johnvl@1484 136 <version>1.3</version>
johnvl@1484 137 <executions>
johnvl@1484 138 <execution>
johnvl@1484 139 <phase>package</phase>
johnvl@1484 140 <goals>
johnvl@1484 141 <goal>jdeb</goal>
johnvl@1484 142 </goals>
johnvl@1484 143 <configuration>
johnvl@1484 144 <skipPOMs>false</skipPOMs>
johnvl@1484 145 <dataSet>
johnvl@1484 146 <data>
johnvl@1484 147 <src>${project.build.directory}/strabon-endpoint-executable-${project.version}.jar</src>
johnvl@1484 148 <type>file</type>
johnvl@1484 149 <mapper>
johnvl@1484 150 <type>perm</type>
johnvl@1484 151 <prefix>/usr/share/jdeb/lib</prefix>
johnvl@1484 152 </mapper>
johnvl@1484 153 </data>
johnvl@1484 154 <data>
johnvl@1484 155 <src>${basedir}/strabon-endpoint</src>
johnvl@1484 156 <type>file</type>
johnvl@1484 157 <mapper>
johnvl@1484 158 <type>perm</type>
johnvl@1484 159 <prefix>/usr/local/bin</prefix>
johnvl@1484 160 <user>root</user>
johnvl@1484 161 <group>root</group>
johnvl@1484 162 <filemode>755</filemode>
johnvl@1484 163 </mapper>
johnvl@1484 164 </data>
johnvl@1484 165 <data>
johnvl@1484 166 <src>${basedir}/strabon-init</src>
johnvl@1484 167 <type>file</type>
johnvl@1484 168 <mapper>
johnvl@1484 169 <type>perm</type>
johnvl@1484 170 <prefix>/usr/local/bin</prefix>
johnvl@1484 171 <user>root</user>
johnvl@1484 172 <group>root</group>
johnvl@1484 173 <filemode>755</filemode>
johnvl@1484 174 </mapper>
johnvl@1484 175 </data>
johnvl@1484 176 </dataSet>
johnvl@1484 177 </configuration>
johnvl@1484 178 </execution>
johnvl@1484 179 </executions>
johnvl@1484 180 </plugin>
johnvl@1484 181 </plugins>
johnvl@1484 182 </build>
johnvl@1457 183 </profile>
johnvl@1457 184 </profiles>
kkyzir@829 185 </project>