Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
Showing
1 changed file
with
0 additions
and
22 deletions
... | @@ -112,28 +112,6 @@ | ... | @@ -112,28 +112,6 @@ |
112 | <artifactId>maven-scr-plugin</artifactId> | 112 | <artifactId>maven-scr-plugin</artifactId> |
113 | </plugin> | 113 | </plugin> |
114 | 114 | ||
115 | - <plugin> | ||
116 | - <!-- Using groovy script to set maven property ${hostname}. | ||
117 | - This is a workaround to get hostname as a property inside pom file, | ||
118 | - which current Maven does not provide. --> | ||
119 | - <groupId>org.codehaus.gmaven</groupId> | ||
120 | - <artifactId>groovy-maven-plugin</artifactId> | ||
121 | - <version>2.0</version> | ||
122 | - <executions> | ||
123 | - <execution> | ||
124 | - <phase>initialize</phase> | ||
125 | - <goals> | ||
126 | - <goal>execute</goal> | ||
127 | - </goals> | ||
128 | - <configuration> | ||
129 | - <source> | ||
130 | - project.properties["hostname"] = | ||
131 | - InetAddress.getLocalHost().getHostName() | ||
132 | - </source> | ||
133 | - </configuration> | ||
134 | - </execution> | ||
135 | - </executions> | ||
136 | - </plugin> | ||
137 | </plugins> | 115 | </plugins> |
138 | </build> | 116 | </build> |
139 | 117 | ... | ... |
-
Please register or login to post a comment