Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

Using BTM with Maven 2

BTM artifacts and POM are published in the Maven 2 central repository since version 1.2.

Contents

Prerequisites

You obviously need to have Maven 2 installed. It is also recommended that you to know about it before trying to use these instructions. Please refer to the Maven documentation for any question you may have on the subject.

Officially released versions

They are published in the central Maven 2 repository at this standard location: http://repo1.maven.org/maven2/org/codehaus/btm/

You just have to add a dependency to your own project's POM to use it:

You also need to choose which logging framework BTM should send its logs to. This is done by adding another dependency in your POM. For instance, if you want to use JDK 1.4 logging, you should include this:

If you prefer Log4J 1.2, add this instead:

There are other supported logging frameworks, see DebugLogging2x.

Early versions

Beta-quality or snapshot versions are published in the Codehaus Snapshot Maven 2 repository at this non-standard location: https://nexus.codehaus.org/content/repositories/snapshots/org/codehaus/btm/

You just have to add a dependency to your own project's POM to use it:

You will have to configure a remote repository entry to be able to download artifacts from this location:

  • No labels