Webdav-package build fail - 1.9.1

Greetings:

Downloaded 1.9.1 and am building with IntelliJ using this url:

svn://svn.openvpms.org/openvpms/projects/openvpms/tags/1.9.1

I have almost made it through the build process but I'm getting hung up here:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jarsigner-plugin:1.3.2:sign (sign) on project openvpms-webdav-package: Failed executing '/bin/sh -c cd /home/ian/IntelliJ/Projects/openvpms-1.9.1/openvpms-web/openvpms-webdav-package && /usr/lib/jvm/java-8-openjdk-amd64/jre/../bin/jarsigner -keystore 'keystore.path must be specified on command line' -storetype JKS -tsa https://timestamp.geotrust.com/tsa /home/ian/IntelliJ/Projects/openvpms-1.9.1/openvpms-web/openvpms-webdav-package/target/jars/openvpms-webdav-launcher-1.9.1.jar 'keystore.alias must be specified on command line'' - exitcode 1 -> [Help 1]

This error does not seem to be the webdav error I encountered in building 1.9 but appears to be a path/option error. 

Suggestions?

Thanks...

Sam

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Webdav-package build fail - 1.9.1

This is due to the fix for https://openvpms.atlassian.net/browse/OVPMS-1844

When running with the release profile (i.e. -Prelease), the openvpms-webdav-package is signed. This is so that webstart will allow the webdav launcher to run on client machines.

You should be able to just comment out the openvpms-webdav-package module from openvpms-web/pom.xml. It will then pull the official version from repository. i.e.

<modules>
    <module>openvpms-macro</module>
    <module>openvpms-web-resource</module>
    <module>openvpms-web-echo</module>
    <module>openvpms-web-component</module>
    <module>openvpms-hl7</module>
    <module>openvpms-smartflow</module>
    <module>openvpms-web-workspaces</module>
    <module>openvpms-web-jobs</module>
    <module>openvpms-webdav</module>
    <module>openvpms-webdav-launcher</module>
    <!--module>openvpms-webdav-package</module-->
    <module>openvpms-web-app</module>
</modules>

If you have built a copy already without the release profile, you'll need to remove it from your local repository to force the official one to be downloaded.

 

Re: Webdav-package build fail - 1.9.1

Thanks... that got it going.

I did have a bit of an issue where it was choking on openvpms-release saying "Access denied for user 'root'@'localhost' (using password: YES)" but I tracked down where the jdbc.admin.password was specified in openvpms-release/pom.xml, changed it to my real mysql root password and all was good.  I have a vague recollection of having done that before! 

Thanks again...

Sam

Syndicate content