| ddbf3a1 by Candid Dauth at 2010-04-27 | 1 | <!-- |
| 2 | This program is free software: you can redistribute it and/or modify |
|
| 3 | it under the terms of the GNU Affero General Public License as published by |
|
| 4 | the Free Software Foundation, either version 3 of the License, or |
|
| 5 | (at your option) any later version. |
|
| 6 | ||
| 7 | This software is distributed in the hope that it will be useful, |
|
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 10 | GNU Affero General Public License for more details. |
|
| 11 | ||
| 12 | You should have received a copy of the GNU Affero General Public License |
|
| 13 | along with this software. If not, see <http://www.gnu.org/licenses/>. |
|
| 14 | ||
| 15 | Copyright © 2010 Candid Dauth |
|
| 16 | --> |
|
| 860ab46 by Candid Dauth at 2010-04-25 | 17 | <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"> |
| 18 | <modelVersion>4.0.0</modelVersion> |
|
| 414d457 by Candid Dauth at 2010-04-27 | 19 | <groupId>eu.cdauth.osm</groupId> |
| ddbf3a1 by Candid Dauth at 2010-04-27 | 20 | <artifactId>web</artifactId> |
| 21 | <version>SNAPSHOT</version> |
|
| 22 | <name>osmrmhv/web</name> |
|
| 23 | <description>OSM Route Manager and History Viewer.</description> |
|
| 24 | <packaging>pom</packaging> |
|
| 7a62a41 by Candid Dauth at 2010-04-26 | 25 | |
| ddbf3a1 by Candid Dauth at 2010-04-27 | 26 | <licenses> |
| 27 | <license> |
|
| 28 | <name>GNU Affero General Public License Version 3</name> |
|
| 29 | <distribution>repo</distribution> |
|
| 30 | </license> |
|
| 31 | </licenses> |
|
| 7a62a41 by Candid Dauth at 2010-04-26 | 32 | |
| 414d457 by Candid Dauth at 2010-04-27 | 33 | <parent> |
| 34 | <groupId>eu.cdauth</groupId> |
|
| 35 | <artifactId>osm</artifactId> |
|
| 36 | <version>SNAPSHOT</version> |
|
| 37 | </parent> |
|
| 38 | ||
| ddbf3a1 by Candid Dauth at 2010-04-27 | 39 | <modules> |
| 99185af by Candid Dauth at 2010-04-27 | 40 | <module>common</module> |
| ddbf3a1 by Candid Dauth at 2010-04-27 | 41 | <module>osmrm</module> |
| 2f03f33 by Candid Dauth at 2010-04-27 | 42 | <module>osmhv</module> |
| ddbf3a1 by Candid Dauth at 2010-04-27 | 43 | <!--<module>poiselect</module>--> |
| 44 | </modules> |
|
| 7a62a41 by Candid Dauth at 2010-04-26 | 45 | |
| 46 | <pluginRepositories> |
|
| 47 | <pluginRepository> |
|
| 3a01fa8 by Candid Dauth at 2010-04-27 | 48 | <id>maven-replacer-plugin repository</id> |
| 49 | <url>http://maven-replacer-plugin.googlecode.com/svn/release-repo</url> |
|
| 7a62a41 by Candid Dauth at 2010-04-26 | 50 | </pluginRepository> |
| 51 | </pluginRepositories> |
|
| 52 | ||
| 84e0274 by Candid Dauth at 2010-05-01 | 53 | <properties> |
| 54 | <project.build.jspFixedDirectory>${project.build.directory}/jsp-fixed</project.build.jspFixedDirectory> |
|
| 55 | </properties> |
|
| 56 | ||
| 860ab46 by Candid Dauth at 2010-04-25 | 57 | <dependencies> |
| 58 | <dependency> |
|
| 414d457 by Candid Dauth at 2010-04-27 | 59 | <groupId>eu.cdauth.osm.lib</groupId> |
| 860ab46 by Candid Dauth at 2010-04-25 | 60 | <artifactId>interface</artifactId> |
| ddbf3a1 by Candid Dauth at 2010-04-27 | 61 | <version>SNAPSHOT</version> |
| 860ab46 by Candid Dauth at 2010-04-25 | 62 | </dependency> |
| 63 | <dependency> |
|
| 414d457 by Candid Dauth at 2010-04-27 | 64 | <groupId>eu.cdauth.osm.lib</groupId> |
| 860ab46 by Candid Dauth at 2010-04-25 | 65 | <artifactId>api06</artifactId> |
| ddbf3a1 by Candid Dauth at 2010-04-27 | 66 | <version>SNAPSHOT</version> |
| 860ab46 by Candid Dauth at 2010-04-25 | 67 | </dependency> |
| 68 | <dependency> |
|
| 69 | <groupId>javax.servlet</groupId> |
|
| 70 | <artifactId>servlet-api</artifactId> |
|
| 71 | <version>2.5</version> |
|
| 45fc64c by Candid Dauth at 2010-04-25 | 72 | <scope>provided</scope> |
| 860ab46 by Candid Dauth at 2010-04-25 | 73 | </dependency> |
| 1959298 by Candid Dauth at 2010-04-26 | 74 | <dependency> |
| 75 | <groupId>net.sourceforge.pjl-comp-filter</groupId> |
|
| 76 | <artifactId>pjl-comp-filter</artifactId> |
|
| 77 | <version>1.6.4</version> |
|
| 78 | <scope>runtime</scope> |
|
| 79 | </dependency> |
|
| 860ab46 by Candid Dauth at 2010-04-25 | 80 | </dependencies> |
| 7a62a41 by Candid Dauth at 2010-04-26 | 81 | |
| 860ab46 by Candid Dauth at 2010-04-25 | 82 | <build> |
| 3a01fa8 by Candid Dauth at 2010-04-27 | 83 | <pluginManagement> |
| 84 | <plugins> |
|
| 85 | <plugin> |
|
| 84e0274 by Candid Dauth at 2010-05-01 | 86 | <groupId>org.apache.maven.plugins</groupId> |
| 87 | <artifactId>maven-antrun-plugin</artifactId> |
|
| 88 | <version>1.3</version> |
|
| 89 | <executions> |
|
| 3a01fa8 by Candid Dauth at 2010-04-27 | 90 | <execution> |
| 84e0274 by Candid Dauth at 2010-05-01 | 91 | <phase>compile</phase> |
| 3a01fa8 by Candid Dauth at 2010-04-27 | 92 | <goals> |
| 84e0274 by Candid Dauth at 2010-05-01 | 93 | <goal>run</goal> |
| 3a01fa8 by Candid Dauth at 2010-04-27 | 94 | </goals> |
| 84e0274 by Candid Dauth at 2010-05-01 | 95 | <configuration> |
| 96 | <tasks> |
|
| 97 | <mkdir dir="${project.build.jspFixedDirectory}" /> |
|
| 98 | <copy todir="${project.build.jspFixedDirectory}"> |
|
| 99 | <fileset dir="${basedir}/src/main/webapp" includes="**/*.jsp" /> |
|
| 100 | </copy> |
|
| 101 | </tasks> |
|
| 102 | </configuration> |
|
| 3a01fa8 by Candid Dauth at 2010-04-27 | 103 | </execution> |
| 84e0274 by Candid Dauth at 2010-05-01 | 104 | </executions> |
| 3a01fa8 by Candid Dauth at 2010-04-27 | 105 | </plugin> |
| 106 | <plugin> |
|
| 107 | <groupId>com.google.code.maven-replacer-plugin</groupId> |
|
| 108 | <artifactId>maven-replacer-plugin</artifactId> |
|
| 109 | <version>1.3.1</version> |
|
| 110 | <executions> |
|
| 111 | <execution> |
|
| 84e0274 by Candid Dauth at 2010-05-01 | 112 | <phase>compile</phase> |
| 3a01fa8 by Candid Dauth at 2010-04-27 | 113 | <goals> |
| 114 | <goal>replace</goal> |
|
| 115 | </goals> |
|
| 116 | </execution> |
|
| 117 | </executions> |
|
| 118 | <configuration> |
|
| 119 | <includes> |
|
| 84e0274 by Candid Dauth at 2010-05-01 | 120 | <include>**/*.jsp</include> |
| 3a01fa8 by Candid Dauth at 2010-04-27 | 121 | </includes> |
| 84e0274 by Candid Dauth at 2010-05-01 | 122 | <basedir>${project.build.jspFixedDirectory}</basedir> |
| 3a01fa8 by Candid Dauth at 2010-04-27 | 123 | <replacements> |
| 124 | <replacement> |
|
| 125 | <token>(--%>)(\n)</token> |
|
| 126 | <value>$2$1</value> |
|
| 127 | </replacement> |
|
| 128 | <replacement> |
|
| 129 | <token>(%>)(\n)</token> |
|
| 130 | <value>$2$1</value> |
|
| 131 | </replacement> |
|
| 132 | </replacements> |
|
| 133 | <regexFlags> |
|
| 134 | <regexFlag>MULTILINE</regexFlag> |
|
| 135 | </regexFlags> |
|
| 136 | </configuration> |
|
| 137 | </plugin> |
|
| 84e0274 by Candid Dauth at 2010-05-01 | 138 | <plugin> |
| 139 | <groupId>org.codehaus.mojo.jspc</groupId> |
|
| 140 | <artifactId>jspc-maven-plugin</artifactId> |
|
| 141 | <executions> |
|
| 142 | <execution> |
|
| 143 | <phase>compile</phase> |
|
| 144 | <goals> |
|
| 145 | <goal>compile</goal> |
|
| 146 | </goals> |
|
| 147 | </execution> |
|
| 148 | </executions> |
|
| 149 | <configuration> |
|
| 150 | <trimSpaces>false</trimSpaces> |
|
| 151 | <source>1.6</source> |
|
| 152 | <sources> |
|
| 153 | <directory>${project.build.jspFixedDirectory}</directory> |
|
| 154 | </sources> |
|
| 155 | </configuration> |
|
| 156 | <dependencies> |
|
| 157 | <dependency> |
|
| 158 | <groupId>org.codehaus.mojo.jspc</groupId> |
|
| 159 | <artifactId>jspc-compiler-tomcat6</artifactId> |
|
| 160 | <version>2.0-alpha-3</version> |
|
| 161 | </dependency> |
|
| 162 | </dependencies> |
|
| 163 | </plugin> |
|
| 164 | <plugin> |
|
| 165 | <groupId>org.apache.maven.plugins</groupId> |
|
| 166 | <artifactId>maven-war-plugin</artifactId> |
|
| 167 | <executions> |
|
| 168 | <execution> |
|
| 169 | <phase>package</phase> |
|
| 170 | <goals> |
|
| 171 | <goal>war</goal> |
|
| 172 | </goals> |
|
| 173 | <configuration> |
|
| 174 | <webXml>${pom.basedir}/target/jspweb.xml</webXml> |
|
| 175 | <failOnMissingWebXml>false</failOnMissingWebXml> |
|
| 176 | </configuration> |
|
| 177 | </execution> |
|
| 178 | </executions> |
|
| 179 | </plugin> |
|
| 3a01fa8 by Candid Dauth at 2010-04-27 | 180 | </plugins> |
| 181 | </pluginManagement> |
|
| 860ab46 by Candid Dauth at 2010-04-25 | 182 | </build> |
| 7a62a41 by Candid Dauth at 2010-04-26 | 183 | </project> |

