Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Generating the BusinessEvents Project POM File Using BusinessEvents Studio

TIBCO BusinessEvents® Studio provides the option to generate the pom.xml file for a BusinessEvents project. The generated pom.xml file is saved at the BusinessEvents project's location.

Before you begin TIBCO 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 BusinessEvents studio, open the BusinessEvents project.
2. In the Project Explorer pane, perform either of the following actions:
   Right-click on the project name and select Generate Maven POM File.
   Select the project and click from the menu - Project > Generate Maven POM File.
   The Generate POM for Application window is displayed.
3. In the Generate POM for Application window, enter the details required for the project pom.xml file and click Apply to save the pom.xml configuration.

   Field | Description
   --- | ---
   Group ID | A unique group ID amongst an organization. For example, all core Maven artifacts are 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>
   Artifact ID | 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>maven-core</artifactId>
   Version | Version number of the artifact in the group. It is the version of the project name. This is added in the `pom.xml` file with the `<version>` tag. For example,
       <version>6.3.1</version>

4. Click OK to generate the pom.xml file for the BusinessEvents project.

ResultThe pom.xml is created under the BusinessEvents project. Open the pom.xml file in BusinessEvents studio or any other XML editor to enter further details such as, properties in the pom.xml file (if required).

Refer to the Apache Maven documentation at https://maven.apache.org for more detailed information on pom.xml.

What to do next

Open the generated pom.xml file in the studio, if you see the `Plugin execution not covered by lifecycle configuration` errors in the Problems view, you can use the Quick Fix feature to resolve them. The figure Generating the BusinessEvents Project POM File Using BusinessEvents Studio displays a sample error that you might encounter when you open the pom.xml file for the first time in TIBCO BusinessEvents Studio.

In the Problems view, right-click on the error and select Quick Fix.

In the Quick Fix wizard, select the problems to fix and select one of the suggested fixes, and click Finish.

Figure 48: Sample Error for the POM File in BusinessEvents Studio

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.