On Fri, Sep 16, 2011 at 17:30, KevinBenson <[email protected]> wrote: > Ok sure enough soon after I sent this email, I was able to narrow down > the problem with some old pom's that were somehow in my repository. > Probably from maven 1 days, so I think I am on the road to fixing the > problem. Do read the email below, it might be worth a look to see if > Taverna can log such info or to fix the repository.jboss issue. > > <dependency> > <id>????</id> > <version>????</version> > </dependency>
(Our plugin system) Raven does load the dependencies does assume that <groupId> and <artifactId> is always listed, which is a requirement for following the schema for POMs. The code does catch errors like invalid XML, but unfortunately does not catch the NullPointerException you mention, and therefore does not provide you with a helpful error message (like saying which file was being parsed). Unfortunately Raven does not log each artifact as it is analyzed, only on any (known) errors. I can therefore understand it would be difficult to track down which artifact is "wrong". In our experience such errors would mostly also be detected when building the plugin using Maven, but in some cases (where Raven is insisting on downloading the exactly stated version) such errors might not be spotted until this late stage. I've tracked your error in Jira [T2-1996], but note that myGrid are not actively maintaining Raven any more as the next version of Taverna will instead be using a different plugin system based on OSGi. Any volunteers would be appreciated, it should not be much more than adding few logger.debug and NPE handling to [ArtifactImpl] - but releasing this would require a new download of Taverna. [T2-1996] http://www.mygrid.org.uk/dev/issues/browse/T2-1996 [ArtifactImpl] http://taverna.googlecode.com/svn/taverna/engine/net.sf.taverna.t2.infrastructure/branches/maintenance/raven/src/main/java/net/sf/taverna/raven/repository/impl/ArtifactImpl.java -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/ Developers Guide: http://www.taverna.org.uk/developers/
