lhazlewood edited this page Mar 10, 2012 · 2 revisions

The Logback Extensions project is built with Maven, version 2.2.1 or later (3.x works fine). After ensuring maven is installed and working properly, you build via the following command in the root of the project directory:

mvn install

Deploying Artifacts

mvn install will build and store the built .jar files on your local disk only. To be available to others, they must be uploaded to a publicly accessible repository.

Your Own Repository

If you would like to build and deploy Logback Extensions to your own public repository, you may do the following:

  1. Open your $HOME/.m2/settings.xml file for editing. See the Maven Settings Reference if you don't know what this file is or don't yet have one.
  2. Add a new profile to the profiles section:
  3. Ensure this new profile is in your activeProfiles section:
  4. Add two new server entries to the servers section:
  5. Save and exit the file.

Now when you run mvn deploy -Prelease at the root of the project, the build will deploy the artifacts to the repositories you specified.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.