On Wed, Mar 04, 2015 at 03:19:02PM +0000, Monika C. Mevenkamp wrote: > Thanks Andrea and a follow up question to mvn experts > > My tomcat8 says in its release notes > * servlet-api.jar (Servlet 3.1 API) > so I changed the main pom to say > <dependency> > <groupId>javax.servlet</groupId> > <artifactId>servlet-api</artifactId> > <version>3.1.0</version> > </dependency> > > then a couple rounds of unsuccessful mvn package attempts > > Finally I removed ~/.m2/repository/javax and tried again > > mvn clean > > mvn -U package > > this triggers downloading of all sorts of a javax packages. As you can see in > the list below there is a > javax/servlet/servlet-api/3.1.0/servlet-api-3.1.0.jar and pom > > despite this I get the error > > [ERROR] Failed to execute goal on project dspace-services: Could not resolve > dependencies for project org.dspace:dspace-services:jar:6.0-SNAPSHOT: Could > not find artifact javax.servlet:servlet-api:jar:3.1.0 in sonatype-releases > (https://oss.sonatype.org/content/repositories/releases/) > > I am at a loss - since the jar/pom was downloaded - why is maven / am I > confused ?
They changed the name of the artifact starting with 3.0.1. The GAV coordinates are now javax.servlet:javax.servlet-api:3.1.0. http://search.maven.org/#artifactdetails|javax.servlet|javax.servlet-api|3.1.0|jar Personally I think this sort of renaming should be a hanging offense. -- 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
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