Installation Guide for Oracle Self-Service E-Billing > Configuring Oracle WebLogic > Process of Repackaging the GNU Lesser General Public License >

Repackaging LGPL


Follow these steps to repackage LGPL for Oracle Self-Service E-Billing.

This task is a step in Process of Repackaging the GNU Lesser General Public License

To repackage LGPL

  1. Go to the directory to the EDX_HOME/repackage directory (or the EDX_HOME\repackage directory in Windows).
  2. Run the following Maven installation command:

    mvn install

    This command places all EAR files in the packaged LGPL libraries in the $EDX_HOME/J2EEApps directory (or the %EDX_HOME%\J2EEApps directory on Windows).

    If you receive an error similar to this one, or any error indicating jars are missing, the command was not able to access and download LGPL components from the Internet. Follow the instructions in this chapter to manually download and install these components.

    [INFO] -------------------------------------------------------------------------

    ---

    [INFO] Building eBilling application

    [INFO] task-segment: [install]

    [INFO] -------------------------------------------------------------------------

    ---

    [INFO] ------------------------------------------------------------------------

    [ERROR] BUILD ERROR

    [INFO] ------------------------------------------------------------------------

    [INFO] Failed to resolve artifact.

To manually download and install the required LGPL jars

  1. Go to the following location, and download the swarmcache-1.0RC2.jar file

    http://mirrors.ibiblio.org/pub/mirrors/maven2/swarmcache/swarmcache/1.0RC2/

  2. Install the swarmcache-1.0RC2.jar file using the following command:

    mvn install:install-file -DgroupId=swarmcache -DartifactId=swarmcache \

    -Dversion=1.0RC2 -Dpackaging=jar -Dfile=/path/to/file

  3. Go to the following location, and download the hibernate-3.1.3.jar file

    http://mirrors.ibiblio.org/pub/mirrors/maven2/org/hibernate/hibernate/3.1.3/

  4. Install the hibernate-3.1.3.jar file using the following command:

    mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate \

    -Dversion=3.1.3 -Dpackaging=jar -Dfile=/path/to/file

  5. Go to the following location, and download the jgroups-all-2.4.1.jar file

    http://mirrors.ibiblio.org/pub/mirrors/maven2/jgroups/jgroups-all/2.4.1/

  6. Install the jgroups-all-2.4.1.jar file using the following command:

    mvn install:install-file -DgroupId=jgroups -DartifactId=jgroups-all \

    -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file

  7. Repackage LGPL.
Installation Guide for Oracle Self-Service E-Billing Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices.