Missing Properties File in Maven JAR
Brought to you by:
jchapman0
I had an issue using the jar file in the Maven repository. I used this dependency tag:
<dependency>
<groupId>edu.stanford.ejalbert.test</groupId>
<artifactId>BrowserLauncher2</artifactId>
<version>1.3</version>
</dependency>
The application built successfully, but when I ran it, I received an error saying that the "/edu/stanford/ejalbert/launching/misc/linuxUnixConfig.properties" file could not be read. When I looked in the jar from Maven, I found that this file was indeed missing. I looked in the jar downloaded from the Sourceforge project site and the properties file was there. My workaround was to manually install the Sourceforge jar into my local Maven repository.
can confirm this problem. Easiest workaround is:
<dependency>
<groupId>edu.stanford.ejalbert</groupId>
<artifactId>BrowserLauncher2</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>edu.stanford.ejalbert</groupId>
<artifactId>BrowserLauncher2</artifactId>
<version>1.3</version>
<classifier>sources</classifier>
</dependency>
To also get the property files ;)