Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Installing The Project Library to Maven Repository

If your BusinessEvents project contains the project library, then you can use the `install-projlib` utility to install the project library in your repository.

The pom.xml file generator utility automatically adds an entry for each of the project library, found in the BusinessEvents application, in the generated pom.xml file as a dependency. To resolve this dependency, you need to install the project library (`.projlib`) to your repository. The parameters (`groupId`, `atifactId`, and `version`) for this utility must match the dependency parameters specified in the pom.xml file or conversely.

Internally, the utility uses the `mvn install` command to install the project library to your repository.

Before you beginTIBCO BusinessEvents Maven plug-in is set up in your repository. See Setting Up TIBCO BusinessEvents Maven Plug-in for more details.

Procedure
1. In the command line, navigate to the Maven folder in the TIBCO BusinessEvents installation at BE_HOME/maven/bin.
2. Run the following command:

       install-projlib -p <projlib> -g <groupid> -a <artifactid> -v <version>

   The `install-projlib` Utility Parameters
   Options | Description
   --- | ---
   `-p` | Absolute path to the project library (`.projlib`) file for the BusinessEvents project.
   `-g` | A unique group ID amongst an organization. For example, all core Maven artifacts do live under the group ID org.apache.maven. This is added in the pom.xml file with the `<groupId>` tag. For example,
       <groupId>com.tibco.be</groupId>
   `-a` | A unique artifact ID that identifies the project or artifact in the group. This is added in the pom.xml file with the `<artifactId>` tag. For example,
       <artifactId>myprojlib</artifactId>
   `-v` | Version number of the artifact in the group. This is added in the pom.xml file with the `<version>` tag. For example,
       <version>0.0.1</version>

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.