Chapter 3. Use the JBoss Web Framework Kit Maven Repository
A Maven repository is provided as part the JBoss Web Framework Kit release. The purpose of the repository is to provide API sources and dependencies for the component frameworks and standardize application development by listing specific source versions to use for all JBoss Web Framework Kit frameworks. The repository is essential for using the JBoss stacks, archetypes and examples distributed with the JBoss Web Framework Kit release.
This section gives more information about the repository and guides you through the installation and configuration necessary to use the JBoss Web Framework Kit repository, together with information about how to use the repository in your projects. Instructions are also provided for achieving these tasks using JBoss Developer Studio when appropriate.
3.1. About the JBoss Web Framework Kit Maven Repository
The JBoss Web Framework Kit Maven repository is a set resources for use in Maven-based applications that use the JBoss Web Framework Kit frameworks and deploy to JBoss EAP. It assists to simplify and standardize application development by providing a set of centralized sources and specifying tested and compatible source versions.
Important
The JBoss Web Framework Kit 2.7 Maven repository extends the JBoss EAP 6.3.2 Maven repository. In order to use the JBoss Web Framework Kit 2.7 Maven repository, the complete JBoss EAP 6.3.2 Maven repository must be available during application development and Maven configured to use it. Note that the complete JBoss EAP 6.3.2 Maven repository is achieved with the JBoss EAP 6.3.0 Maven repository and JBoss EAP Maven 6.3 CP02 applied.
For information on applying Maven repository patches, see the JBoss EAP 6.3 Development Guide available on the Red Hat Customer Portal. For information on obtaining and configuring the JBoss EAP Maven repositories for use, see the JBoss EAP Development Guide available on the Red Hat Customer Portal.
The JBoss Web Framework Kit Maven repository consists of the following:
The component framework artifacts can be shared across multiple projects and used by multiple developers, reducing the memory footprint by only being stored once and providing consistency in the build process. Each BOM specifies the versions of a stack (or collection) of artifacts. When used with the JBoss Web Framework Kit archetypes and examples and your Maven-based projects, the BOMs ensure that the correct versions of artifacts are always used.
- a complete set of the tier 1 framework APIs and their dependent artifacts
- several Bill of Materials (BOM) for JBoss stacks
The JBoss Web Framework Kit Maven repository is provided as an offline repository, available for download from the Red Hat Customer Portal. In this format, the repository can be easily integrated into an enterprise Maven repository or used as a local file system repository, eliminating the need to be connected to the Internet when building projects.
Note
The JBoss Web Framework Kit Maven repository is also provided as part of the Red Hat online Maven repository. This online repository is Technology Preview only; it is not fully supported and not recommended for business-critical use. Red Hat reserves the right to modify the behavior and content of this repository or remove it completely with little or no notice. For more information about using the Red Hat online Maven repository, see https://access.redhat.com/site/maven-repository on the Red Hat Customer Portal.