maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <rwhee...@artifact-software.com>
Subject Re: how to exclude log4j.properties when mvn assembly:single?
Date Thu, 03 Apr 2014 12:52:51 GMT
Why are you using the assembly-plugin?
You normally don't need it to build jars.



On 03/04/2014 5:24 AM, Li Li wrote:
> I want to jar my program with all the dependencies. I have a
> dependency of hadoop. the log4j.properties is included in my
> application.
> how to exclude it?
> I have tried this but no luck
>
> <artifactId>maven-assembly-plugin</artifactId>
>     <configuration>
>       <excludes>
>       <exclude>**/log4j.properties</exclude>
>       </excludes>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


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


Mime
View raw message