Hi Li, > the log4j.properties is included in my application. > how to exclude it?
Did you try with a custom assembly descriptor, and put the file in an <exclude> inside a <fileSet>? https://maven.apache.org/plugins/maven-assembly-plugin/assembly.html Regards, Curtis On Thu, Apr 3, 2014 at 4:24 AM, Li Li <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > >
