karutaproject / karuta-backend_legacy

Data repository for Karuta. Can write into MySQL and Oracle databases.
Other
10 stars 15 forks source link

Missing Dependencies #4

Closed mnorton closed 9 years ago

mnorton commented 9 years ago

In trying to build karuta-backend from sources, I ran into several missing dependencies in the POM. They include:

<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>4.3.3</version> </dependency> <dependency> <groupId>com.sun.jersey.contribs</groupId> <artifactId>jersey-multipart</artifactId> <version>1.18</version> </dependency> <dependency> <groupId>cas</groupId> <artifactId>casclient</artifactId> <version>2.0.11</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.2.2</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.3.2</version> </dependency>

Still missing are some LTI dependencies.

mnorton commented 9 years ago

With some help from Chuck Severance, I was able to resolve the last dependency in the karuta back end build:

groupId: org.sakaiproject.basiclti artifactId: basiclti-util version: 10.1

This references one of the BLTI artifacts created by building Sakai 10.1 locally on my computer.

mnorton commented 9 years ago

The backend code includes "/karuta-backend-master/WebContent/WEB-INF/lib/basiclti-util-11-SNAPSHOT.jar" in the lib directory. This is the same JAR I referenced via the sakaiproject dependency in previous comment. These JARs need to be included in the WAR classpath.

nobry commented 9 years ago

Yeah, I was given this jar. I have changed the pom.xml in a previous commit, putting it as "scope system" with a "systemPath" pointing to this jar in the project. Doesn't it work?

Also I've added the casclient jar 2.0.11 definition in the pom.xml and removed the provided one in WEB-INF/lib (will commit shortly)