Oracle Maven Repository Punch List

Version 1

    As of Jan 13, 2015

     

    What's in the Oracle Maven Repository?

     

    The Oracle Maven Repository contains only Oracle-provided and supported artifacts.  No third party artifacts are provided.  You will still need to use Maven Central and/or other public Maven repositories to obtain any third party artifacts that you may need to build and test your applications, e.g. JUnit.

     

    If you have an active support agreement with Oracle, you can request support for any artifacts you download from the Oracle Maven Repository.

    The same set of artifacts that are provided with Oracle Fusion Middleware products with Maven support in 12.1.2 and later releases are available from the Oracle Maven Repository. There are three main types of artifacts provided:

     

    Archetypes

    Maven archetypes allow you to easily create a new project.  Oracle provides a number of archetypes:

    • - Oracle Fusion Middleware 12.1.2
      • com.oracle.coherence:maven-gar-archetype:12.1.2-0-0
      • com.oracle.weblogic.archetype:basic-mdb:12.1.2-0-0
      • com.oracle.weblogic.archetype:basic-webapp-ejb:12.1.2-0-0
      • com.oracle.weblogic.archetype:basic-webapp:12.1.2-0-0
      • com.oracle.weblogic.archetype:basic-webservice:12.1.2-0-0
    • - Oracle Fusion Middleware 12.1.3
      • com.oracle.weblogic.archetype:basic-webapp:12.1.3-0-0
      • com.oracle.adf.archetype:oracle-adffaces-ejb:12.1.3-0-0
      • com.oracle.coherence:maven-gar-archetype:12.1.3-0-0
      • com.oracle.servicebus.archetype:oracle-servicebus-application:12.1.3-0-0
      • com.oracle.servicebus.archetype:oracle-servicebus-project:12.1.3-0-0
      • com.oracle.servicebus.archetype:oracle-servicebus-system:12.1.3-0-0
      • com.oracle.soa.archetype:oracle-soa-application:12.1.3-0-0
      • com.oracle.soa.archetype:oracle-soa-project:12.1.3-0-0
      • com.oracle.weblogic.archetype:basic-mdb:12.1.3-0-0
      • com.oracle.weblogic.archetype:basic-webapp:12.1.3-0-0
      • com.oracle.weblogic.archetype:basic-webapp-ejb:12.1.3-0-0
      • com.oracle.weblogic.archetype:basic-webservice:12.1.3-0-0

     

    An archetype catalog is available in the Oracle Maven Repository and is accessible at https://maven.oracle.com/archetype-catalog.xml

    Documentation on all archetypes and is included in Developing Applications with Continuous Integration. http://docs.oracle.com/middleware/1213/core/MAVEN/toc.htm

     

    Plugins

    Oracle provides Maven plugins that implement product-specific build steps.  These plugins are available from the Oracle Maven Repository.

     

    Build/test-time Dependencies

    There are a number of libraries that may be needed to compile, test, package and deploy applications that you develop on top of Oracle Fusion Middleware.  The Oracle Maven Repository contains these libraries, along with POMs and Maven coordinates, so that you can easily declare dependencies on them in your project.

    Dependencies provided by Oracle all have a Maven groupId that starts with “com.oracle”.

    For WebLogic Server, there are a large number of libraries that you may want to use.  For convenience, Oracle provides an “aggregate POM” that allows you to specify just one dependency and get all of the available libraries.  You can declare this dependency in your project POM as follows:

    <dependency>

    <groupId>com.oracle.weblogic</groupId>

    <artifactId>weblogic-server-pom</artifactId>

    <version>12.1.3-0-0</version>  <!—or 12.1.2-0-0 -->

    <type>pom</type>

    </dependency>