You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon" <ed...@apache.org> on 2011/06/10 03:47:04 UTC
servlet-api dependency
Hi,
Why do we need servlet-api?
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>
It seems unnecessary.
--
Best Regards, Edward J. Yoon
@eddieyoon
Re: servlet-api dependency
Posted by Thomas Jungblut <th...@googlemail.com>.
Ah cool. Didn't know the trick with 'mvn dependency:analyze'.
Thank you very much Tommaso!
2011/6/10 Tommaso Teofili <to...@gmail.com>:
> This is the result of running 'mvn dependency:analyze', so we should
> consider making the needed changes:
>
> [WARNING] Used undeclared dependencies found:
>> [WARNING] org.mortbay.jetty:servlet-api-2.5:jar:6.1H.14.1:compile
>> [WARNING] Unused declared dependencies found:
>> [WARNING] commons-cli:commons-cli:jar:1.2:compile
>> [WARNING] commons-logging:commons-logging-api:jar:1.0.4:compile
>> [WARNING] org.mortbay.jetty:jetty-jsp-2.1:jar:7.0.2.v20100331:compile
>> [WARNING] org.mortbay.jetty:jsp-api-2.1:jar:6.1H.14.1:compile
>> [WARNING] org.mortbay.jetty:jetty-plus:jar:6.1H.22:compile
>> [WARNING] org.mortbay.jetty:jetty-naming:jar:6.1H.22:compile
>> [WARNING] org.mortbay.jetty:jetty-annotations:jar:6.1H.22:compile
>> [WARNING] org.eclipse.jdt.core.compiler:ecj:jar:3.5.1:compile
>> [WARNING] org.apache.tomcat:jasper:jar:6.0.32:compile
>> [WARNING] org.apache.tomcat:jasper-el:jar:6.0.32:compile
>> [WARNING] org.apache.tomcat:juli:jar:6.0.32:compile
>> [WARNING] org.slf4j:slf4j-log4j12:jar:1.5.2:compile
>> [WARNING] javax.servlet:servlet-api:jar:2.5:compile
>
>
> so I think that dependency comes from jetty, will try to modify POM
> according to the above warnings and let you know.
> Regards,
> Tommaso
>
> 2011/6/10 Thomas Jungblut <th...@googlemail.com>
>
>> Hi,
>>
>> Hadoop used it, so I was really sure that we need it, too.
>> If it really is unnecessary then we should remove it.
>>
>> 2011/6/10 Edward J. Yoon <ed...@apache.org>:
>> > Hi,
>> >
>> > Why do we need servlet-api?
>> >
>> > <dependency>
>> > <groupId>javax.servlet</groupId>
>> > <artifactId>servlet-api</artifactId>
>> > <version>2.5</version>
>> > </dependency>
>> >
>> > It seems unnecessary.
>> >
>> > --
>> > Best Regards, Edward J. Yoon
>> > @eddieyoon
>> >
>>
>>
>>
>> --
>> Thomas Jungblut
>> Berlin
>>
>> mobile: 0170-3081070
>>
>> business: thomas.jungblut@testberichte.de
>> private: thomas.jungblut@gmail.com
>>
>
--
Thomas Jungblut
Berlin
mobile: 0170-3081070
business: thomas.jungblut@testberichte.de
private: thomas.jungblut@gmail.com
Re: servlet-api dependency
Posted by Tommaso Teofili <to...@gmail.com>.
This is the result of running 'mvn dependency:analyze', so we should
consider making the needed changes:
[WARNING] Used undeclared dependencies found:
> [WARNING] org.mortbay.jetty:servlet-api-2.5:jar:6.1H.14.1:compile
> [WARNING] Unused declared dependencies found:
> [WARNING] commons-cli:commons-cli:jar:1.2:compile
> [WARNING] commons-logging:commons-logging-api:jar:1.0.4:compile
> [WARNING] org.mortbay.jetty:jetty-jsp-2.1:jar:7.0.2.v20100331:compile
> [WARNING] org.mortbay.jetty:jsp-api-2.1:jar:6.1H.14.1:compile
> [WARNING] org.mortbay.jetty:jetty-plus:jar:6.1H.22:compile
> [WARNING] org.mortbay.jetty:jetty-naming:jar:6.1H.22:compile
> [WARNING] org.mortbay.jetty:jetty-annotations:jar:6.1H.22:compile
> [WARNING] org.eclipse.jdt.core.compiler:ecj:jar:3.5.1:compile
> [WARNING] org.apache.tomcat:jasper:jar:6.0.32:compile
> [WARNING] org.apache.tomcat:jasper-el:jar:6.0.32:compile
> [WARNING] org.apache.tomcat:juli:jar:6.0.32:compile
> [WARNING] org.slf4j:slf4j-log4j12:jar:1.5.2:compile
> [WARNING] javax.servlet:servlet-api:jar:2.5:compile
so I think that dependency comes from jetty, will try to modify POM
according to the above warnings and let you know.
Regards,
Tommaso
2011/6/10 Thomas Jungblut <th...@googlemail.com>
> Hi,
>
> Hadoop used it, so I was really sure that we need it, too.
> If it really is unnecessary then we should remove it.
>
> 2011/6/10 Edward J. Yoon <ed...@apache.org>:
> > Hi,
> >
> > Why do we need servlet-api?
> >
> > <dependency>
> > <groupId>javax.servlet</groupId>
> > <artifactId>servlet-api</artifactId>
> > <version>2.5</version>
> > </dependency>
> >
> > It seems unnecessary.
> >
> > --
> > Best Regards, Edward J. Yoon
> > @eddieyoon
> >
>
>
>
> --
> Thomas Jungblut
> Berlin
>
> mobile: 0170-3081070
>
> business: thomas.jungblut@testberichte.de
> private: thomas.jungblut@gmail.com
>
Re: servlet-api dependency
Posted by Thomas Jungblut <th...@googlemail.com>.
Hi,
Hadoop used it, so I was really sure that we need it, too.
If it really is unnecessary then we should remove it.
2011/6/10 Edward J. Yoon <ed...@apache.org>:
> Hi,
>
> Why do we need servlet-api?
>
> <dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>servlet-api</artifactId>
> <version>2.5</version>
> </dependency>
>
> It seems unnecessary.
>
> --
> Best Regards, Edward J. Yoon
> @eddieyoon
>
--
Thomas Jungblut
Berlin
mobile: 0170-3081070
business: thomas.jungblut@testberichte.de
private: thomas.jungblut@gmail.com