Chapter 7. Building and Deploying Assets
Click Build & Deploy as shown in the following screen to build and deploy packages and assets.
Figure 7.1. Build & Deploy Option

The Problems window below the project screen displays error messages (for example compilation errors) that can cause a failure in the build.
You can choose to build the whole package, or its subset.
If a project contains a large number of assets (rules, decision tables, or others), the build process may be slower than usual. After a successful build, you can download the binary package as a JAR file under Authoring → Artifact Repository.
7.1. Duplicate GAV Detection
Every time you perform any of the operations listed below, all Maven repositories are checked for duplicate GroupId, ArtifactId, and Version. If a duplicate exists, the performed operation is cancelled.
The duplicate GAV detection is executed every time you:
- Create a new managed repository.
- Save a project definition in the Project Editor.
- Add new modules to a managed multi-module repository.
-
Save the
pom.xmlfile. - Install, build, or deploy a project.
The following Maven repositories are checked for duplicates:
-
Repositories specified in the
<repositories>and<distributionManagement>elements of thepom.xmlfile. -
Repositories specified in the Maven’s
settings.xmlconfiguration file.
Users with the admin role can modify the list of affected repositories. To do so, open your project in the Project Editor and click Project Settings: Project General Settings → Validation.
Figure 7.2. List of Repositories to Be Checked

Figure 7.3. Duplicate GAV Detected

To disable this feature, set the org.guvnor.project.gav.check.disabled system property to true.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.