Skip to content

Error Creating JAR File for Shared Modules with bw6-maven-plugin:bwmodule #711

@piyushgoell

Description

@piyushgoell

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:

  1. Open a terminal and navigate to the MySharedModule directory:
  2. Run the following Maven command to build the module: mvn com.tibco.plugins:bw6-maven-plugin:bwmodule install:insall -X
  3. The Maven build should complete successfully, and the JAR file should be published to your local .m2 repository.
  4. Now, navigate to the MySharedModule2 directory
  5. 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):

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions