[jboss-svn-commits] JBL Code SVN: r37496 - in labs/jbosstm/trunk: tools/maven/conf and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Sep 29 09:33:38 EDT 2011
Author: tomjenkinson
Date: 2011-09-29 09:33:38 -0400 (Thu, 29 Sep 2011)
New Revision: 37496
Modified:
labs/jbosstm/trunk/Build.txt
labs/jbosstm/trunk/tools/maven/conf/settings.xml
Log:
updated to use the default location for maven repository
Modified: labs/jbosstm/trunk/Build.txt
===================================================================
--- labs/jbosstm/trunk/Build.txt 2011-09-29 12:59:23 UTC (rev 37495)
+++ labs/jbosstm/trunk/Build.txt 2011-09-29 13:33:38 UTC (rev 37496)
@@ -12,14 +12,6 @@
[./]build.[sh|bat] clean install -pl :arjuna
If you are using a different maven installation to the one provided in tools/maven you need to make sure you have the following options:
-Dorson.jar.location=/full/path/to/checkout/location/ext/orson-0.5.0.jar -Demma.jar.location=/full/path/to/checkout/location/ext/emma.jar
-If you have build once using build.sh and then move to a different installation of maven, please ensure your $HOME/.m2/settings.xml point to the Narayana local repo:
- 1. The contents of $HOME/.m2/settings.xml should read (replacing /home/tom with your home directory):
- <?xml version="1.0" encoding="UTF-8"?>
- <settings xmlns="http://maven.apache.org/settings/1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
- <localRepository>/home/tom/.m2/narayana/repository</localRepository>
- </settings>
If you want to be able to cd into a folder to call our shipped maven or a version of maven not shipped with our project (on linux):
1. Create a file called $HOME/bin/txmvn (assuming $HOME/bin is in the path)
2. Add the following contents to this file:
Modified: labs/jbosstm/trunk/tools/maven/conf/settings.xml
===================================================================
--- labs/jbosstm/trunk/tools/maven/conf/settings.xml 2011-09-29 12:59:23 UTC (rev 37495)
+++ labs/jbosstm/trunk/tools/maven/conf/settings.xml 2011-09-29 13:33:38 UTC (rev 37496)
@@ -7,6 +7,6 @@
| The path to the local repository maven will use to store artifacts.
|
| Default: ~/.m2/repository
+ <localRepository>${user.home}/.m2/narayana/repository</localRepository>
-->
- <localRepository>${user.home}/.m2/narayana/repository</localRepository>
</settings>
More information about the jboss-svn-commits
mailing list