I'm trying to generate a jar file with Maven Assembly Plugin. All is correct except for my log4j.properties file; when I run the jar file the console output:
log4j:WARN No appenders could be found for logger (com.xxxxxxxxxx.web.processengine.Main). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
In Eclipse works well; so I assume is some type of compiling problem; here is my assembly plugin pom configuration:
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>com.xxxxxxxxx.web.processengine.Main</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
I appreciate any help, thanks.
log4j.properties
included in the artifact at all? – Anders R. Bystrup