You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sh...@apache.org on 2016/08/05 20:44:42 UTC

[4/5] airavata git commit: Added replacer maven plugin to airavata-api-stub

Added replacer maven plugin to airavata-api-stub


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

Branch: refs/heads/develop
Commit: a3f8d888153044a7c455b79f4c515274afd81d4d
Parents: b08d0e6
Author: Shameera Rathnayaka <sh...@gmail.com>
Authored: Fri Aug 5 16:36:37 2016 -0400
Committer: Shameera Rathnayaka <sh...@gmail.com>
Committed: Fri Aug 5 16:36:37 2016 -0400

----------------------------------------------------------------------
 airavata-api/airavata-api-stubs/pom.xml         | 25 ++++++++++++++++++++
 .../java/org/apache/airavata/api/Airavata.java  |  2 +-
 airavata-api/airavata-data-models/pom.xml       |  2 +-
 pom.xml                                         |  1 +
 4 files changed, 28 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/a3f8d888/airavata-api/airavata-api-stubs/pom.xml
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-stubs/pom.xml b/airavata-api/airavata-api-stubs/pom.xml
index fd14814..7dbf8d4 100644
--- a/airavata-api/airavata-api-stubs/pom.xml
+++ b/airavata-api/airavata-api-stubs/pom.xml
@@ -43,4 +43,29 @@
 
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>com.google.code.maven-replacer-plugin</groupId>
+                <artifactId>replacer</artifactId>
+                <version>${maven.replacer.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>replace</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <includes>
+                        <include>${basedir}/src/main/java/org/apache/airavata/**/*.java</include>
+                    </includes>
+                    <token>, date = ".*"</token>
+                    <value> </value>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>

http://git-wip-us.apache.org/repos/asf/airavata/blob/a3f8d888/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java b/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
index fbd7c6d..bc54c2c 100644
--- a/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
+++ b/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
@@ -51,7 +51,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-07-14")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
 public class Airavata {
 
   public interface Iface {

http://git-wip-us.apache.org/repos/asf/airavata/blob/a3f8d888/airavata-api/airavata-data-models/pom.xml
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/pom.xml b/airavata-api/airavata-data-models/pom.xml
index 0ef00ae..748d520 100644
--- a/airavata-api/airavata-data-models/pom.xml
+++ b/airavata-api/airavata-data-models/pom.xml
@@ -45,7 +45,7 @@
             <plugin>
                 <groupId>com.google.code.maven-replacer-plugin</groupId>
                 <artifactId>replacer</artifactId>
-                <version>1.5.3</version>
+                <version>${maven.replacer.plugin.version}</version>
                 <executions>
                     <execution>
                         <phase>generate-sources</phase>

http://git-wip-us.apache.org/repos/asf/airavata/blob/a3f8d888/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 313d1f8..71def09 100644
--- a/pom.xml
+++ b/pom.xml
@@ -100,6 +100,7 @@
 		<amqp.client.version>3.5.1</amqp.client.version>
         <snakeyaml.version>1.15</snakeyaml.version>
 		<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
+		<maven.replacer.plugin.version>1.5.3</maven.replacer.plugin.version>
 	</properties>
 
 	<developers>