Hi,
I've just tried running a web application with webby 0.1.0.201106240305
and it failed to start with message "Could not locate configuration for
maven-war-plugin".
Here's POM for the war project I was trying to launch:
http://objectledge.org/fisheye/browse/cyklotron/trunk/cyklotron-webapp/pom.xml?hb=true#to105
As you can see maven-war-plugin configuration definitely is in there :).
I looked at the target directory and I've noticed that m2e-webby
directory was created and some of the application contents were unpacked
into it. Judging from what has been unpacked and what hasn't I'm
guessing that overlays coming from projects that have war packaging were
processed correctly. There are however overlays coming from wars
generated as attached artifacts. See
http://objectledge.org/fisheye/browse/cyklotron/trunk/cyklotron-ui/pom.xml?r=9827#to77
and
http://objectledge.org/fisheye/browse/ledge/trunk/ledge-maven-assemblies/src/main/resources/assemblies/content-war.xml?hb=true.
This works with standalone maven build. I haven't checked yet if current
m2e-wtp can handle it. 0.12.x and lower definitely could not. I don't
know if it's supposed to be in webby. Even if not, more informative
error message would be nice.
As I think about it, I could flip things over and change the packaging
of these non-standard projects to war and generate jars with classes as
attached artifacts instead. War plugin has a configuration option for
this if I remember correctly. That would actually make things less
complicated. I'll try that and let you know if it fixes webby problem
I've run into.
cheers,
Rafał
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users