Roy Golan has uploaded a new change for review.

Change subject: core: integrate make into maven
......................................................................

core: integrate make into maven

mvn install -Pmake -Pprefix=my-prefix

Change-Id: I8981f04b26a2d36429f8bfccaada8dfbadfbf9c3
Signed-off-by: Roy Golan <rgo...@redhat.com>
---
A mavenmake/pom.xml
M pom.xml
2 files changed, 59 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/61/25661/1

diff --git a/mavenmake/pom.xml b/mavenmake/pom.xml
new file mode 100644
index 0000000..105b4f0
--- /dev/null
+++ b/mavenmake/pom.xml
@@ -0,0 +1,58 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.ovirt.engine</groupId>
+        <artifactId>root</artifactId>
+        <version>3.5.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>make</artifactId>
+    <packaging>pom</packaging>
+
+    <name>ovirt engine maven make</name>
+    <description>ovirt engine maven make</description>
+
+    <properties>
+        <prefix>${env.PREFIX}</prefix>
+    </properties>
+
+    <profiles>
+        <profile>
+            <id>make</id>
+            <activation>
+                <file>
+                    <missing>.domake</missing>
+                </file>
+            </activation>
+        </profile>
+    </profiles>
+    <build>
+
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>exec-maven-plugin</artifactId>
+                <version>1.2.1</version>
+                <executions>
+                    <execution>
+                        <phase>install</phase>
+                        <goals>
+                            <goal>exec</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <executable>make</executable>
+                    <!-- optional -->
+                    
<workingDirectory>${project.parent.basedir}</workingDirectory>
+                    <arguments>
+                        <argument>install-dev</argument>
+                        <argument>PREFIX=${prefix}</argument>
+                        <argument>DEV_REBUILD=0</argument>
+                    </arguments>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git a/pom.xml b/pom.xml
index ddbcffd..f5e01f1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,6 +29,7 @@
     <module>backend</module>
     <module>frontend</module>
     <module>ear</module>
+    <module>mavenmake</module>
   </modules>
 
   <properties>


-- 
To view, visit http://gerrit.ovirt.org/25661
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8981f04b26a2d36429f8bfccaada8dfbadfbf9c3
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to