You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jeff Mutonho <ej...@gmail.com> on 2006/07/18 18:44:32 UTC

Excluding java files in war

My war file is being created with the source files (i.e java files)
in it.I have defined the following in my pom to exclude *.java files ,
but  doesn't seem to be working
resources>
			<resource>
				<directory>JavaSource</directory>
				<excludes>
					<exclude>za/**/*.java</exclude>
				</excludes>
				<includes>
					<include>*.properties</include>
				</includes>
			</resource>
		</resources>


The java source files are located in "JavaSource/za/mycompany/portal ....."


Jeff  Mutonho

GoogleTalk : ejbengine
Skype        : ejbengine
Registered Linux user number 366042

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org