"Wayne Fay" <[email protected]> wrote in message
news:[email protected]...
>> I don't know if it has anything to do with the maven-war-plugin settings
>> which specifically excludes the **/*.jsp files from my war, but I figured
>> the war plugin was seperate from the source plugin, and shoulnd't be
>> sharing
>> configuration information.
>
> I don't know for sure either, but go ahead and comment that out and
> try your build again to see what happens.
Nope. Not surprisingly, no change. The only way I have managed to get them
in the sources jar is to explicitly add
<build>
....
<!-- include the webapp as a resources -->
<resources>
<resource>
<directory>src/main/webapp</directory>
</resource>
</resources>
</build>
in the pom.xml, however, that ends up copying all the files over into the
classes/ folder, which then also end up in my war. And unfortunately they
end up directly in the classes/ folder, not under classes/webapp, so I can't
even exclude them in my war plugin.
According to the java sources for the sources plugin, it gets its resource
list from MavenProject.getResources(), which is infact the
build.getResources() list. Is there anyway to modify the build resources
for that particular plugin only?
Any ideas?
Thanks,
Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]