asadmin
asadmin copied to clipboard
asadmin-maven-plugin can't find password file on Windows 7 pro 64-bit
I get the following error when running mvn install from Eclipse:
Given password file does not exists or cannot find an existing asadmin password file
I've created a .asadminpass file with "asadmin login --host localhost --port 4848" and copied the .asadminpass file to .asadmintruststore.
The problem is that your plugin doesn't handle directory and path names on Windows. If I hard code the directory and file name it works:
<passwordfile>c:/users/dean/.asadmintruststore</passwordfile>
None of these work:
<passwordfile>~/.asadmintruststore</passwordfile>
<passwordfile>env.HOME/.asadmintruststore</passwordfile>
<passwordfile>${HOME}/.asadmintruststore</passwordfile>
I have the HOME environment variable set to the directory in the
Thanks for the report dwschulze, I've not so much free cycles theses days will take a closer look asap. In the meantime if you happen to track the problem down, feel free to report back here.