Questions Tagged With project-build-pluginhttps://answers.axonivy.com/tags/project-build-plugin/?type=rssquestions tagged <span class="tag">project-build-plugin</span>enThu, 09 Jul 2020 03:54:24 -0400axis2 libraries not found in Axon.ivy 8 Enginehttps://answers.axonivy.com/questions/4634/axis2-libraries-not-found-in-axon-ivy-8-engine<p>Hi Ivy Team,</p> <p>I try to build Ivy 8 project with project-build-plugin-8.0.3 and Axon.ivy Engine 8.0.6 Slim All and found that I cannot build the project because <code>org.apache.axis2.client.Options</code> could not be resolved (some class in my project import this class).</p> <p>The libraries exist on Designer under container Axon.ivy WS Call, no compile error within Designer but I could not find them on <code>engine-path/system/plugins</code> of the Engine.</p>vinh_Thu, 09 Jul 2020 03:54:24 -0400https://answers.axonivy.com/questions/4634/axis2-libraries-not-found-in-axon-ivy-8-engineengineproject-build-pluginivyWhere to find engine 'logs' using the Mac Designer?https://answers.axonivy.com/questions/4418/where-to-find-engine-logs-using-the-mac-designer<p>I've "inherited" an Axon.ivy project that I have to maintain, I've installed the Designer and I also see that the project has a pom.xml setup, so I can also build it from the command line.</p> <p>Now, the Designer I understand runs an embedded engine. Also, the pom.xml has a plugin with a goal that also downloads an engine (project-build-plugin:7.3.0:installEngine).</p> <p>Where can I find these engines? More specifically, where can I find the logs for them?</p> <p>PS: I'm running on MacOS</p>sorinWed, 26 Feb 2020 05:31:35 -0500https://answers.axonivy.com/questions/4418/where-to-find-engine-logs-using-the-mac-designerproject-build-pluginmavendesignersupress new PMV creation when deploying with project-build-pluginhttps://answers.axonivy.com/questions/4310/supress-new-pmv-creation-when-deploying-with-project-build-plugin<p>I got a problem with Project Build Plugin, it creates new pvm all the time.</p> <p>do we have any option like redeploy=true to skip create new pvm?</p> <p>Thank you,</p> <p>Minh</p>docvominhThu, 09 Jan 2020 02:49:49 -0500https://answers.axonivy.com/questions/4310/supress-new-pmv-creation-when-deploying-with-project-build-pluginmavenproject-build-pluginInvocationTargetException: No class loader availablehttps://answers.axonivy.com/questions/4139/invocationtargetexception-no-class-loader-available<p>Since a few days I'm facing strange exception when trying to run the maven build for my IvyProject. How can I get rid of it? Entering the -X command doesn't really help here.</p> <pre><code>[ERROR] Failed to execute goal com.axonivy.ivy.ci:project-build-plugin:7.0.0:compileProject (default-compileProject) on project connectivity-demos: Failed to compile project '/mnt/data/dev/7.0/ivyProjects/ConnectivityDemos/ConnectivityDemos'.: InvocationTargetException: No class loader available for the bundle: ch.ivyteam.ivy.dataclasses.build_7.0.15.1911050149 [25] -&gt; [Help 1] </code></pre>SupportIvyTeamTue, 05 Nov 2019 08:17:17 -0500https://answers.axonivy.com/questions/4139/invocationtargetexception-no-class-loader-availableproject-build-pluginMaven build StackOverflowErrorhttps://answers.axonivy.com/questions/3958/maven-build-stackoverflowerror<p>We can not build our IvyProject with maven and the ivy project-build-plugin. If we execute mvn compile in our ivy project the follwoing StackOverflowError happens:</p> <pre><code>[ERROR] Failed to execute goal com.axonivy.ivy.ci:project-build-plugin:7.0.4:compileProject (default-compileProject) on project astecs_core: Failed to compile project 'c:\...'.: InvocationTargetException: StackOverflowError -&gt; [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.axonivy.ivy.ci:project-build-plugin:7.0.4:compileProject (default-compileProject) on project astecs_core: Failed to compile project 'c:\...\...'. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) ...... Caused by: java.lang.StackOverflowError at org.eclipse.jdt.internal.compiler.lookup.TypeSystem$HashedParameterizedTypes.get (TypeSystem.java:86) at org.eclipse.jdt.internal.compiler.lookup.AnnotatableTypeSystem.getParameterizedType (AnnotatableTypeSystem.java:107) at org.eclipse.jdt.internal.compiler.lookup.AnnotatableTypeSystem.getParameterizedType (AnnotatableTypeSystem.java:124) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createParameterizedType (LookupEnvironment.java:945) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.convertToParameterizedType (LookupEnvironment.java:486) at org.eclipse.jdt.internal.compiler.lookup.Scope.enclosingReceiverType (Scope.java:1190) at org.eclipse.jdt.internal.compiler.lookup.Scope.getBinding (Scope.java:2129) at org.eclipse.jdt.internal.compiler.ast.SingleNameReference.resolveType (SingleNameReference.java:985) at org.eclipse.jdt.internal.compiler.ast.MemberValuePair.resolveTypeExpecting (MemberValuePair.java:89) at org.eclipse.jdt.internal.compiler.ast.Annotation.resolveType (Annotation.java:830) at org.eclipse.jdt.internal.compiler.ast.ASTNode.resolveAnnotations (ASTNode.java:900) at org.eclipse.jdt.internal.compiler.ast.ASTNode.resolveAnnotations (ASTNode.java:770) at org.eclipse.jdt.internal.compiler.lookup.FieldBinding.getAnnotationTagBits (FieldBinding.java:286) ... </code></pre>josef_koupalWed, 04 Sep 2019 05:43:19 -0400https://answers.axonivy.com/questions/3958/maven-build-stackoverflowerrormavenivy7project-build-pluginbuildCan we configure project-build-plugin to use annotation processor?https://answers.axonivy.com/questions/3146/can-we-configure-project-build-plugin-to-use-annotation-processor<p>Hi ivyteam</p> <p>As you know that in order to compile ivy project, we need to use project-build-plugin which has been developed by ivyteam. </p> <p>There is a case that when i use third party, they have a custom compiler by annotation processor. There is available in <a href="https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#annotationProcessorPaths">maven-compiler-plugin</a></p> <p>Example: <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled2_wotN1IK.png"></p> <p>My question is: Can we configure project-build-plugin for this config?</p>trungdvFri, 23 Mar 2018 01:00:45 -0400https://answers.axonivy.com/questions/3146/can-we-configure-project-build-plugin-to-use-annotation-processorproject-build-pluginMaven build for Ivy projecthttps://answers.axonivy.com/questions/2900/maven-build-for-ivy-project<p>Hello Ivy Team,</p> <p>Whenever i run command mvn clean install -X (in debug mode) --&gt; I saw the log:</p> <pre><code> [DEBUG] Starting ivy Engine in D:\...\...\AxonIvyEngine6.3.0 [DEBUG] Engine is running [INFO] Cleaning sources in [src_dataClasses] </code></pre> <p>Question 1: why does the build need to start "Ivy Engine" for building the code?</p> <p>My situation: I have the jenkins build central, whenever alot of project run the build at the same time --&gt; the server get a trouble with memory because alot of Ivy Engine are started.</p> <p>Question 2: when I build my Ivy project --&gt; why is the iar file include the source code inside the package?</p> <p>Thanks for answer my question!</p>Hap EmFri, 06 Oct 2017 05:55:47 -0400https://answers.axonivy.com/questions/2900/maven-build-for-ivy-projectmavenjenkinsproject-build-plugin