The StreamBase Application project you created on the previous page does not yet know about any fragments. You must configure the StreamBase Application project to have a dependency on the fragment project created in previous pages.
-
Select the name of the StreamBase Application project in the Project Explorer view.
-
Right-click and from the context menu, select
> . -
Studio shows a message dialog like the following.
When you click
, Studio performs the following actions:-
Opens the POM Editor for the selected application project's
pom.xml
file. -
Switches to the Dependencies tab of the POM Editor.
-
Opens the Add Dependency dialog.
-
-
In the Add Dependency dialog, in the Enter groupid... field, enter the first few parts of the group ID of the
firstapp
project:com.example.deptname
. -
In the Search Results field, select the EventFlow fragment for the
firstapp
project. Be careful to distinguish the fragment project from the deployment project; both projects appear because both have the stringcom.example.deptname
in their names. -
When you select the fragment archive, Studio fills in the Group Id, Artifact Id, and Version fields of the dialog. Click .
-
Confirm that the
pom.xml
file for thedocker_firstapp
project is saved.