| 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>1.0.2</version> |
|---|
| 9 | </parent> |
|---|
| 10 | |
|---|
| 11 | <groupId>org.pustefixframework</groupId> |
|---|
| 12 | <artifactId>pustefix-core</artifactId> |
|---|
| 13 | <version>1.0.2</version> |
|---|
| 14 | <packaging>bundle</packaging> |
|---|
| 15 | |
|---|
| 16 | <name>Pustefix Core</name> |
|---|
| 17 | |
|---|
| 18 | <dependencies> |
|---|
| 19 | <dependency> |
|---|
| 20 | <groupId>org.osgi</groupId> |
|---|
| 21 | <artifactId>osgi_R4_core</artifactId> |
|---|
| 22 | <version>1.0</version> |
|---|
| 23 | <scope>provided</scope> |
|---|
| 24 | <optional>true</optional> |
|---|
| 25 | </dependency> |
|---|
| 26 | <dependency> |
|---|
| 27 | <groupId>org.osgi</groupId> |
|---|
| 28 | <artifactId>osgi_R4_compendium</artifactId> |
|---|
| 29 | <version>1.0</version> |
|---|
| 30 | <scope>provided</scope> |
|---|
| 31 | <optional>true</optional> |
|---|
| 32 | </dependency> |
|---|
| 33 | |
|---|
| 34 | <dependency> |
|---|
| 35 | <groupId>org.springframework.osgi</groupId> |
|---|
| 36 | <artifactId>org.springframework.osgi.extender</artifactId> |
|---|
| 37 | <version>1.2.0</version> |
|---|
| 38 | </dependency> |
|---|
| 39 | <dependency> |
|---|
| 40 | <groupId>org.springframework.osgi</groupId> |
|---|
| 41 | <artifactId>org.springframework.osgi.mock</artifactId> |
|---|
| 42 | <version>1.2.0</version> |
|---|
| 43 | </dependency> |
|---|
| 44 | |
|---|
| 45 | <dependency> |
|---|
| 46 | <groupId>org.apache.xml</groupId> |
|---|
| 47 | <artifactId>com.springsource.org.apache.xml.resolver</artifactId> |
|---|
| 48 | <version>1.2.0</version> |
|---|
| 49 | </dependency> |
|---|
| 50 | <dependency> |
|---|
| 51 | <groupId>commons-collections</groupId> |
|---|
| 52 | <artifactId>commons-collections</artifactId> |
|---|
| 53 | <version>3.2.1</version> |
|---|
| 54 | </dependency> |
|---|
| 55 | <dependency> |
|---|
| 56 | <groupId>org.apache.oro</groupId> |
|---|
| 57 | <artifactId>com.springsource.org.apache.oro</artifactId> |
|---|
| 58 | <version>2.0.8</version> |
|---|
| 59 | </dependency> |
|---|
| 60 | <dependency> |
|---|
| 61 | <groupId>org.apache.log4j</groupId> |
|---|
| 62 | <artifactId>com.springsource.org.apache.log4j</artifactId> |
|---|
| 63 | <version>1.2.15</version> |
|---|
| 64 | </dependency> |
|---|
| 65 | <dependency> |
|---|
| 66 | <groupId>org.apache.commons</groupId> |
|---|
| 67 | <artifactId>com.springsource.org.apache.commons.logging</artifactId> |
|---|
| 68 | <version>1.1.1</version> |
|---|
| 69 | </dependency> |
|---|
| 70 | <dependency> |
|---|
| 71 | <groupId>com.marsching.flexiparse</groupId> |
|---|
| 72 | <artifactId>flexiparse</artifactId> |
|---|
| 73 | <version>1.0.1</version> |
|---|
| 74 | </dependency> |
|---|
| 75 | <dependency> |
|---|
| 76 | <groupId>net.sourceforge.cglib</groupId> |
|---|
| 77 | <artifactId>com.springsource.net.sf.cglib</artifactId> |
|---|
| 78 | <version>2.1.3</version> |
|---|
| 79 | </dependency> |
|---|
| 80 | |
|---|
| 81 | <dependency> |
|---|
| 82 | <groupId>org.springframework</groupId> |
|---|
| 83 | <artifactId>org.springframework.core</artifactId> |
|---|
| 84 | <version>2.5.6.A</version> |
|---|
| 85 | </dependency> |
|---|
| 86 | <dependency> |
|---|
| 87 | <groupId>org.springframework</groupId> |
|---|
| 88 | <artifactId>org.springframework.beans</artifactId> |
|---|
| 89 | <version>2.5.6.A </version> |
|---|
| 90 | </dependency> |
|---|
| 91 | <dependency> |
|---|
| 92 | <groupId>org.springframework</groupId> |
|---|
| 93 | <artifactId>org.springframework.web</artifactId> |
|---|
| 94 | <version>2.5.6.A</version> |
|---|
| 95 | </dependency> |
|---|
| 96 | <dependency> |
|---|
| 97 | <groupId>org.springframework</groupId> |
|---|
| 98 | <artifactId>org.springframework.web.servlet</artifactId> |
|---|
| 99 | <version>2.5.6.A</version> |
|---|
| 100 | </dependency> |
|---|
| 101 | <dependency> |
|---|
| 102 | <groupId>org.springframework</groupId> |
|---|
| 103 | <artifactId>org.springframework.test</artifactId> |
|---|
| 104 | <version>2.5.6.A</version> |
|---|
| 105 | </dependency> |
|---|
| 106 | <dependency> |
|---|
| 107 | <groupId>org.springframework</groupId> |
|---|
| 108 | <artifactId>org.springframework.context</artifactId> |
|---|
| 109 | <version>2.5.6.A</version> |
|---|
| 110 | </dependency> |
|---|
| 111 | <dependency> |
|---|
| 112 | <groupId>org.springframework</groupId> |
|---|
| 113 | <artifactId>org.springframework.context.support</artifactId> |
|---|
| 114 | <version>2.5.6.A</version> |
|---|
| 115 | </dependency> |
|---|
| 116 | |
|---|
| 117 | |
|---|
| 118 | <dependency> |
|---|
| 119 | <groupId>edu.oswego.cs.concurrent</groupId> |
|---|
| 120 | <artifactId>com.springsource.edu.oswego.cs.dl.util.concurrent</artifactId> |
|---|
| 121 | <version>1.3.4</version> |
|---|
| 122 | </dependency> |
|---|
| 123 | |
|---|
| 124 | <dependency> |
|---|
| 125 | <groupId>org.aspectj</groupId> |
|---|
| 126 | <artifactId>com.springsource.org.aspectj.weaver</artifactId> |
|---|
| 127 | <version>1.6.5.RELEASE</version> |
|---|
| 128 | </dependency> |
|---|
| 129 | <dependency> |
|---|
| 130 | <groupId>javax.mail</groupId> |
|---|
| 131 | <artifactId>com.springsource.javax.mail</artifactId> |
|---|
| 132 | <version>1.4.1</version> |
|---|
| 133 | </dependency> |
|---|
| 134 | |
|---|
| 135 | |
|---|
| 136 | <!-- We need both to compile the our extensions. Our default is saxon 6 (that's why saxon 8 is optional) because |
|---|
| 137 | only some xsl files have been adjusted, and we want to avoid "the xsl 1 sheet ond xsl 2 processor" warning --> |
|---|
| 138 | <dependency> |
|---|
| 139 | <groupId>com.icl.saxon</groupId> |
|---|
| 140 | <artifactId>saxon</artifactId> |
|---|
| 141 | <version>6.5.5</version> |
|---|
| 142 | </dependency> |
|---|
| 143 | <dependency> |
|---|
| 144 | <groupId>net.sf.saxon</groupId> |
|---|
| 145 | <artifactId>saxon</artifactId> |
|---|
| 146 | <version>8.7</version> |
|---|
| 147 | </dependency> |
|---|
| 148 | <dependency> |
|---|
| 149 | <groupId>net.sf.saxon</groupId> |
|---|
| 150 | <artifactId>saxon-dom</artifactId> |
|---|
| 151 | <version>8.7</version> |
|---|
| 152 | <optional>true</optional> |
|---|
| 153 | </dependency> |
|---|
| 154 | <dependency> |
|---|
| 155 | <groupId>net.sf.saxon</groupId> |
|---|
| 156 | <artifactId>saxon-xpath</artifactId> |
|---|
| 157 | <version>8.7</version> |
|---|
| 158 | <optional>true</optional> |
|---|
| 159 | </dependency> |
|---|
| 160 | |
|---|
| 161 | <dependency> |
|---|
| 162 | <groupId>org.apache.bsf</groupId> |
|---|
| 163 | <artifactId>com.springsource.org.apache.bsf</artifactId> |
|---|
| 164 | <version>2.4.0</version> |
|---|
| 165 | </dependency> |
|---|
| 166 | |
|---|
| 167 | <dependency> |
|---|
| 168 | <groupId>javax.servlet</groupId> |
|---|
| 169 | <artifactId>servlet-api</artifactId> |
|---|
| 170 | <version>2.4</version> |
|---|
| 171 | <scope>provided</scope> |
|---|
| 172 | </dependency> |
|---|
| 173 | </dependencies> |
|---|
| 174 | |
|---|
| 175 | <build> |
|---|
| 176 | <plugins> |
|---|
| 177 | <!-- do not add to root pom because it forks a new lifecycle: --> |
|---|
| 178 | <plugin> |
|---|
| 179 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 180 | <artifactId>maven-source-plugin</artifactId> |
|---|
| 181 | <executions> |
|---|
| 182 | <execution> |
|---|
| 183 | <goals><goal>jar</goal></goals> |
|---|
| 184 | </execution> |
|---|
| 185 | </executions> |
|---|
| 186 | </plugin> |
|---|
| 187 | |
|---|
| 188 | <plugin> |
|---|
| 189 | <groupId>org.apache.felix</groupId> |
|---|
| 190 | <artifactId>maven-bundle-plugin</artifactId> |
|---|
| 191 | <extensions>true</extensions> |
|---|
| 192 | <configuration> |
|---|
| 193 | <instructions> |
|---|
| 194 | <Export-Package>de.schlund.pfixcore.oxm.impl.annotation,!*.internal,!*.impl,!*.internal.*,!*.impl.*,!.,org.pustefixframework.*,de.schlund.*</Export-Package> |
|---|
| 195 | <Embed-Dependency>saxon,saxon-dom,saxon-xpath</Embed-Dependency> |
|---|
| 196 | <Import-Package>!com.saxonica.validate,!com.sun.mirror.*,org.apache.log4j,!org.apache.log4j.*,*,net.sf.cglib.core,net.sf.cglib.proxy,net.sf.cglib.reflect</Import-Package> |
|---|
| 197 | <!-- |
|---|
| 198 | <Private-Package>org.pustefixframework.*</Private-Package> |
|---|
| 199 | <Bundle-Activator>org.pustefixframework.osgi.internal.Activator</Bundle-Activator> |
|---|
| 200 | --> |
|---|
| 201 | </instructions> |
|---|
| 202 | </configuration> |
|---|
| 203 | </plugin> |
|---|
| 204 | |
|---|
| 205 | <plugin> |
|---|
| 206 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 207 | <artifactId>maven-antrun-plugin</artifactId> |
|---|
| 208 | <version>1.3</version> |
|---|
| 209 | <executions> |
|---|
| 210 | <execution> |
|---|
| 211 | <phase>generate-resources</phase> |
|---|
| 212 | <configuration> |
|---|
| 213 | <tasks> |
|---|
| 214 | <mkdir dir="${basedir}/target/classes/META-INF" /> |
|---|
| 215 | <property name="svnrevision" location="${basedir}/target/classes/META-INF/SVN_REVISION" /> |
|---|
| 216 | <delete file="${svnrevision}" /> |
|---|
| 217 | <exec executable="svn" output="${svnrevision}"> |
|---|
| 218 | <arg line="info" /> |
|---|
| 219 | </exec> |
|---|
| 220 | </tasks> |
|---|
| 221 | </configuration> |
|---|
| 222 | <goals> |
|---|
| 223 | <goal>run</goal> |
|---|
| 224 | </goals> |
|---|
| 225 | </execution> |
|---|
| 226 | </executions> |
|---|
| 227 | </plugin> |
|---|
| 228 | <plugin> |
|---|
| 229 | <groupId>org.pustefixframework.maven.plugins</groupId> |
|---|
| 230 | <artifactId>pustefix-statuscode-plugin</artifactId> |
|---|
| 231 | <version>1.0.2</version> |
|---|
| 232 | <executions> |
|---|
| 233 | <execution> |
|---|
| 234 | <configuration> |
|---|
| 235 | <module>org.pustefixframework.pustefix-core</module> |
|---|
| 236 | <docRoot>${basedir}/src/main/resources/PUSTEFIX-INF</docRoot> |
|---|
| 237 | <includes><include>dyntxt/statuscodeinfo.xml</include></includes> |
|---|
| 238 | </configuration> |
|---|
| 239 | <id>statuscodes</id> |
|---|
| 240 | <goals> |
|---|
| 241 | <goal>generate</goal> |
|---|
| 242 | </goals> |
|---|
| 243 | </execution> |
|---|
| 244 | </executions> |
|---|
| 245 | </plugin> |
|---|
| 246 | </plugins> |
|---|
| 247 | </build> |
|---|
| 248 | |
|---|
| 249 | </project> |
|---|