Bug 849695 - Document how to change Maven settings.xml to pull in external gems needed to build TorqueBox
Summary: Document how to change Maven settings.xml to pull in external gems needed to ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: doc-TorqueBox-User-Guide
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 2.2.0
Assignee: Petr Penicka
QA Contact: Karel Piwko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-20 15:42 UTC by Ben Browning
Modified: 2014-01-13 08:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-16 13:00:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ben Browning 2012-08-20 15:42:32 UTC
TorqueBox ships a settings.xml that points to the maven repositories needed to build TorqueBox from source. Document how to build TorqueBox using this settings.xml so that the necessary gems (activerecord, rails, json, rack, etc) can be downloaded externally via maven.

Comment 3 Marek Novotny 2012-09-24 13:52:17 UTC
We need to document somewhere in TB documentation this:

---------------------------------
Maven setup

Building of TorqueBox uses the Maven build system. Maven pulls dependencies from repositories through the course of the build. You must configure Maven to be aware of the exploded JBoss WFK repository by creating or adjusting your $HOME/.m2/settings.xml.

The JBoss WFK distribution of Maven repository includes an example of settings.xml that you may use directly from the commandline, or integrate into your personal settings.xml.

You'll also need to give Maven extra memory for the build by setting the MAVEN_OPTS environment variable.

export MAVEN_OPTS="-Xmx512m"
----------------------------------

Comment 4 Karel Piwko 2012-09-24 14:09:34 UTC
It should also contain a paragraph stating you need to enable JBoss Nexus repository.

Comment 5 Karel Piwko 2012-11-05 12:14:12 UTC
Isaac, any progress here?


Note You need to log in before you can comment on or make changes to this bug.