hi,

my setting is as follows:

rootModule
  -webapp

In pre-integration-test I start webapp with jetty plugin (webapp/pom.xml):
----------------------------
 <plugin>
   <org.mortbay.jetty</groupId>
   <artifactId>maven-jetty-plugin</artifactId>
   <version>6.1.18</version>
  ....
  <dependencies>
      <dependency>
        <groupId>org.hsqldb</groupId>
        <artifactId>hsqldb</artifactId>
        <version>1.8.0.10</version>
     </dependency>
  </dependencies>
....
</plugin>
----------------------------------

When running 'mvn pre-integration-test' inside webapp/ jetty starts up fine
with the hsqdlb.

But it fails when running the same command inside rootModule/ with
ClassNotFoundError ....hsql.jdbcDriver.

Why the heck is the <dependencies> section ignored for jetty plugin when
running it from the parent module? It is a real miracle because the reactor
itself should do nothing as also descending to the webapp/ folder and run
the maven command.

thanks.




-----
manuel aldana
aldana((at))gmx.de
software-engineering blog: http://www.aldana-online.de
-- 
View this message in context: 
http://www.nabble.com/Very-weird-jetty-plugin-behaviour-%28excluding-plugin-dependency-when-run-from-parent-module%29-tp24205952p24205952.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Reply via email to