> -----Original Message----- > From: Jason Pyeron > Sent: Wednesday, August 17, 2011 15:00 > To: 'Maven Users List' > Subject: RE: [maven] Troubleshooting a NPE in maven build > <snip/> > > > > > > When I add > > > <dependency> > > > <groupId>org.springframework.ws</groupId> > > > <artifactId>spring-ws-security</artifactId> > > > <version>2.0.2.RELEASE</version> > > > </dependency> > > > > > > I get a NPE (see attached log) if I comment it out it builds fine.
<snip/> > Failed to read artifact descriptor for > com.sun.xml.wss:xws-security:jar:3.0: > Could not transfer artifact > com.sun.xml.wss:xws-security:pom:3.0 from/to java.net > (http://download.java.net/maven/1/): No connector available > to access repository java.net > (http://download.java.net/maven/1/) of type legacy using the > available factories WagonRepositoryConnectorFactory -> [Help 1] > A work around is to install the artifact by hand. mvn install:install-file -Dfile=tmp/xws-security-3.0.jar -DgroupId=com.sun.xml.wss -DartifactId=xws-security -Dversion=3.0 -Dpackaging=jar -DgeneratePom=true But what is the solution to connect to a maven 1 repo? -Jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org