On Fri, Mar 27, 2009 at 11:58 AM, Simon Laws <[email protected]> wrote: > snip... >> >> In the current code, we register the URLArtifactProcessor against the >> artifacts based on the names of the artifact URI/URL. In 1.x, the artifact >> type is either a file extension or file name and the processors are keyed by >> the artifact type. As a result, only one processor will be picked. In 2.x, I >> add the wildcard support which allows more than one processors to match the >> same artifact (I probably have to allow more than one processors to be >> invoked). Meanwhile, the URLArtifactProcessor should be implemented to >> tolerate the artifacts whose content cannot be processed. In such cases, >> null should be returned and the next matching processor can deal with it. >> > > > By "meanwhile" here Raymond do you mean these are the extra things to > do ontop of the other 2,x changes you've made. In 1.x we don't have > the wildcard support just yet. > > Simon >
For the time being I've made appropriate changes so that.. 1) there is no NPE if contribution-jee is referenced but contribution-jee-impl is not 2) there is no NPE if no component type information is retrieved from the jar being analysed Regards Simon
