Permalink
Browse files

Fix so that the JMS jar could be located.

This is done by added the Sakai maven repository.
Tidy up the buildfile a little.
  • Loading branch information...
1 parent c34ab49 commit cad8a6493701de325751d731e6ed0fa9410d71bf @buckett buckett committed May 19, 2011
Showing with 89 additions and 143 deletions.
  1. +89 −143 pom.xml
View
232 pom.xml
@@ -1,46 +1,6 @@
-<?xml version="1.0"?>
-
-<!--
-/**********************************************************************************
- * $URL$
- * $Id$
- ***********************************************************************************
- *
- * Copyright (c) 2008 Etudes, Inc.
- *
- * Portions completed before September 1, 2008
- * Copyright (c) 2007, 2008 The Regents of the University of Michigan & Foothill College, ETUDES Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- **********************************************************************************/
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0">
-<modelVersion>4.0.0</modelVersion>
-
-<!-- for stand-alone building under test-center -->
-<!--
- <parent>
- <groupId>org.etudes.test-center</groupId>
- <artifactId>test-center</artifactId>
- <version>1.2</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
--->
-
-<!-- for embedded building withing sakai -->
-<!-- Note: set the version to the Sakai version you are using -->
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
<name>Sir Louie Project</name>
<groupId>uk.ac.ox.oucs.vle</groupId>
@@ -58,144 +18,130 @@
<configuration>
<source>1.5</source>
<target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <inherited>true</inherited>
- <groupId>org.sakaiproject.maven.plugins</groupId>
- <artifactId>sakai</artifactId>
- <version>1.6.ox1</version>
- <extensions>true</extensions>
- <configuration>
- <deployDirectory>${maven.tomcat.home}</deployDirectory>
- <warSourceDirectory>${basedir}/src/webapp</warSourceDirectory>
- </configuration>
- </plugin>
- </plugins>
-
- <resources>
- <resource>
- <directory>${basedir}/src/main/resources</directory>
- <includes>
- <include>**/*.csv</include>
- </includes>
- </resource>
- </resources>
- </build>
+ </configuration>
+ </plugin>
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.sakaiproject.maven.plugins</groupId>
+ <artifactId>sakai</artifactId>
+ <version>1.6.ox1</version>
+ <extensions>true</extensions>
+ <configuration>
+ <deployDirectory>${maven.tomcat.home}</deployDirectory>
+ <warSourceDirectory>${basedir}/src/webapp</warSourceDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+
+ <resources>
+ <resource>
+ <directory>${basedir}/src/main/resources</directory>
+ <includes>
+ <include>**/*.csv</include>
+ </includes>
+ </resource>
+ </resources>
+ </build>
<repositories>
<repository>
- <id>maven2-repository.dev.java.net</id>
- <name>Java.net Repository for Maven</name>
- <url>http://download.java.net/maven/2/</url>
+ <id>sakai-maven</id>
+ <name>Sakai Maven Repository</name>
<layout>default</layout>
+ <url>http://source.sakaiproject.org/maven2</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
</repository>
</repositories>
-
+
<properties>
- <mneme.version>1.2</mneme.version>
- <ambrosia.version>1.2</ambrosia.version>
<sakai.commons.logging.version>1.0.4</sakai.commons.logging.version>
</properties>
-
+
<dependencies>
<dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.4</version>
- <scope>provided</scope>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
</dependency>
-
+
<dependency>
- <groupId>com.sun.jersey</groupId>
- <artifactId>jersey-client</artifactId>
- <version>1.5</version>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-client</artifactId>
+ <version>1.5</version>
</dependency>
<dependency>
- <groupId>com.sun.jersey</groupId>
- <artifactId>jersey-core</artifactId>
- <version>1.5</version>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-core</artifactId>
+ <version>1.5</version>
</dependency>
<dependency>
- <groupId>com.sun.jersey</groupId>
- <artifactId>jersey-server</artifactId>
- <version>1.5</version>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-server</artifactId>
+ <version>1.5</version>
</dependency>
-
+
<dependency>
- <groupId>com.sun.jersey</groupId>
- <artifactId>jersey-json</artifactId>
- <version>1.5</version>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-json</artifactId>
+ <version>1.5</version>
</dependency>
-
+
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.2</version>
- </dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.2</version>
+ </dependency>
<dependency>
- <groupId>jdom</groupId>
- <artifactId>jdom</artifactId>
- <version>1.1</version>
+ <groupId>jdom</groupId>
+ <artifactId>jdom</artifactId>
+ <version>1.1</version>
</dependency>
-
+
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20080701</version>
</dependency>
- <!--
+ <!--
+ <dependency>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-jaxrs</artifactId>
+ <version>1.6.2</version>
+ </dependency>
+ -->
<dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-jaxrs</artifactId>
- <version>1.6.2</version>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
</dependency>
- -->
<dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.4</version>
- <scope>provided</scope>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1</version>
+ <scope>provided</scope>
</dependency>
<dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <groupId>opensymphony</groupId>
+ <artifactId>oscache</artifactId>
+ <version>2.4</version>
</dependency>
<dependency>
- <groupId>opensymphony</groupId>
- <artifactId>oscache</artifactId>
- <version>2.4</version>
+ <groupId>org.sakaiproject.kernel</groupId>
+ <artifactId>sakai-kernel-api</artifactId>
+ <version>1.0.18</version>
+ <scope>provided</scope>
</dependency>
<dependency>
- <groupId>org.sakaiproject.kernel</groupId>
- <artifactId>sakai-kernel-api</artifactId>
- <version>1.0.18</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.sakaiproject.kernel</groupId>
- <artifactId>sakai-component-manager</artifactId>
- <version>1.0.18</version>
- <scope>provided</scope>
- </dependency>
+ <groupId>org.sakaiproject.kernel</groupId>
+ <artifactId>sakai-component-manager</artifactId>
+ <version>1.0.18</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
- <profiles>
- <profile>
- <id>bundled with sakai</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <dependencies>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- </profile>
- </profiles>
</project>

0 comments on commit cad8a64

Please sign in to comment.