Re: Maven jetty plugin and excluding activation jar

2009-10-15 Thread richard schmidt
Okay, get it now...thanks for the hint!

On Thu, Oct 15, 2009 at 4:16 PM, richard schmidt wrote:

> I am sorry but I dont understand what you mean?
>
>
> On Thu, Oct 15, 2009 at 3:24 PM, Wayne Fay  wrote:
>
>> > How can I configure the maven-jetty-plugin to exclude the activation.jar
>> > when jetty starts up?
>>
>> Proper usage of profiles is nearly always the solution to these kinds
>> of problems.
>>
>> Wayne
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>


Re: Maven jetty plugin and excluding activation jar

2009-10-14 Thread richard schmidt
I am sorry but I dont understand what you mean?

On Thu, Oct 15, 2009 at 3:24 PM, Wayne Fay  wrote:

> > How can I configure the maven-jetty-plugin to exclude the activation.jar
> > when jetty starts up?
>
> Proper usage of profiles is nearly always the solution to these kinds
> of problems.
>
> Wayne
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Maven jetty plugin and excluding activation jar

2009-10-14 Thread Wayne Fay
> How can I configure the maven-jetty-plugin to exclude the activation.jar
> when jetty starts up?

Proper usage of profiles is nearly always the solution to these kinds
of problems.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Maven jetty plugin and excluding activation jar

2009-10-14 Thread richard schmidt
How do I exclude the activation jar when i start up jetty using the
maven-jetty-plugin:run goal?
The WAR we are developing is to be deployed to a tomcat server, which does
NOT include the activation.jar in its lib directory. This means that we need
to include the jar in the project WAR file.

Jetty DOES include the activation.jar in its lib directory. If I use the
maven-jetty-plugin to test our application, then I get all sorts of errors
due to the VM finding multiple copies of the application.jar in its
classpath


How can I configure the maven-jetty-plugin to exclude the activation.jar
when jetty starts up?


Thanks
Richard