Jan,

The Core project simply traverses the 3 sub-projects. So when I run mvn
clean install from the core project it runs tests on all 3 projects. When
it gets to the war project it starts up jetty just fine, the only issue is
that it references the core directory while running, which throws my tests
out of whack.
>From my understanding, that is still running it from the webapp module
since the core traverses down to the war project.

Kyle


On Sat, May 24, 2014 at 4:47 AM, Jan Bartel <[email protected]> wrote:

> 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 <[email protected]> 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
> > [email protected]
> > https://dev.eclipse.org/mailman/listinfo/jetty-users
> >
>
>
>
> --
> Jan Bartel <[email protected]>
> www.webtide.com
> 'Expert Jetty/CometD developer,production,operations advice'
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>



-- 
Kyle Mera - Software Engineer Intern
AgileSrc LLC
3259 Progress Drive, Suite 159
Orlando, FL 32826
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to