I want to include a log4j into the package generated by mvn assembly:assembly
so that log4j is configured when the generated .jar
is executed. How do I do this?
My assembly plugin looks like this:
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>ibis.structure.Structure</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>