Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Running embedded Jetty

Both mvn:jetty and mvn:install work as expected (all the resources files re filtered correctly using the active profile). 

My questions is that how to do this when I'm in development using embedded Jetty inside Eclipse (when maven isn't involved)?



On Sun, Oct 29, 2017 at 5:22 PM, Olivier Lamy <olamy@xxxxxxxxxxx> wrote:
Hi
You have to included your filtered resources in your final war.
So:
* build your war with activating your Maven profile
* move your resources filtering in the standard build (i.e w/o Maven profile) 

As it the filtered files will be part of the build (in target/classes)



On Mon, Oct 30, 2017 at 6:19 AM, Lucy Chen <trlt48@xxxxxxxxx> wrote:
Hi -

I have a project that uses a Maven profile to filter resources and package into a *.war file (e.g  mvn install or mvn jetty:run)  However, how is this accomplished when running a standalone alone Jetty or embedded Jetty when Maven is not involved? (or can you specify a profile?).  How do those resources get filtered?





_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users



--
Olivier

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top