Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

launch4j-maven-plugin does not find the config file [closed]

$
0
0

The plugin launch4j-maven-plugin does not find the config file. Could you help me please?

My config file is in: src/main/resources/config/log4j2.xml

There is the conf of the plugin in the pom.xml :

<plugin><groupId>com.akathist.maven.plugins.launch4j</groupId><artifactId>launch4j-maven-plugin</artifactId><version>2.1.0</version><configuration><configOutfile>                        src/main/resources/config/log4j2.xml</configOutfile></configuration><executions><execution><id>l4j-clui</id><phase>package</phase><goals><goal>launch4j</goal></goals><configuration><headerType>console</headerType><outfile>target/${exeFileName}.exe</outfile><jar>target/${jarFileName}.jar</jar><errTitle>encc</errTitle><classPath><mainClass>src/main/java/fr/mypackage/Main.java</mainClass><jarLocation>monjar-1.0-SNAPSHOT.jar</jarLocation></classPath><jre><minVersion>${maven.compiler.target}</minVersion><path>src/main/resources/lib/jdk-11/</path><opts><opt>                                        -Dlog4j.configuration=src/main/resources/config/log4j2.xml</opt><opt>                                        --module-path src/main/resources/lib/javafx-sdk-11.0.2/lib</opt><opt>                                        --add-modules=javafx.controls</opt><opt>                                        --add-modules=javafx.base</opt><opt>                                        --add-modules=javafx.graphics</opt></opts></jre></configuration></execution></executions></plugin>

Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>