On Wed, Mar 04, 2015 at 07:34:44PM +0000, Monika C. Mevenkamp wrote:
> Ah - Yikes - Thanks
> 
> It compiles now   after I changed the dependencies to rely on  
> <artifactId>javax.servlet-api</artifactId>
> Unfortunately this had to be done in all sorts of pom.xml files
> 
> BUT
> 
> after the compile I still find WEB-INF/lib/servlet-api-2.5-20081211.jar in 
> webapps/*/WEB-INF/lib directories
> 
> when I do
> > ant update
> > rm $DSPACE_HOME/webapps/jspui/WEB-INF/lib/*servlet*
> then restart tomcat and localhost:8080/jspui comes up fine

My reading of the output of 'mvn dependency:tree' suggests that this
is org.mortbay.jetty:servlet-api, pulled in transitively due to the
dependency on org.mortbay.jetty.jetty by
com.google.oauth-client-jetty, which for some reason is a dependency
of dspace-api.  I wonder what happens when we exclude
o.m.j:servlet-api?

It looks to me as though at least oauth-client-jetty, and perhaps
others, should be in <scope>test</scope>.  That's probably a better fix.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to