I have been using m2eclipse but found IAM when searching for information on maven and war overlays.
Unfortunately I cannot get it to work. If I create a new maven project, select the apache maven webapp prototype, then add in a war dependency and try and run it on the server it does need seem to run with the dependency overlaid.
The stuff in the target dir does have the overlay applied.
Does it sound like I'm doing this correctly? I'm using Helios on Windows 7 and have tried both the update-iam and update-dev updates sites for IAM with the same result on both builds.
what appserver are you deploying to?
is the war dependency open in the workspace or is it in the repository?
try to have it open in the workspace
On 10/26/10 4:41 AM, Andrew Myers wrote:
> Hi,
>
> I have been using m2eclipse but found IAM when searching for information
> on maven and war overlays.
>
> Unfortunately I cannot get it to work. If I create a new maven project,
> select the apache maven webapp prototype, then add in a war dependency
> and try and run it on the server it does need seem to run with the
> dependency overlaid.
>
> The stuff in the target dir does have the overlay applied.
> Does it sound like I'm doing this correctly? I'm using Helios on Windows
> 7 and have tried both the update-iam and update-dev updates sites for
> IAM with the same result on both builds.
>
> Any advice would be greatly appreciated.
>
> Best regards,
> Andrew
I'm using Tomcat 6.0.26 on Windows 7, with Eclipse Helios for Java EE. The war dependency was in the repository. I have opened it in the workspace now and it seems to work somewhat.
However I have still found a few issues. For example there is an index.jsp in the war dependency which it won't load unless I put it in the project that depends on it.