Skip to content
This repository
Browse code

pom fixed: Surefire duplicated dependency removed from pom & reorgani…

…zation
  • Loading branch information...
commit 60e4f7cfdf4c1df56b8b3f79d7b475b935edac18 1 parent 2138eb5
Francisco Perez-Sorrosal authored

Showing 1 changed file with 198 additions and 209 deletions. Show diff stats Hide diff stats

  1. +198 209 pom.xml
407 pom.xml
... ... @@ -1,214 +1,203 @@
1   -<!--
2   - Licensed to the Apache Software Foundation (ASF) under one or more
3   - contributor license agreements. See the NOTICE file distributed with
4   - this work for additional information regarding copyright ownership.
5   - The ASF licenses this file to You under the Apache License, Version 2.0
6   - (the "License"); you may not use this file except in compliance with
7   - the License. You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
  1 +<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
  2 + license agreements. See the NOTICE file distributed with this work for additional
  3 + information regarding copyright ownership. The ASF licenses this file to
  4 + You under the Apache License, Version 2.0 (the "License"); you may not use
  5 + this file except in compliance with the License. You may obtain a copy of
  6 + the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
  7 + by applicable law or agreed to in writing, software distributed under the
  8 + License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
  9 + OF ANY KIND, either express or implied. See the License for the specific
  10 + language governing permissions and limitations under the License. -->
17 11
18 12 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19   - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20   - <modelVersion>4.0.0</modelVersion>
21   - <groupId>com.yahoo</groupId>
22   - <artifactId>omid</artifactId>
23   - <packaging>jar</packaging>
24   - <version>1.0-SNAPSHOT</version>
25   - <name>omid</name>
26   - <url>http://maven.apache.org</url>
27   -
28   - <properties>
29   - <project.build.sourceEncoding>
30   - UTF-8
31   - </project.build.sourceEncoding>
32   - </properties>
  13 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  14 + <modelVersion>4.0.0</modelVersion>
  15 + <groupId>com.yahoo</groupId>
  16 + <artifactId>omid</artifactId>
  17 + <packaging>jar</packaging>
  18 + <version>1.0-SNAPSHOT</version>
  19 + <name>omid</name>
  20 + <url>http://maven.apache.org</url>
  21 +
  22 + <properties>
  23 + <project.build.sourceEncoding>
  24 + UTF-8
  25 + </project.build.sourceEncoding>
  26 + </properties>
33 27
34   - <build>
35   - <plugins>
36   - <plugin>
37   - <groupId>org.apache.maven.plugins</groupId>
38   - <artifactId>maven-surefire-plugin</artifactId>
39   - <version>2.9</version>
40   - <configuration>
41   - <argLine>-Xmx1G</argLine>
42   - <forkMode>pertest</forkMode>
43   - </configuration>
44   - </plugin>
45   - <plugin>
46   - <artifactId>maven-compiler-plugin</artifactId>
47   - <version>2.3.2</version>
48   - <configuration>
49   - <source>1.6</source>
50   - <target>1.6</target>
51   - </configuration>
52   - </plugin>
53   - <plugin>
54   - <artifactId>maven-dependency-plugin</artifactId>
55   - <executions>
56   - <execution>
57   - <phase>package</phase>
58   - <goals>
59   - <goal>copy-dependencies</goal>
60   - </goals>
61   - <configuration>
62   - <outputDirectory>${basedir}/lib</outputDirectory>
63   - </configuration>
64   - </execution>
65   - </executions>
66   - </plugin>
67   - <plugin>
68   - <artifactId>maven-antrun-plugin</artifactId>
69   - <executions>
70   - <execution>
71   - <id>build-native</id>
72   - <phase>process-classes</phase>
73   - <goals>
74   - <goal>run</goal>
75   - </goals>
76   - <configuration>
77   - <tasks>
78   - <property name="native.classpath" refid="maven.compile.classpath" />
79   - <echo file="${project.build.directory}/compile-classpath" message="${native.classpath}" />
80   - <exec dir="src/main/native" executable="make" failonerror="true"/>
81   - </tasks>
82   - </configuration>
83   - </execution>
84   - </executions>
85   - </plugin>
86   - <plugin>
87   - <groupId>org.apache.maven.plugins</groupId>
88   - <artifactId>maven-surefire-plugin</artifactId>
89   - <version>2.7.1</version>
90   - <configuration>
91   - <!-- forkMode>always</forkMode -->
92   - <argLine>-Djava.library.path=${basedir}/src/main/native</argLine>
93   - </configuration>
94   - </plugin>
95   - </plugins>
96   - <pluginManagement>
97   - <plugins>
98   - <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
99   - <plugin>
100   - <groupId>org.eclipse.m2e</groupId>
101   - <artifactId>lifecycle-mapping</artifactId>
102   - <version>1.0.0</version>
103   - <configuration>
104   - <lifecycleMappingMetadata>
105   - <pluginExecutions>
106   - <pluginExecution>
107   - <pluginExecutionFilter>
108   - <groupId>
109   - org.apache.maven.plugins
110   - </groupId>
111   - <artifactId>
112   - maven-antrun-plugin
113   - </artifactId>
114   - <versionRange>[1.3,)</versionRange>
115   - <goals>
116   - <goal>run</goal>
117   - </goals>
118   - </pluginExecutionFilter>
119   - <action>
120   - <ignore></ignore>
121   - </action>
122   - </pluginExecution>
123   - <pluginExecution>
124   - <pluginExecutionFilter>
125   - <groupId>
126   - org.apache.maven.plugins
127   - </groupId>
128   - <artifactId>
129   - maven-dependency-plugin
130   - </artifactId>
131   - <versionRange>[2.1,)</versionRange>
132   - <goals>
133   - <goal>copy-dependencies</goal>
134   - </goals>
135   - </pluginExecutionFilter>
136   - <action>
137   - <ignore></ignore>
138   - </action>
139   - </pluginExecution>
140   - </pluginExecutions>
141   - </lifecycleMappingMetadata>
142   - </configuration>
143   - </plugin>
144   - </plugins>
145   - </pluginManagement>
146   - </build>
  28 + <build>
  29 + <pluginManagement>
  30 + <plugins>
  31 + <plugin>
  32 + <groupId>org.apache.maven.plugins</groupId>
  33 + <artifactId>maven-surefire-plugin</artifactId>
  34 + <version>2.9</version>
  35 + <configuration>
  36 + <argLine>-Xmx1G</argLine>
  37 + <forkMode>pertest</forkMode>
  38 + <argLine>-Djava.library.path=${basedir}/src/main/native</argLine>
  39 + </configuration>
  40 + </plugin>
  41 + <plugin>
  42 + <artifactId>maven-compiler-plugin</artifactId>
  43 + <version>2.3.2</version>
  44 + <configuration>
  45 + <source>1.6</source>
  46 + <target>1.6</target>
  47 + </configuration>
  48 + </plugin>
  49 + <plugin>
  50 + <artifactId>maven-dependency-plugin</artifactId>
  51 + <executions>
  52 + <execution>
  53 + <phase>package</phase>
  54 + <goals>
  55 + <goal>copy-dependencies</goal>
  56 + </goals>
  57 + <configuration>
  58 + <outputDirectory>${basedir}/lib</outputDirectory>
  59 + </configuration>
  60 + </execution>
  61 + </executions>
  62 + </plugin>
  63 + <plugin>
  64 + <artifactId>maven-antrun-plugin</artifactId>
  65 + <executions>
  66 + <execution>
  67 + <id>build-native</id>
  68 + <phase>process-classes</phase>
  69 + <goals>
  70 + <goal>run</goal>
  71 + </goals>
  72 + <configuration>
  73 + <tasks>
  74 + <property name="native.classpath"
  75 + refid="maven.compile.classpath" />
  76 + <echo
  77 + file="${project.build.directory}/compile-classpath"
  78 + message="${native.classpath}" />
  79 + <exec dir="src/main/native"
  80 + executable="make" failonerror="true" />
  81 + </tasks>
  82 + </configuration>
  83 + </execution>
  84 + </executions>
  85 + </plugin>
  86 + <!--This plugin's configuration is used to store Eclipse
  87 + m2e settings only. It has no influence on the Maven build itself. -->
  88 + <plugin>
  89 + <groupId>org.eclipse.m2e</groupId>
  90 + <artifactId>lifecycle-mapping</artifactId>
  91 + <version>1.0.0</version>
  92 + <configuration>
  93 + <lifecycleMappingMetadata>
  94 + <pluginExecutions>
  95 + <pluginExecution>
  96 + <pluginExecutionFilter>
  97 + <groupId>
  98 + org.apache.maven.plugins
  99 + </groupId>
  100 + <artifactId>
  101 + maven-antrun-plugin
  102 + </artifactId>
  103 + <versionRange>[1.3,)</versionRange>
  104 + <goals>
  105 + <goal>run</goal>
  106 + </goals>
  107 + </pluginExecutionFilter>
  108 + <action>
  109 + <ignore></ignore>
  110 + </action>
  111 + </pluginExecution>
  112 + <pluginExecution>
  113 + <pluginExecutionFilter>
  114 + <groupId>
  115 + org.apache.maven.plugins
  116 + </groupId>
  117 + <artifactId>
  118 + maven-dependency-plugin
  119 + </artifactId>
  120 + <versionRange>[2.1,)</versionRange>
  121 + <goals>
  122 + <goal>copy-dependencies</goal>
  123 + </goals>
  124 + </pluginExecutionFilter>
  125 + <action>
  126 + <ignore></ignore>
  127 + </action>
  128 + </pluginExecution>
  129 + </pluginExecutions>
  130 + </lifecycleMappingMetadata>
  131 + </configuration>
  132 + </plugin>
  133 + </plugins>
  134 + </pluginManagement>
  135 + </build>
147 136
148   - <dependencies>
149   - <dependency>
150   - <groupId>junit</groupId>
151   - <artifactId>junit</artifactId>
152   - <version>4.8.2</version>
153   - <scope>test</scope>
154   - </dependency>
155   - <dependency>
156   - <groupId>log4j</groupId>
157   - <artifactId>log4j</artifactId>
158   - <version>1.2.14</version>
159   - </dependency>
160   - <dependency>
161   - <groupId>org.hamcrest</groupId>
162   - <artifactId>hamcrest-core</artifactId>
163   - <version>1.2.1</version>
164   - <type>jar</type>
165   - <scope>test</scope>
166   - </dependency>
167   - <dependency>
168   - <groupId>org.apache.hbase</groupId>
169   - <artifactId>hbase</artifactId>
170   - <version>0.92.0</version>
171   - <type>jar</type>
172   - <scope>compile</scope>
173   - </dependency>
174   - <dependency>
175   - <groupId>org.apache.zookeeper</groupId>
176   - <artifactId>zookeeper</artifactId>
177   - <version>3.4.3</version>
178   - <scope>compile</scope>
179   - </dependency>
180   - <dependency>
181   - <groupId>org.apache.bookkeeper</groupId>
182   - <artifactId>bookkeeper-server</artifactId>
183   - <version>4.0.0</version>
184   - <scope>compile</scope>
185   - </dependency>
186   - <dependency>
187   - <groupId>org.jboss.netty</groupId>
188   - <artifactId>netty</artifactId>
189   - <version>3.2.6.Final</version>
190   - <scope>compile</scope>
191   - </dependency>
192   - <dependency>
193   - <groupId>org.apache.hadoop</groupId>
194   - <artifactId>hadoop-core</artifactId>
195   - <version>0.20.205.0</version>
196   - <type>jar</type>
197   - <scope>compile</scope>
198   - </dependency>
199   - <dependency>
200   - <groupId>org.hamcrest</groupId>
201   - <artifactId>hamcrest-library</artifactId>
202   - <version>1.2.1</version>
203   - <type>jar</type>
204   - <scope>compile</scope>
205   - </dependency>
206   - <dependency>
207   - <groupId>com.beust</groupId>
208   - <artifactId>jcommander</artifactId>
209   - <version>1.23</version>
210   - <type>jar</type>
211   - <scope>compile</scope>
212   - </dependency>
213   - </dependencies>
  137 + <dependencies>
  138 + <dependency>
  139 + <groupId>junit</groupId>
  140 + <artifactId>junit</artifactId>
  141 + <version>4.8.2</version>
  142 + <scope>test</scope>
  143 + </dependency>
  144 + <dependency>
  145 + <groupId>log4j</groupId>
  146 + <artifactId>log4j</artifactId>
  147 + <version>1.2.14</version>
  148 + </dependency>
  149 + <dependency>
  150 + <groupId>org.hamcrest</groupId>
  151 + <artifactId>hamcrest-core</artifactId>
  152 + <version>1.2.1</version>
  153 + <type>jar</type>
  154 + <scope>test</scope>
  155 + </dependency>
  156 + <dependency>
  157 + <groupId>org.apache.hbase</groupId>
  158 + <artifactId>hbase</artifactId>
  159 + <version>0.92.0</version>
  160 + <type>jar</type>
  161 + <scope>compile</scope>
  162 + </dependency>
  163 + <dependency>
  164 + <groupId>org.apache.zookeeper</groupId>
  165 + <artifactId>zookeeper</artifactId>
  166 + <version>3.4.3</version>
  167 + <scope>compile</scope>
  168 + </dependency>
  169 + <dependency>
  170 + <groupId>org.apache.bookkeeper</groupId>
  171 + <artifactId>bookkeeper-server</artifactId>
  172 + <version>4.0.0</version>
  173 + <scope>compile</scope>
  174 + </dependency>
  175 + <dependency>
  176 + <groupId>org.jboss.netty</groupId>
  177 + <artifactId>netty</artifactId>
  178 + <version>3.2.6.Final</version>
  179 + <scope>compile</scope>
  180 + </dependency>
  181 + <dependency>
  182 + <groupId>org.apache.hadoop</groupId>
  183 + <artifactId>hadoop-core</artifactId>
  184 + <version>0.20.205.0</version>
  185 + <type>jar</type>
  186 + <scope>compile</scope>
  187 + </dependency>
  188 + <dependency>
  189 + <groupId>org.hamcrest</groupId>
  190 + <artifactId>hamcrest-library</artifactId>
  191 + <version>1.2.1</version>
  192 + <type>jar</type>
  193 + <scope>compile</scope>
  194 + </dependency>
  195 + <dependency>
  196 + <groupId>com.beust</groupId>
  197 + <artifactId>jcommander</artifactId>
  198 + <version>1.23</version>
  199 + <type>jar</type>
  200 + <scope>compile</scope>
  201 + </dependency>
  202 + </dependencies>
214 203 </project>

0 comments on commit 60e4f7c

Please sign in to comment.
Something went wrong with that request. Please try again.