bw6-plugin-maven
bw6-plugin-maven copied to clipboard
Error Creating JAR File for Shared Modules with bw6-maven-plugin:bwmodule
Maven Plugin version: bw6-maven-plugin: 2.8.1
Maven version: 3.8.5
Product : TIBCO ActiveMatrix Businessworks 6
Product version:
Component: Either of Maven Eclipse Plugin or Maven build plugin
Additional environment details if any: I am encountering an issue when attempting to create JAR files for shared modules that have dependencies on other shared modules from project. This problem occurs during the execution of the com.tibco.plugins:bw6-maven-plugin:bwmodule command.
Describe the results you received: BUILD FAILURE
Describe the results you expected: BUILD SUCCESS
Steps to reproduce the issue:
- Open a terminal and navigate to the MySharedModule directory:
- Run the following Maven command to build the module: mvn com.tibco.plugins:bw6-maven-plugin:bwmodule install:insall -X
- The Maven build should complete successfully, and the JAR file should be published to your local .m2 repository.
- Now, navigate to the MySharedModule2 directory
- When you run the same Maven command as before, you encounter a build failure with the following error: Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling JAR at com.tibco.bw.maven.plugin.module.BWModulePackageMojo.execute (BWModulePackageMojo.java:159) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:301) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:211) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:165) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:121) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
Additional information you deem important (e.g. issue happens only occasionally):
MySharedModule-buildlogs.txt MySharedModule2-buildlog.txt MySharedModule-pomfile.txt MySharedModule2-pomfile.txt
Apologies for closing and then re-opening it again. I have attached the terminal logs with debug mode enabled.