No question is ever silly! I thought I had run maven clean but apparently
I did not. Works like a charm now.
As for the jar files in the lib dir, we use WebSphere Studio and do our
testing on the embedded server in the tool. They are needed somewhere in
the class path for running it local. Some of us put things in the lib
directory, other put them in a separate project and refer to them as
external jars. We haven't decided which is better both have pros and
cons.
Thanks a lot Nathan.
Regards,
Earl Hokens
312-322-4173 (desk)
312-404-2718 (mobile)
[EMAIL PROTECTED]
Nathan Coast <[EMAIL PROTECTED]>
09/16/2004 08:12 PM
Please respond to "Maven Users List"
To: Maven Users List <[EMAIL PROTECTED]>
cc:
Subject: Re: maven war problem
looks ok to me,
this might be a silly suggestion but have executed maven clean since you
modified the
maven.war.src.excludes?
is your source directory [project]/WebContent
or
[project]/src/WebContent
if the latter, you'll want
maven.war.src=${maven.src.dir}/WebContent
you might want to check there is no overriding maven.war.src.excludes
entry in
[user_home]/build.properties
One more thing, you probably don't want jar files in your maven.war.src
dir these should
probably be identified with dependency elements in your project.xml
hope this is useful
[EMAIL PROTECTED] wrote:
> I am trying to package up a war file with Maven 1.0. I am able to get
it
> to work but I am trying to exclude files from the war and it is not
> working.
>
> This is the information in my project.properties
> maven.multiproject.type=war
> maven.war.src=${basedir}/WebContent
> maven.war.src.excludes=**/*.jar,**/*.gph,**/*.xmi
>
> The files matching these criteria are still included in the war. I've
> tried various permutations of the exclude files to no avail. What I am
> doing wrong?
>
> Thanks,
> Earl Hokens
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]