changeset 611:66da2a491236

More fixes for the Eclipse build. When -Dmaven.repo.local is used the dependency fails to resolve although it's there. Since the build will fail anyway if artifacts aren't around this should be ok. Also fixed build instructions. Reviewed-by: ebaron Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2012-September/003192.html
author Severin Gehwolf <sgehwolf@redhat.com>
date Thu, 13 Sep 2012 15:05:17 +0200
parents b34112e37bf2
children 8a33215510dc
files eclipse/README.building eclipse/test-deps-p2-repository/pom.xml
diffstat 2 files changed, 5 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/eclipse/README.building	Thu Sep 13 17:19:17 2012 +0200
+++ b/eclipse/README.building	Thu Sep 13 15:05:17 2012 +0200
@@ -1,7 +1,7 @@
-# perhaps rm -rf ~/.m2
+# perhaps set -Dmaven.repo.local=/desired/path
+# for all of mvn commands below.
 cd path/to/thermostat/home
 mvn clean install
-cd eclipse/test-deps-bundle-wrapping
-mvn clean install
-cd ..
-mvn clean package
+mvn -f eclipse/test-deps-bundle-wrapping/pom.xml clean install
+mvn -f eclipse/test-deps-p2-repository/pom.xml clean package
+mvn -f eclipse/pom.xml clean package
--- a/eclipse/test-deps-p2-repository/pom.xml	Thu Sep 13 17:19:17 2012 +0200
+++ b/eclipse/test-deps-p2-repository/pom.xml	Thu Sep 13 15:05:17 2012 +0200
@@ -50,19 +50,6 @@
 
   <name>Thermostat Eclipse :: p2 repository for plain Java test deps</name>
 
-  <!-- Need to make deps proper bundles in order to be able to
-       generate metadata and p2 repo for it -->
-  <dependencies>
-    <dependency>
-      <groupId>com.redhat.thermostat.eclipse.parent</groupId>
-      <artifactId>thermostat-eclipse-test-deps</artifactId>
-      <version>0.4.0-SNAPSHOT</version>
-      <!-- we need this since test deps wrapping does not produce a jar
-           which is default -->
-      <type>pom</type>
-    </dependency>
-  </dependencies>
-
   <build>
     <plugins>
       <!-- Configuration for the PublishFeaturesAndBundlesMojoTest -->