Building ActiveMQ from SourceActiveMQ uses Maven as its build and management tool. If you don't fancy using Maven you can use your IDE directly or Download a distribution or JAR. PrequisitesRequired:
Using Maven 2 (ActiveMQ 4.1.x and Up)ActiveMQ 4.1.x and up use Maven 2 to Build. We recommend you download and install Maven 2.0.4. You should set the MAVEN_OPTS environment variable to -Xmx800m. There are portions of the ActiveMQ build that are very memory intensive. Increase the maven memory limit so that the build does not fail for you. Doing a Quick Buildmvn -Dtest=false -DfailIfNoTests=false clean install Using an IDEIf you prefer to use an IDE then you can auto-generate the IDE's project files using maven plugins. e.g. mvn eclipse:eclipse or mvn idea:idea Importing into Eclipse If you have not already done so, you will need to make Eclipse aware of the Maven repository so that it can build everything. In the preferences, go to Java->Build Path->Classpath and define a new Classpath Variable named M2_REPO that points to your local Maven repository (i.e., Other Maven 2 GoalsFor more details try the Examples or Benchmark Tests Using Maven 1 (ActiveMQ 4.0.x and Down)ActiveMQ 4.0.x and down use Maven 1 to Build. We recommend you download and install Maven 1.0.2. Doing a Quick Buildmaven -Dmaven.test.skip.exec=true Using an IDEIf you prefer to use an IDE then you can autogenerate the IDE's project files using maven plugins. e.g. maven eclipse or maven idea etc. Other Maven 1 GoalsFor more details try the Examples or Benchmark Tests |