That was it - an indirect dependency. The older servlet jar vanished after removing - <dependency> - <groupId>com.google.oauth-client</groupId> - <artifactId>google-oauth-client-jetty</artifactId> - </dependency> from dspace-api.pom.xml
mvn is still somewhat mysterious to me. make on steroids with so many options it makes your head spin. I have seen the tutorials that explain how to compile HelloWorld.java. But those are not very helpful when dealing with poms referring to poms. Best way to search for apps / jars/ version … mvm just some packages .. analyzing an issue In short : does anybody have a favorite tutorial / book to recommend ? Monika ________________ Monika Mevenkamp phone: 609-258-4161 Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 08544 > On Mar 5, 2015, at 9:16 AM, Mark H. Wood <mw...@iupui.edu> wrote: > > 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 > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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