Skip to content
Newer
Older
100755 328 lines (306 sloc) 12.4 KB
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
2 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 <groupId>org.dspace</groupId>
5 <artifactId>dspace-rest</artifactId>
6 <name>DSpace Services REST API</name>
7 <description>The core REST API for DSpace</description>
8 <url>http://projects.dspace.org</url>
9 <organization>
10 <name>The DSpace Foundation</name>
11 <url>http://www.dspace.org</url>
12 </organization>
13 <inceptionYear>Monday, September 1, 2008</inceptionYear>
14 <packaging>war</packaging>
15 <version>${parent.version}</version>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
16
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
17 <parent>
18 <groupId>org.dspace</groupId>
19 <artifactId>dspace-parent</artifactId>
2e51711 Modify pom.xml to build against DSpace 1.8.1
DSpace Admin authored Mar 22, 2012
20 <version>1.8.2-SNAPSHOT</version>
21 <relativePath>..</relativePath>
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
22 </parent>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
23
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
24 <repositories>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
25
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
26 <repository>
27 <id>maven2-repository.dev.java.net</id>
28 <name>Java.net Repository for Maven</name>
29 <url>http://download.java.net/maven/2/</url>
30 <layout>default</layout>
31 </repository>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
32
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
33 <repository>
34 <id>jboss-repo</id>
35 <name>jbos repository</name>
36 <url>http://repository.jboss.org/nexus/content/groups/public/</url>
37 </repository>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
38
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
39 <repository>
40 <id>apache repository</id>
41 <name>apache rep</name>
42 <url>https://repository.apache.org/content/repositories/releases/</url>
43 <layout>default</layout>
44 </repository>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
45
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
46 <repository>
47 <id>codehaus repository</id>
48 <name>codehaus rep</name>
49 <url>http://repo2.maven.org/maven2</url>
50 <layout>default</layout>
51 </repository>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
52
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
53 <repository>
54 <id>sakaiproject repository</id>
55 <name>sakai rep</name>
56 <url>http://source.sakaiproject.org/maven2/</url>
57 <layout>default</layout>
58 </repository>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
59
60
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
61 </repositories>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
62
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
63 <scm>
64 <connection>scm:svn:http://scm.dspace.org/svn/repo/modules/dspace-rest/trunk</connection>
65 <developerConnection>scm:svn:https://scm.dspace.org/svn/repo/modules/dspace-rest/trunk</developerConnection>
66 <url>http://scm.dspace.org/svn/repo/modules/dspace-rest/trunk</url>
67 </scm>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
68
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
69 <dependencies>
70 <dependency>
71 <groupId>org.hamcrest</groupId>
72 <artifactId>hamcrest-library</artifactId>
73 <scope>test</scope>
74 <version>1.1</version>
75 </dependency>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
76
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
77 <dependency>
78 <groupId>junit</groupId>
79 <artifactId>junit</artifactId>
80 <scope>test</scope>
81 <version>4.9</version>
82 </dependency>
1da0427 @asehra Added hamcrest package to dependencies, created test file for multipl…
asehra authored Oct 31, 2011
83
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
84 <dependency>
85 <groupId>org.apache.httpcomponents</groupId>
86 <artifactId>httpclient</artifactId>
87 <version>4.1.2</version>
88 <scope>test</scope>
89 </dependency>
1da0427 @asehra Added hamcrest package to dependencies, created test file for multipl…
asehra authored Oct 31, 2011
90
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
91 <dependency>
92 <groupId>org.mortbay.jetty</groupId>
93 <artifactId>jetty</artifactId>
94 <version>6.1.26</version>
95 <scope>test</scope>
96 </dependency>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
97
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
98 <dependency>
99 <groupId>org.dspace</groupId>
100 <artifactId>dspace-api</artifactId>
101 </dependency>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
102
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
103 <dependency>
104 <groupId>com.googlecode.json-simple</groupId>
105 <artifactId>json-simple</artifactId>
106 <scope>test</scope>
107 <version>1.1</version>
108 </dependency>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
109
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
110 <dependency>
111 <groupId>org.sakaiproject.entitybus</groupId>
112 <artifactId>entitybus-api</artifactId>
113 <scope>compile</scope>
114 <version>${sakai.version}</version>
115 </dependency>
116 <dependency>
117 <groupId>org.sakaiproject.entitybus</groupId>
118 <artifactId>entitybus-impl</artifactId>
119 <scope>compile</scope>
120 <version>${sakai.version}</version>
121 </dependency>
122 <dependency>
123 <groupId>org.sakaiproject.entitybus</groupId>
124 <artifactId>entitybus-rest</artifactId>
125 <scope>compile</scope>
126 <version>${sakai.version}</version>
127 </dependency>
128 <dependency>
129 <groupId>org.sakaiproject.entitybus</groupId>
130 <artifactId>entitybus-utils</artifactId>
131 <scope>compile</scope>
132 <version>${sakai.version}</version>
133 </dependency>
134 <dependency>
135 <groupId>org.slf4j</groupId>
136 <artifactId>slf4j-api</artifactId>
137 <version>${slf4j.version}</version>
138 </dependency>
139 <dependency>
140 <groupId>org.slf4j</groupId>
141 <artifactId>jcl-over-slf4j</artifactId>
142 <version>${slf4j.version}</version>
143 </dependency>
144 <dependency>
145 <groupId>org.slf4j</groupId>
146 <artifactId>slf4j-log4j12</artifactId>
147 <version>${slf4j.version}</version>
148 </dependency>
149 <dependency>
150 <groupId>log4j</groupId>
151 <artifactId>log4j</artifactId>
152 <version>1.2.14</version>
153 </dependency>
154 </dependencies>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
155
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
156 <build>
157 <finalName>rest</finalName>
158 <plugins>
159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-war-plugin</artifactId>
162 <configuration>
163 <archiveClasses>false</archiveClasses>
164 <!-- In version 2.1-alpha-1, this was incorrectly named warSourceExcludes -->
165 <webResources>
166 <resource>
167 <filtering>true</filtering>
168 <directory>${basedir}/src/main/webapp</directory>
169 <includes>
170 <include>WEB-INF/web.xml</include>
171 </includes>
172 </resource>
173 </webResources>
174 </configuration>
175 <executions>
176 <execution>
177 <phase>prepare-package</phase>
178 </execution>
179 </executions>
180 </plugin>
181 <plugin>
182 <artifactId>maven-resources-plugin</artifactId>
183 <version>2.5</version>
184 <executions>
185 <execution>
186 <id>dspaceRestTestConfig</id>
187 <phase>process-test-resources</phase>
188 <goals>
189 <goal>copy-resources</goal>
190 </goals>
191 <configuration>
192 <outputDirectory>${resource.test.base}</outputDirectory>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
193
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
194 <resources>
195 <resource>
196 <directory>src/test/resources-${project.version}</directory>
197 <filtering>true</filtering>
198 <includes>
199 <include>**/*.xml</include>
200 <include>**/*.properties</include>
201 <include>**/*.cfg</include>
202 <include>**/*.sql</include>
203 </includes>
204 </resource>
205 <resource>
206 <directory>src/test/resources-${project.version}</directory>
207 <filtering>false</filtering>
208 <excludes>
209 <exclude>**/*.xml</exclude>
210 <exclude>**/*.properties</exclude>
211 <exclude>**/*.cfg</exclude>
212 <exclude>**/*.sql</exclude>
213 </excludes>
214 </resource>
215 </resources>
216 </configuration>
217 </execution>
218 <execution>
219 <id>dspaceRestTestWebapp</id>
220 <phase>process-test-resources</phase>
221 <goals>
222 <goal>copy-resources</goal>
223 </goals>
224 <configuration>
225 <outputDirectory>${webapp.test.base}</outputDirectory>
226 <resources>
227 <resource>
228 <directory>src/test/webapp</directory>
229 <filtering>true</filtering>
230 <includes>
231 <include>**/*.xml</include>
232 </includes>
233 </resource>
234 </resources>
235 </configuration>
236 </execution>
237 </executions>
238 </plugin>
239 <plugin>
240 <groupId>com.google.code.maven-license-plugin</groupId>
241 <artifactId>maven-license-plugin</artifactId>
242 <version>1.4.0</version>
243 <configuration>
244 <excludes>
245 <exclude>src/test/resources-*/upload</exclude>
246 <exclude>src/test/resources-*/search</exclude>
247 <exclude>src/test/resources-*/assetstore</exclude>
248 </excludes>
249 </configuration>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
250
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
251 </plugin>
252 <plugin>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-surefire-plugin</artifactId>
255 <configuration>
256 <skipTests>${skipTests}</skipTests>
257 <environmentVariables>
258 <jetty.port>${jetty.test.port}</jetty.port>
259 <jetty.path>${jetty.test.path}</jetty.path>
260 <resource.base>${resource.test.base}</resource.base>
261 <webxml.location>${webapp.test.base}/WEB-INF/web.xml</webxml.location>
262 </environmentVariables>
263 </configuration>
264 </plugin>
265 </plugins>
266 </build>
64238c2 @workmad3 Making rest api into separate repository
workmad3 authored Oct 25, 2011
267
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
268 <profiles>
269 <profile>
270 <activation>
271 <property>
272 <name>dspace.config</name>
273 </property>
274 </activation>
275 <build>
276 <filters>
277 <filter>${dspace.config}</filter>
278 </filters>
279 </build>
280 </profile>
281 <profile>
282 <id>oracle-support</id>
283 <activation>
284 <property>
285 <name>db.name</name>
286 <value>oracle</value>
287 </property>
288 </activation>
289 <dependencies>
290 <dependency>
291 <groupId>com.oracle</groupId>
292 <artifactId>ojdbc14</artifactId>
293 </dependency>
294 </dependencies>
295 </profile>
296 <profile>
297 <id>postgres-support</id>
298 <activation>
299 <property>
300 <name>!db.name</name>
301 </property>
302 </activation>
303 <dependencies>
304 <dependency>
305 <groupId>postgresql</groupId>
306 <artifactId>postgresql</artifactId>
307 </dependency>
308 </dependencies>
309 </profile>
310 </profiles>
311 <properties>
312 <sakai.version>1.0.8</sakai.version>
313 <slf4j.version>1.5.6</slf4j.version>
314 <skipTests>true</skipTests>
315 <test.db.name>postgres</test.db.name>
316 <test.db.driver>org.postgresql.Driver</test.db.driver>
317 <test.db.dbname>dspace-integ</test.db.dbname>
318 <test.db.url>jdbc:postgresql://localhost:5432/${test.db.dbname}</test.db.url>
319 <test.db.username>dspace-integ</test.db.username>
320 <test.db.password>dspace</test.db.password>
321 <jetty.test.port>9090</jetty.test.port>
5034835 @workmad3 Added search index to test resources. Paramterised the resources dire…
workmad3 authored Nov 10, 2011
322 <jetty.test.path>/dspace-rest</jetty.test.path>
c2f30fe @workmad3 POM changes
workmad3 authored Feb 3, 2012
323 <resource.test.base>${basedir}/target/testResources</resource.test.base>
324 <webapp.test.base>${basedir}/target/testWebapp</webapp.test.base>
325 <netbeans.hint.deploy.server>Tomcat60</netbeans.hint.deploy.server>
326 </properties>
a3c2194 @workmad3 Fixed bug in collection entity with a small refactoring. Added test f…
workmad3 authored Oct 31, 2011
327 </project>
Something went wrong with that request. Please try again.