Questions Tagged With mavenhttps://answers.axonivy.com/tags/maven/?type=rss&user=RemiMorinquestions tagged <span class="tag">maven</span>enMon, 12 Dec 2016 19:33:33 -0500Maven complete setup for buildhttps://answers.axonivy.com/questions/2281/maven-complete-setup-for-build<p>Hi, I'm setting up a build environment, a simple linux. I have experience with build environment and maven.</p> <p>I try to setup a build environment instead of building final IAR from designer. I've ask a few question already: <a href="http://answers.axonivy.com/questions/2279/is-there-an-axon-ivy-repository-for-maven">http://answers.axonivy.com/questions/2279/is-there-an-axon-ivy-repository-for-maven</a><br> <a href="http://answers.axonivy.com/questions/2219/504-gateway-time-out-on-guidelines-axonivy-com-projects-guides-wiki-continues_integration">http://answers.axonivy.com/questions/2219/504-gateway-time-out-on-guidelines-axonivy-com-projects-guides-wiki-continues_integration</a></p> <ul> <li>I've read the thin document on Maven plugin: <a href="https://axonivy.github.io/project-build-plugin/release/6.4/index.html">https://axonivy.github.io/project-build-plugin/release/6.4/index.html</a></li> <li>Continuous integration here: <a href="http://developer.axonivy.com/doc/latest/DesignerGuideHtml/ivy.concepts.html#ivy-ci">http://developer.axonivy.com/doc/latest/DesignerGuideHtml/ivy.concepts.html#ivy-ci</a></li> <li>I've try (and failed) to launch example projects: <a href="https://github.com/axonivy/project-build-examples/tree/master">https://github.com/axonivy/project-build-examples/tree/master</a></li> </ul> <p>I have several idea what I need to do to get these work, but instead or forging a custom solution I would like to used a recommended one. Last thing I've try the ensureInstalledEngine was trying to download the windows version of AxonIvyEngine on my build machine. I can install the engine, is it necessary? do I need to install multiple engine to build project of multiple version? We want to get things right because this application is deploy, we have several clients on our solutions and we need to support them and do maintenance. We have to deploy new version and we want to be sure what we are doing (hence setup a controlled build environment) and avoid interference between project (like we experience in Designer). </p> <pre><code>[INFO] --- project-build-plugin:6.0.0:ensureInstalledEngine (default-ensureInstalledEngine) @ MyProject --- [INFO] Compiling project for ivy version 6.0.0 [INFO] Installed engine has version 'null' instead of expected '6.0.0' [INFO] Starting engine download from <a href="http://download.axonivy.com/6.0.0/AxonIvyEngine6.0.0.50515_Windows_x64.zip">http://download.axonivy.com/6.0.0/AxonIvyEngine6.0.0.50515_Windows_x64.zip</a> </code></pre> <p>Thanks!</p>RemiMorinMon, 12 Dec 2016 19:33:33 -0500https://answers.axonivy.com/questions/2281/maven-complete-setup-for-buildmavenbuildIs there an Axon Ivy repository for maven?https://answers.axonivy.com/questions/2279/is-there-an-axon-ivy-repository-for-maven<p>I try to setup a maven build workflow both for continuous integration and for build release. So I try to build present project with Maven but face this issue</p> <pre><code>Failed to execute goal on project MyProject: Could not resolve dependencies for project MyProject:MyProject:iar:9.0.0-SNAPSHOT: Failed to collect dependencies at ch.ivyteam.ivy.addons:ch.ivyteam.ivy.addons:iar:[6000000.0.0-SNAPSHOT,): No versions available for ch.ivyteam.ivy.addons:ch.ivyteam.ivy.addons:iar:[6000000.0.0-SNAPSHOT,) within specified range -&gt; [Help 1] </code></pre> <p>I've try several combination of version but I I think the issue is only that there is no repository know to my maven installation containing ivy.addons. </p> <p>I can hack it by installing ivy.addons locally but this kind of suck since we will have to manually install them forever, it kinda kill the idea of automatic dependence resolution if we have to install them every time. So is there a repository for Maven to download Axon dependencies?</p> <p>Thanks!</p>RemiMorinMon, 12 Dec 2016 16:09:08 -0500https://answers.axonivy.com/questions/2279/is-there-an-axon-ivy-repository-for-mavenmaven