The version of the maven-eclipse-plugin I am using is 2.5.1. It just does
not work. The configuration is like the following:

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-eclipse-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>as:as-relation</exclude>
                    </excludes>
                </configuration>
            </plugin>


Regards,
Rice

On Thu, Nov 13, 2008 at 5:37 PM, Nick Stolwijk <[EMAIL PROTECTED]>wrote:

> Are you sure you are using version 2.5 or better of the
> maven-eclipse-plugin?
>
> With regards,
>
> Nick Stolwijk
> ~Java Developer~
>
> Iprofs BV.
> Claus Sluterweg 125
> 2012 WS Haarlem
> www.iprofs.nl
>
>
>
> On Thu, Nov 13, 2008 at 2:09 AM, Rice Yeh <[EMAIL PROTECTED]> wrote:
> > Yes, I tried. But it seems not work. Shouldn't the named jar be excluded
> > from .classpath.
> >
> > Regards,
> > Rice
> >
> > On Thu, Nov 13, 2008 at 6:59 AM, Nick Stolwijk <[EMAIL PROTECTED]
> >wrote:
> >
> >> It is indeed not clear from the documentation, but if you look the
> >> documentation closely you see a Jira issue attached:
> >>
> >> List of artifact to exclude from eclipse classpath, beeing provided by
> >> some eclipse classPathContainer [MECLIPSE-79]
> >>
> >> This jira issue provide the documentation:
> >>
> >> <excludes>
> >>    <exclude>junit:junit</exclude>
> >> </excludes>
> >>
> >> I've created a new issue to improve the documentation:
> >>
> >> http://jira.codehaus.org/browse/MECLIPSE-499
> >>
> >> Hth,
> >>
> >> Nick Stolwijk
> >> ~Java Developer~
> >>
> >> Iprofs BV.
> >> Claus Sluterweg 125
> >> 2012 WS Haarlem
> >> www.iprofs.nl
> >>
> >>
> >>
> >> On Wed, Nov 12, 2008 at 5:01 PM, Rice Yeh <[EMAIL PROTECTED]> wrote:
> >> > Hi,
> >> >  How do I configure pom to exclude some jar from the classpath
> generated
> >> by
> >> > eclipse:eclipse. I have checked the documents of eclipse:eclipse.
> There
> >> is a
> >> > parameter "excludes" but there is no example.
> >> >
> >> > Regards,
> >> > Rice
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> 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