[Yanel-dev] Referencing yanel-webapp instead servlet-api within resources

Michael Wechner michael.wechner at wyona.com
Wed Oct 22 14:38:37 CEST 2008


Hi

I have noticed, that many resources are referencing the servlet-api 
directly, which is rather bad, because in case yanel-webapp is using a 
future servlet API, then all resources need to change this setting.

Hence I think it's much better to reference yanel-webapp within the 
dependencies of a resource, whereas the dependency to the servlet-api is 
specified within pom-webapp.xml of Yanel


+      <dependency groupId="wyona-org-yanel" artifactId="yanel-webapp" 
version="${yanel.source.version}"/>
 
-      <dependency groupId="javax.servlet" artifactId="servlet-api" 
version="2.3"/>

Cheers

Michi


More information about the Yanel-development mailing list