ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpapirkovs...@apache.org
Subject [1/2] git commit: AMBARI-5936. Weaving doesn't occur during build process. (mpapirkovskyy)
Date Fri, 30 May 2014 14:38:59 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 3d66c8efc -> 1b0387953


AMBARI-5936. Weaving doesn't occur during build process. (mpapirkovskyy)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1a59711d
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1a59711d
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1a59711d

Branch: refs/heads/trunk
Commit: 1a59711d180f54b117867a5bc6c69730a77b7d09
Parents: 3d66c8e
Author: Myroslav Papirkovskyy <mpapyrkovskyy@hortonworks.com>
Authored: Thu May 29 18:14:11 2014 +0300
Committer: Myroslav Papirkovskyy <mpapyrkovskyy@hortonworks.com>
Committed: Fri May 30 17:39:01 2014 +0300

----------------------------------------------------------------------
 ambari-server/pom.xml | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1a59711d/ambari-server/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index ad1f4aa..608c021 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -161,27 +161,30 @@
         </executions>
       </plugin>
       <plugin>
-        <!--Static -->
-        <artifactId>maven-antrun-plugin</artifactId>
+        <artifactId>eclipselink-staticweave-maven-plugin</artifactId>
+        <groupId>au.com.alderaan</groupId>
+        <version>1.0.4</version>
         <executions>
           <execution>
+            <goals>
+              <goal>weave</goal>
+            </goals>
             <phase>process-classes</phase>
             <configuration>
-              <tasks>
-                <java
-                  classname="org.eclipse.persistence.tools.weaving.jpa.StaticWeave"
-                  classpathref="maven.runtime.classpath" fork="true">
-                  <arg
-                    line="-loglevel FINE -persistenceinfo src/main/resources target/classes
target/classes" />
-                </java>
-              </tasks>
+              <logLevel>ALL</logLevel>
+              <includeProjectClasspath>true</includeProjectClasspath>
             </configuration>
-            <goals>
-              <goal>run</goal>
-            </goals>
           </execution>
         </executions>
+        <dependencies>
+          <dependency>
+            <groupId>org.eclipse.persistence</groupId>
+            <artifactId>eclipselink</artifactId>
+            <version>2.4.0</version>
+          </dependency>
+        </dependencies>
       </plugin>
+
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>rpm-maven-plugin</artifactId>


Mime
View raw message