| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <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> |
|---|
| 4 | |
|---|
| 5 | <parent> |
|---|
| 6 | <groupId>org.pustefixframework</groupId> |
|---|
| 7 | <artifactId>pustefixframework</artifactId> |
|---|
| 8 | <version>0.14.7</version> |
|---|
| 9 | </parent> |
|---|
| 10 | |
|---|
| 11 | <groupId>org.pustefixframework</groupId> |
|---|
| 12 | <artifactId>pustefix-core</artifactId> |
|---|
| 13 | <version>0.14.7</version> |
|---|
| 14 | <packaging>jar</packaging> |
|---|
| 15 | |
|---|
| 16 | <name>Pustefix Core</name> |
|---|
| 17 | |
|---|
| 18 | <profiles> |
|---|
| 19 | <profile><!-- see http://maven.apache.org/general.html#tools-jar-dependency --> |
|---|
| 20 | <id>default-tools.jar</id> |
|---|
| 21 | <activation> |
|---|
| 22 | <property> |
|---|
| 23 | <name>java.vendor</name> |
|---|
| 24 | <value>Sun Microsystems Inc.</value> |
|---|
| 25 | </property> |
|---|
| 26 | </activation> |
|---|
| 27 | <dependencies> |
|---|
| 28 | <dependency> |
|---|
| 29 | <groupId>com.sun</groupId> |
|---|
| 30 | <artifactId>tools</artifactId> |
|---|
| 31 | <version>1.5.0</version> |
|---|
| 32 | <scope>system</scope> |
|---|
| 33 | <systemPath>${java.home}/../lib/tools.jar</systemPath> |
|---|
| 34 | </dependency> |
|---|
| 35 | </dependencies> |
|---|
| 36 | </profile> |
|---|
| 37 | </profiles> |
|---|
| 38 | |
|---|
| 39 | <dependencies> |
|---|
| 40 | <dependency> |
|---|
| 41 | <groupId>org.pustefixframework</groupId> |
|---|
| 42 | <artifactId>pustefix-live</artifactId> |
|---|
| 43 | <version>${project.version}</version> |
|---|
| 44 | </dependency> |
|---|
| 45 | |
|---|
| 46 | <dependency> |
|---|
| 47 | <groupId>xml-resolver</groupId> |
|---|
| 48 | <artifactId>xml-resolver</artifactId> |
|---|
| 49 | <version>[1.1,1.3)</version> |
|---|
| 50 | </dependency> |
|---|
| 51 | <dependency> |
|---|
| 52 | <groupId>commons-collections</groupId> |
|---|
| 53 | <artifactId>commons-collections</artifactId> |
|---|
| 54 | <version>[3.1,3.3)</version> |
|---|
| 55 | </dependency> |
|---|
| 56 | |
|---|
| 57 | <dependency> |
|---|
| 58 | <groupId>oro</groupId> |
|---|
| 59 | <artifactId>oro</artifactId> |
|---|
| 60 | <version>2.0.7</version> |
|---|
| 61 | </dependency> |
|---|
| 62 | <dependency> |
|---|
| 63 | <groupId>log4j</groupId> |
|---|
| 64 | <artifactId>log4j</artifactId> |
|---|
| 65 | <version>1.2.13</version> |
|---|
| 66 | </dependency> |
|---|
| 67 | <dependency> |
|---|
| 68 | <groupId>commons-logging</groupId> |
|---|
| 69 | <artifactId>commons-logging</artifactId> |
|---|
| 70 | <version>1.0.4</version> |
|---|
| 71 | </dependency> |
|---|
| 72 | <dependency> |
|---|
| 73 | <groupId>com.marsching.flexiparse</groupId> |
|---|
| 74 | <artifactId>flexiparse</artifactId> |
|---|
| 75 | <version>0.2.1</version> |
|---|
| 76 | </dependency> |
|---|
| 77 | <dependency> |
|---|
| 78 | <groupId>cglib</groupId> |
|---|
| 79 | <artifactId>cglib-nodep</artifactId> |
|---|
| 80 | <version>2.1_3</version> |
|---|
| 81 | </dependency> |
|---|
| 82 | |
|---|
| 83 | <dependency> |
|---|
| 84 | <groupId>org.springframework</groupId> |
|---|
| 85 | <artifactId>spring</artifactId> |
|---|
| 86 | <version>2.5.6</version> |
|---|
| 87 | </dependency> |
|---|
| 88 | <dependency> |
|---|
| 89 | <groupId>org.springframework</groupId> |
|---|
| 90 | <artifactId>spring-webmvc</artifactId> |
|---|
| 91 | <version>2.5.6</version> |
|---|
| 92 | </dependency> |
|---|
| 93 | <dependency> |
|---|
| 94 | <groupId>org.springframework</groupId> |
|---|
| 95 | <artifactId>spring-test</artifactId> |
|---|
| 96 | <version>2.5.6</version> |
|---|
| 97 | </dependency> |
|---|
| 98 | <dependency> |
|---|
| 99 | <groupId>concurrent</groupId> |
|---|
| 100 | <artifactId>concurrent</artifactId> |
|---|
| 101 | <version>1.3.4</version> |
|---|
| 102 | </dependency> |
|---|
| 103 | |
|---|
| 104 | <dependency> |
|---|
| 105 | <groupId>org.aspectj</groupId> |
|---|
| 106 | <artifactId>aspectjweaver</artifactId> |
|---|
| 107 | <version>1.6.2</version> |
|---|
| 108 | </dependency> |
|---|
| 109 | <dependency> |
|---|
| 110 | <groupId>javax.mail</groupId> |
|---|
| 111 | <artifactId>mail</artifactId> |
|---|
| 112 | <version>1.4.1</version> |
|---|
| 113 | </dependency> |
|---|
| 114 | |
|---|
| 115 | |
|---|
| 116 | <!-- We need both to compile the our extensions. Our default is saxon 6 (that's why saxon 8 is optional) because |
|---|
| 117 | only some xsl files have been adjusted, and we want to avoid "the xsl 1 sheet ond xsl 2 processor" warning --> |
|---|
| 118 | <dependency> |
|---|
| 119 | <groupId>com.icl.saxon</groupId> |
|---|
| 120 | <artifactId>saxon</artifactId> |
|---|
| 121 | <version>6.5.5</version> |
|---|
| 122 | </dependency> |
|---|
| 123 | <dependency> |
|---|
| 124 | <groupId>net.sf.saxon</groupId> |
|---|
| 125 | <artifactId>saxon-dom</artifactId> |
|---|
| 126 | <version>8.7</version> |
|---|
| 127 | <optional>true</optional> |
|---|
| 128 | </dependency> |
|---|
| 129 | <dependency> |
|---|
| 130 | <groupId>net.sf.saxon</groupId> |
|---|
| 131 | <artifactId>saxon-xpath</artifactId> |
|---|
| 132 | <version>8.7</version> |
|---|
| 133 | <optional>true</optional> |
|---|
| 134 | </dependency> |
|---|
| 135 | |
|---|
| 136 | <dependency> |
|---|
| 137 | <groupId>bsf</groupId> |
|---|
| 138 | <artifactId>bsf</artifactId> |
|---|
| 139 | <version>2.3.0</version> |
|---|
| 140 | </dependency> |
|---|
| 141 | |
|---|
| 142 | <dependency> |
|---|
| 143 | <groupId>javax.servlet</groupId> |
|---|
| 144 | <artifactId>servlet-api</artifactId> |
|---|
| 145 | <version>2.4</version> |
|---|
| 146 | <scope>provided</scope> |
|---|
| 147 | </dependency> |
|---|
| 148 | </dependencies> |
|---|
| 149 | |
|---|
| 150 | <build> |
|---|
| 151 | <plugins> |
|---|
| 152 | <!-- do not add to root pom because it forks a new lifecycle: --> |
|---|
| 153 | <plugin> |
|---|
| 154 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 155 | <artifactId>maven-source-plugin</artifactId> |
|---|
| 156 | <executions> |
|---|
| 157 | <execution> |
|---|
| 158 | <goals><goal>jar</goal></goals> |
|---|
| 159 | </execution> |
|---|
| 160 | </executions> |
|---|
| 161 | </plugin> |
|---|
| 162 | |
|---|
| 163 | <plugin> |
|---|
| 164 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 165 | <artifactId>maven-antrun-plugin</artifactId> |
|---|
| 166 | <version>1.3</version> |
|---|
| 167 | <executions> |
|---|
| 168 | <execution> |
|---|
| 169 | <phase>generate-resources</phase> |
|---|
| 170 | <configuration> |
|---|
| 171 | <tasks> |
|---|
| 172 | <mkdir dir="${basedir}/target/classes/META-INF" /> |
|---|
| 173 | <property name="svnrevision" location="${basedir}/target/classes/META-INF/SVN_REVISION" /> |
|---|
| 174 | <delete file="${svnrevision}" /> |
|---|
| 175 | <exec executable="svn" output="${svnrevision}"> |
|---|
| 176 | <arg line="info" /> |
|---|
| 177 | </exec> |
|---|
| 178 | </tasks> |
|---|
| 179 | </configuration> |
|---|
| 180 | <goals> |
|---|
| 181 | <goal>run</goal> |
|---|
| 182 | </goals> |
|---|
| 183 | </execution> |
|---|
| 184 | </executions> |
|---|
| 185 | </plugin> |
|---|
| 186 | <plugin> |
|---|
| 187 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 188 | <artifactId>maven-assembly-plugin</artifactId> |
|---|
| 189 | <configuration> |
|---|
| 190 | <descriptors> |
|---|
| 191 | <descriptor>src/main/assembly/data.xml</descriptor> |
|---|
| 192 | </descriptors> |
|---|
| 193 | </configuration> |
|---|
| 194 | <executions> |
|---|
| 195 | <execution> |
|---|
| 196 | <phase>package</phase> |
|---|
| 197 | <goals> |
|---|
| 198 | <goal>single</goal> |
|---|
| 199 | </goals> |
|---|
| 200 | </execution> |
|---|
| 201 | </executions> |
|---|
| 202 | </plugin> |
|---|
| 203 | <plugin> |
|---|
| 204 | <groupId>org.pustefixframework.maven.plugins</groupId> |
|---|
| 205 | <artifactId>pustefix-statuscode-plugin</artifactId> |
|---|
| 206 | <version>0.14.7</version> |
|---|
| 207 | <executions> |
|---|
| 208 | <execution> |
|---|
| 209 | <configuration> |
|---|
| 210 | <module>pfixcore</module> |
|---|
| 211 | <docRoot>${basedir}/src/data</docRoot> |
|---|
| 212 | <includes><include>core/dyntxt/statuscodeinfo.xml</include></includes> |
|---|
| 213 | </configuration> |
|---|
| 214 | <id>statuscodes</id> |
|---|
| 215 | <goals> |
|---|
| 216 | <goal>generate</goal> |
|---|
| 217 | </goals> |
|---|
| 218 | </execution> |
|---|
| 219 | </executions> |
|---|
| 220 | </plugin> |
|---|
| 221 | </plugins> |
|---|
| 222 | </build> |
|---|
| 223 | |
|---|
| 224 | </project> |
|---|