By Steve Button-Oracle on Jan 12, 2015
The Oracle Maven Repository has just gone live and is now available for public access.
This really is excellent news and provides developers with free and easy access (registration required) to APIs, libraries and utilities they regularly use to build applications with WebLogic Server.
From a WebLogic Server perspective, the Oracle Maven Repository provides publicly accessible, online, on-demand access to the full set of Maven product artifacts that have been provided in the 12c (12.1.2, 12.1.3) releases. This includes the WebLogic Server APIs, the client libraries and the WebLogic Server Maven Plugin. It also includes the similar set of Coherence artifacts that ship within the WebLogic Server product distributions as well as other artifacts from the Oracle Fusion Middleware stack.
To access the Oracle Maven Repository, there are two fundamental requirements to be aware of:
1. You must be using Maven 3.2.5 or later. This contains the version of the component (Wagon 2.8) that has been enhanced to support access to artifacts that are protected by HTTP authentication schemes.
2. You must be registered with OTN and have accepted the agreement to access and use the Oracle Maven Repository. This can be done with either a new or an existing OTN user account by accessing the http://maven.oracle.com site and clicking the registration link.
Once registered, you then just need to configure your local Maven environment with the details of the Oracle Maven Repository, including information that relates to the authentication model specifying your OTN username and password. Thorough documentation is provided and linked to from the main Oracle Maven Repository page.
The Maven provided password-encryption feature can be used to securely encrypt the password for convenient storage in a configuration file so that is not stored in human readable form and can be presented automatically when requested as part of accessing the Oracle Maven Repository.
Once the repository is configured, developers can include dependencies on WebLogic Server artifacts in their projects and have them automatically retrieved from the Oracle Maven Repository as needed when the projects are being built or tests are being run from a Continuous Integration environment.
The Oracle Maven Repository provides a significant step up for developer ease-of-use and productivity when working with WebLogic Server.