it should be both provided and <optional>true</optional> as far as i know
blame the people who wrote that pom On 24 September 2008 09:41, 陈思淼 <[EMAIL PROTECTED]> wrote: > This is commons-logging' pom on central maven repository: > > http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom > why the commons-logging include servlet-api dependence?Is that should be > provided? I can use excludes to disable it, but that is ugly style. > > <dependency> > > > <groupId>javax.servlet</groupId> > > > <artifactId>servlet-api</artifactId> > > > <version>2.3</version> > > > </dependency> > > >
