java - Maven, GWT, Google Eclipse plugin, can not copy jar to WEB-INF/lib when dependency project is war -
i have maven project, project depends on project b, gwt web project, in project a's pom:
<dependency> <groupid>com.mydomain</groupid> <artifactid>b</artifactid> <version>0.0.1-snapshot</version> </dependency>
and b project's packaging jar. works fine till now. need add integrated test on project b, need turn project b's packaging war, can setup web environment can run integrated test cases.
then when run/debug project using google eclipse plugin, project b's jar never copied project a's target/a-0.0.1-snapshot/web-inf/lib, , runtime class not foundexception thrown. questions how solve problem this, need integrated testcases in b , debug in project a. appreciated.
hmm, not sure understand-- suggest packaging b
jar used a
, , independently package , deploy b
war
.
this separation allow both a
, b.war
depend on b.jar
opposed a
depending on b.war
.
Comments
Post a Comment