Those files are needed to build your application. If you think the pom
is wrong and they are actually not needed you can file an issue at
http://jira.codehaus.org/browse/MEV, so you don't need any hack in
your poms.

On 10/17/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: <[EMAIL PROTECTED]>
> > Is there a way to trun off the dependency checking of maven only for these
> > javax dependencies?
>
> I don't know if it's the official "right answer" but you can exclude
> dependencies... I'm doing it to get rid of the wrong artifact names
> (servletapi vs. servlet-api) until the project poms are fixed:
>
>       <dependency>
>          <groupId>javax.servlet</groupId>
>          <artifactId>servlet-api</artifactId>
>          <version>2.4</version>
>          <exclusions>
>             <exclusion>
>                <groupId>servletapi</groupId>
>                <artifactId>servletapi</artifactId>
>             </exclusion>
>          </exclusions>
>       </dependency>
>
> (And because it took me a while to figure it out, if you use the -X switch
> on the command line, m2 will show you where the transitive dependencies are
> coming from.)
>
> --
> Wendy Smoak
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to