Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty startup directory

Kyle,

In general, the jetty-maven-plugin is only designed to be used from a
webapp module.

Jan

On 23 May 2014 20:42, Kyle Mera <kyle.mera@xxxxxxxxxxxx> wrote:
> Hello fellow Jetty users,
>
> I have a multi-module project that includes a war-project that runs a Jetty
> server.
>
> Core
>
> api -> impl -> war
>
> When I run mvn jetty:run from the war module directory everything works as
> expected. The database files are saved in war/target/database.
> However, when I run any maven command from the core project, Jetty uses the
> core directory to base the server. So the /target directory that is supposed
> to be in the war project gets placed in the core directory.
> Jetty starts from the war module so I'm not sure why it is using the core
> directory as it's base.
>
> Are their any configurations I can use to enable Jetty to run from the war
> directory instead of the core directory or is implemented by design?
>
> Thanks!
>
> --
> Kyle Mera - Software Engineer Intern
> AgileSrc LLC
> 3259 Progress Drive, Suite 159
> Orlando, FL 32826
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>



-- 
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com
'Expert Jetty/CometD developer,production,operations advice'


Back to the top