HBASE-25096 WAL size in RegionServer UI is wrong (#2456)
[hbase.git] / hbase-server / pom.xml
blob04df64e444325452623c8cc04eb4d7f8751d9874
1 <?xml version="1.0"?>
2 <project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3   <!--
4 /**
5  * Licensed to the Apache Software Foundation (ASF) under one
6  * or more contributor license agreements.  See the NOTICE file
7  * distributed with this work for additional information
8  * regarding copyright ownership.  The ASF licenses this file
9  * to you under the Apache License, Version 2.0 (the
10  * "License"); you may not use this file except in compliance
11  * with the License.  You may obtain a copy of the License at
12  *
13  *     http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */
21 -->
22   <modelVersion>4.0.0</modelVersion>
23   <parent>
24     <artifactId>hbase-build-configuration</artifactId>
25     <groupId>org.apache.hbase</groupId>
26     <version>3.0.0-SNAPSHOT</version>
27     <relativePath>../hbase-build-configuration</relativePath>
28   </parent>
29   <artifactId>hbase-server</artifactId>
30   <name>Apache HBase - Server</name>
31   <description>Server functionality for HBase</description>
32   <properties>
33     <test.build.webapps>target/test-classes/webapps</test.build.webapps>
34     <license.bundles.logo>true</license.bundles.logo>
35     <license.bundles.bootstrap>true</license.bundles.bootstrap>
36     <license.bundles.jquery>true</license.bundles.jquery>
37   </properties>
38   <build>
39     <!-- Make sure resources get added before they are processed
40       by placing this first
41      -->
42     <resources>
43       <!-- Add the build webabpps to the classpth -->
44       <resource>
45         <directory>${project.build.directory}</directory>
46         <includes>
47           <include>hbase-webapps/**</include>
48         </includes>
49       </resource>
50       <resource>
51         <directory>src/main/resources</directory>
52         <includes>
53           <include>**/**</include>
54         </includes>
55       </resource>
56     </resources>
57     <testResources>
58       <!-- Our test artifact has different license info than our source/bin ones -->
59       <testResource>
60         <directory>src/test/resources/META-INF/</directory>
61         <targetPath>META-INF/</targetPath>
62         <includes>
63           <include>NOTICE</include>
64         </includes>
65         <filtering>true</filtering>
66       </testResource>
67       <testResource>
68         <directory>src/test/resources</directory>
69         <includes>
70           <include>**/**</include>
71         </includes>
72       </testResource>
73     </testResources>
74     <plugins>
75       <plugin>
76         <groupId>com.github.spotbugs</groupId>
77         <artifactId>spotbugs-maven-plugin</artifactId>
78         <configuration>
79           <maxHeap>2048</maxHeap>
80         </configuration>
81       </plugin>
82       <!-- licensing info from our bundled works -->
83       <plugin>
84         <groupId>org.apache.maven.plugins</groupId>
85         <artifactId>maven-remote-resources-plugin</artifactId>
86         <dependencies>
87           <!-- resource bundle only needed at build time -->
88           <dependency>
89             <groupId>org.apache.hbase</groupId>
90             <artifactId>hbase-resource-bundle</artifactId>
91             <version>${project.version}</version>
92           </dependency>
93         </dependencies>
94         <executions>
95           <execution>
96             <id>default</id>
97             <configuration>
98               <attachToTest>false</attachToTest>
99               <properties>
100                 <copyright-end-year>${build.year}</copyright-end-year>
101                 <debug-print-included-work-info>${license.debug.print.included}</debug-print-included-work-info>
102                 <bundled-dependencies>${license.bundles.dependencies}</bundled-dependencies>
103                 <bundled-jquery>${license.bundles.jquery}</bundled-jquery>
104                 <bundled-logo>${license.bundles.logo}</bundled-logo>
105                 <bundled-bootstrap>${license.bundles.bootstrap}</bundled-bootstrap>
106               </properties>
107               <resourceBundles>
108                 <resourceBundle>${project.groupId}:hbase-resource-bundle:${project.version}</resourceBundle>
109               </resourceBundles>
110               <supplementalModelArtifacts>
111                 <supplementalModelArtifact>${project.groupId}:hbase-resource-bundle:${project.version}</supplementalModelArtifact>
112               </supplementalModelArtifacts>
113               <supplementalModels>
114                 <supplementalModel>supplemental-models.xml</supplementalModel>
115               </supplementalModels>
116             </configuration>
117           </execution>
118         </executions>
119       </plugin>
120       <!-- Run with -Dmaven.test.skip.exec=true to build -tests.jar without running
121         tests (this is needed for upstream projects whose tests need this jar simply for
122         compilation) -->
123       <plugin>
124         <!--Make it so assembly:single does nothing in here-->
125         <artifactId>maven-assembly-plugin</artifactId>
126         <configuration>
127           <skipAssembly>true</skipAssembly>
128         </configuration>
129       </plugin>
130       <plugin>
131         <groupId>org.apache.maven.plugins</groupId>
132         <artifactId>maven-jar-plugin</artifactId>
133         <configuration>
134           <!-- Exclude these 2 packages, because their dependency _binary_ files
135             include the sources, and Maven 2.2 appears to add them to the sources to compile,
136             weird -->
137           <excludes>
138             <exclude>org/apache/jute/**</exclude>
139             <exclude>org/apache/zookeeper/**</exclude>
140             <exclude>**/*.jsp</exclude>
141             <exclude>hbase-site.xml</exclude>
142             <exclude>hdfs-site.xml</exclude>
143             <exclude>log4j.properties</exclude>
144             <exclude>mapred-queues.xml</exclude>
145             <exclude>mapred-site.xml</exclude>
146           </excludes>
147         </configuration>
148       </plugin>
149       <!-- General ant tasks, bound to different build phases -->
150       <plugin>
151         <artifactId>maven-antrun-plugin</artifactId>
152         <executions>
153           <!-- Generate web app sources -->
154           <execution>
155             <id>generate</id>
156             <phase>generate-sources</phase>
157             <configuration>
158               <target>
159                 <property name="build.webapps" location="${project.build.directory}/hbase-webapps"/>
160                 <property name="src.webapps" location="${basedir}/src/main/resources/hbase-webapps"/>
161                 <property name="generated.sources" location="${project.build.directory}/generated-sources"/>
162                 <mkdir dir="${build.webapps}"/>
163                 <copy todir="${build.webapps}">
164                   <fileset dir="${src.webapps}">
165                     <exclude name="**/*.jsp"/>
166                     <exclude name="**/.*"/>
167                     <exclude name="**/*~"/>
168                   </fileset>
169                 </copy>
170                 <!--The compile.classpath is passed in by maven -->
171                 <taskdef classname="org.apache.jasper.JspC" name="jspcompiler" classpathref="maven.compile.classpath"/>
172                 <mkdir dir="${build.webapps}/master/WEB-INF"/>
173                 <jspcompiler uriroot="${src.webapps}/master" outputdir="${generated.sources}/java" package="org.apache.hadoop.hbase.generated.master" webxml="${build.webapps}/master/WEB-INF/web.xml"/>
174                 <mkdir dir="${build.webapps}/regionserver/WEB-INF"/>
175                 <jspcompiler uriroot="${src.webapps}/regionserver" outputdir="${generated.sources}/java" package="org.apache.hadoop.hbase.generated.regionserver" webxml="${build.webapps}/regionserver/WEB-INF/web.xml"/>
176               </target>
177             </configuration>
178             <goals>
179               <goal>run</goal>
180             </goals>
181           </execution>
182         </executions>
183       </plugin>
184       <plugin>
185         <groupId>org.codehaus.mojo</groupId>
186         <artifactId>build-helper-maven-plugin</artifactId>
187         <executions>
188           <!-- Add the generated sources -->
189           <execution>
190             <id>jspcSource-packageInfo-source</id>
191             <phase>generate-sources</phase>
192             <goals>
193               <goal>add-source</goal>
194             </goals>
195             <configuration>
196               <sources>
197                 <source>${project.build.directory}/generated-jamon</source>
198                 <source>${project.build.directory}/generated-sources/java</source>
199               </sources>
200             </configuration>
201           </execution>
202         </executions>
203       </plugin>
204       <plugin>
205         <groupId>org.jamon</groupId>
206         <artifactId>jamon-maven-plugin</artifactId>
207         <executions>
208           <execution>
209             <phase>generate-sources</phase>
210             <goals>
211               <goal>translate</goal>
212             </goals>
213             <configuration>
214               <templateSourceDir>src/main/jamon</templateSourceDir>
215               <templateOutputDir>target/generated-jamon</templateOutputDir>
216             </configuration>
217           </execution>
218         </executions>
219       </plugin>
220       <!-- Testing plugins -->
221       <plugin>
222         <artifactId>maven-surefire-plugin</artifactId>
223         <configuration>
224           <systemPropertyVariables>
225             <test.build.webapps>target/test-classes/webapps</test.build.webapps>
226           </systemPropertyVariables>
227         </configuration>
228       </plugin>
229       <plugin>
230         <groupId>net.revelc.code</groupId>
231         <artifactId>warbucks-maven-plugin</artifactId>
232       </plugin>
233     </plugins>
234   </build>
235   <dependencies>
236     <dependency>
237       <groupId>org.apache.hbase.thirdparty</groupId>
238       <artifactId>hbase-shaded-protobuf</artifactId>
239     </dependency>
240     <dependency>
241       <groupId>org.apache.hbase.thirdparty</groupId>
242       <artifactId>hbase-shaded-netty</artifactId>
243     </dependency>
244     <dependency>
245       <groupId>org.apache.hbase.thirdparty</groupId>
246       <artifactId>hbase-shaded-miscellaneous</artifactId>
247     </dependency>
248     <!-- Intra-project dependencies -->
249     <dependency>
250       <groupId>org.apache.hbase</groupId>
251       <artifactId>hbase-logging</artifactId>
252       <type>test-jar</type>
253       <scope>test</scope>
254     </dependency>
255     <dependency>
256       <groupId>org.apache.hbase</groupId>
257       <artifactId>hbase-common</artifactId>
258     </dependency>
259     <dependency>
260       <groupId>org.apache.hbase</groupId>
261       <artifactId>hbase-http</artifactId>
262       <exclusions>
263         <exclusion>
264           <groupId>org.codehaus.jackson</groupId>
265           <artifactId>jackson-core-asl</artifactId>
266         </exclusion>
267       </exclusions>
268     </dependency>
269     <dependency>
270       <groupId>org.apache.hbase</groupId>
271       <artifactId>hbase-http</artifactId>
272       <type>test-jar</type>
273       <scope>test</scope>
274     </dependency>
275     <dependency>
276       <groupId>org.apache.hbase</groupId>
277       <artifactId>hbase-protocol-shaded</artifactId>
278     </dependency>
279     <dependency>
280       <groupId>org.apache.hbase</groupId>
281       <artifactId>hbase-procedure</artifactId>
282     </dependency>
283     <dependency>
284       <groupId>org.apache.hbase</groupId>
285       <artifactId>hbase-client</artifactId>
286     </dependency>
287     <dependency>
288       <groupId>org.apache.hbase</groupId>
289       <artifactId>hbase-zookeeper</artifactId>
290     </dependency>
291     <dependency>
292       <groupId>org.apache.hbase</groupId>
293       <artifactId>hbase-replication</artifactId>
294     </dependency>
295     <dependency>
296       <groupId>org.apache.hbase</groupId>
297       <artifactId>hbase-balancer</artifactId>
298     </dependency>
299     <dependency>
300       <groupId>org.apache.hbase</groupId>
301       <artifactId>hbase-common</artifactId>
302       <type>test-jar</type>
303       <scope>test</scope>
304     </dependency>
305     <dependency>
306       <groupId>org.apache.hbase</groupId>
307       <artifactId>hbase-annotations</artifactId>
308       <type>test-jar</type>
309       <scope>test</scope>
310     </dependency>
311     <dependency>
312       <groupId>org.apache.hbase</groupId>
313       <artifactId>hbase-procedure</artifactId>
314       <type>test-jar</type>
315       <scope>test</scope>
316     </dependency>
317     <dependency>
318       <groupId>org.apache.hbase</groupId>
319       <artifactId>hbase-zookeeper</artifactId>
320       <type>test-jar</type>
321       <scope>test</scope>
322     </dependency>
323     <dependency>
324       <groupId>org.apache.hbase</groupId>
325       <artifactId>hbase-metrics-api</artifactId>
326     </dependency>
327     <dependency>
328       <groupId>org.apache.hbase</groupId>
329       <artifactId>hbase-metrics</artifactId>
330     </dependency>
331     <dependency>
332       <groupId>commons-codec</groupId>
333       <artifactId>commons-codec</artifactId>
334     </dependency>
335     <dependency>
336       <groupId>org.apache.hbase</groupId>
337       <artifactId>hbase-hadoop-compat</artifactId>
338     </dependency>
339     <dependency>
340       <groupId>org.apache.hbase</groupId>
341       <artifactId>hbase-hadoop-compat</artifactId>
342       <type>test-jar</type>
343       <scope>test</scope>
344     </dependency>
345     <dependency>
346       <groupId>org.apache.hbase</groupId>
347       <artifactId>hbase-asyncfs</artifactId>
348     </dependency>
349     <dependency>
350       <groupId>org.apache.hbase</groupId>
351       <artifactId>hbase-asyncfs</artifactId>
352       <type>test-jar</type>
353       <scope>test</scope>
354     </dependency>
355     <dependency>
356       <!-- For JspC used in ant task, then needed at compile /runtime
357            because the source code made from the JSP refers to its runtime
358         -->
359       <groupId>org.glassfish.web</groupId>
360       <artifactId>javax.servlet.jsp</artifactId>
361     </dependency>
362       <!-- Also used by generated sources from our JSP -->
363     <dependency>
364       <groupId>javax.servlet.jsp</groupId>
365       <artifactId>javax.servlet.jsp-api</artifactId>
366     </dependency>
367     <!-- General dependencies -->
368     <dependency>
369       <groupId>com.github.stephenc.findbugs</groupId>
370       <artifactId>findbugs-annotations</artifactId>
371       <scope>compile</scope>
372       <optional>true</optional>
373     </dependency>
374     <dependency>
375       <groupId>com.github.ben-manes.caffeine</groupId>
376       <artifactId>caffeine</artifactId>
377     </dependency>
378     <dependency>
379       <groupId>io.dropwizard.metrics</groupId>
380       <artifactId>metrics-core</artifactId>
381     </dependency>
382     <dependency>
383       <groupId>commons-io</groupId>
384       <artifactId>commons-io</artifactId>
385     </dependency>
386     <dependency>
387       <groupId>org.apache.commons</groupId>
388       <artifactId>commons-lang3</artifactId>
389     </dependency>
390     <dependency>
391       <groupId>org.slf4j</groupId>
392       <artifactId>slf4j-api</artifactId>
393     </dependency>
394     <dependency>
395       <groupId>org.apache.commons</groupId>
396       <artifactId>commons-math3</artifactId>
397     </dependency>
398     <dependency>
399       <groupId>org.apache.zookeeper</groupId>
400       <artifactId>zookeeper</artifactId>
401     </dependency>
402     <dependency>
403       <groupId>org.jamon</groupId>
404       <artifactId>jamon-runtime</artifactId>
405     </dependency>
406     <dependency>
407       <groupId>javax.servlet</groupId>
408       <artifactId>javax.servlet-api</artifactId>
409     </dependency>
410     <!-- tracing Dependencies -->
411     <dependency>
412       <groupId>org.apache.htrace</groupId>
413       <artifactId>htrace-core4</artifactId>
414     </dependency>
415     <dependency>
416       <groupId>com.lmax</groupId>
417       <artifactId>disruptor</artifactId>
418     </dependency>
419     <!-- Test dependencies -->
420     <dependency>
421       <groupId>org.hamcrest</groupId>
422       <artifactId>hamcrest-core</artifactId>
423       <scope>test</scope>
424     </dependency>
425     <dependency>
426       <groupId>org.hamcrest</groupId>
427       <artifactId>hamcrest-library</artifactId>
428       <scope>test</scope>
429     </dependency>
430     <dependency>
431       <groupId>org.bouncycastle</groupId>
432       <artifactId>bcprov-jdk15on</artifactId>
433       <scope>test</scope>
434     </dependency>
435     <dependency>
436       <groupId>org.apache.hadoop</groupId>
437       <artifactId>hadoop-minikdc</artifactId>
438       <scope>test</scope>
439       <exclusions>
440         <exclusion>
441           <groupId>bouncycastle</groupId>
442           <artifactId>bcprov-jdk15</artifactId>
443         </exclusion>
444       </exclusions>
445     </dependency>
446     <dependency>
447       <groupId>org.apache.kerby</groupId>
448       <artifactId>kerb-client</artifactId>
449       <scope>test</scope>
450     </dependency>
451     <dependency>
452       <groupId>org.apache.kerby</groupId>
453       <artifactId>kerb-simplekdc</artifactId>
454       <scope>test</scope>
455     </dependency>
456     <dependency>
457       <groupId>org.apache.httpcomponents</groupId>
458       <artifactId>httpclient</artifactId>
459       <scope>test</scope>
460     </dependency>
461     <dependency>
462       <groupId>org.apache.httpcomponents</groupId>
463       <artifactId>httpcore</artifactId>
464       <scope>test</scope>
465     </dependency>
466     <dependency>
467       <groupId>org.apache.commons</groupId>
468       <artifactId>commons-crypto</artifactId>
469       <exclusions>
470         <exclusion>
471           <groupId>net.java.dev.jna</groupId>
472           <artifactId>jna</artifactId>
473         </exclusion>
474       </exclusions>
475     </dependency>
476     <dependency>
477       <groupId>junit</groupId>
478       <artifactId>junit</artifactId>
479       <scope>test</scope>
480     </dependency>
481     <dependency>
482       <groupId>org.mockito</groupId>
483       <artifactId>mockito-core</artifactId>
484       <scope>test</scope>
485     </dependency>
486     <dependency>
487       <groupId>org.slf4j</groupId>
488       <artifactId>jcl-over-slf4j</artifactId>
489       <scope>test</scope>
490     </dependency>
491     <dependency>
492       <groupId>org.slf4j</groupId>
493       <artifactId>jul-to-slf4j</artifactId>
494       <scope>test</scope>
495     </dependency>
496     <dependency>
497       <groupId>org.slf4j</groupId>
498       <artifactId>slf4j-log4j12</artifactId>
499       <scope>test</scope>
500     </dependency>
501     <dependency>
502       <groupId>log4j</groupId>
503       <artifactId>log4j</artifactId>
504       <scope>test</scope>
505     </dependency>
506   </dependencies>
507   <profiles>
508     <!-- Needs to make the profile in apache parent pom -->
509     <profile>
510       <id>apache-release</id>
511       <build>
512         <plugins>
513           <plugin>
514             <groupId>org.apache.maven.plugins</groupId>
515             <artifactId>maven-resources-plugin</artifactId>
516             <executions>
517               <execution>
518                 <id>license-javadocs</id>
519                 <phase>prepare-package</phase>
520                 <goals>
521                   <goal>copy-resources</goal>
522                 </goals>
523                 <configuration>
524                   <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
525                   <resources>
526                     <resource>
527                       <directory>src/main/javadoc/META-INF/</directory>
528                       <targetPath>META-INF/</targetPath>
529                       <includes>
530                         <include>LICENSE</include>
531                         <include>NOTICE</include>
532                       </includes>
533                       <filtering>true</filtering>
534                     </resource>
535                   </resources>
536                 </configuration>
537               </execution>
538             </executions>
539           </plugin>
540         </plugins>
541       </build>
542     </profile>
543     <!-- Skip the tests in this module -->
544     <profile>
545       <id>skipServerTests</id>
546       <activation>
547         <property>
548           <name>skipServerTests</name>
549         </property>
550       </activation>
551       <properties>
552         <surefire.skipFirstPart>true</surefire.skipFirstPart>
553         <surefire.skipSecondPart>true</surefire.skipSecondPart>
554       </properties>
555     </profile>
556     <!-- Special builds -->
557     <profile>
558       <id>native</id>
559       <activation>
560         <activeByDefault>false</activeByDefault>
561       </activation>
562       <build>
563         <plugins>
564           <plugin>
565             <groupId>org.apache.maven.plugins</groupId>
566             <artifactId>maven-antrun-plugin</artifactId>
567             <executions>
568               <execution>
569                 <id>make</id>
570                 <phase>compile</phase>
571                 <goals><goal>run</goal></goals>
572                 <configuration>
573                   <target>
574                     <mkdir dir="${project.build.directory}/native"/>
575                     <exec executable="cmake" dir="${project.build.directory}/native" failonerror="true">
576                       <arg line="${basedir}/src/main/native -DJVM_ARCH_DATA_MODEL=${sun.arch.data.model}"/>
577                     </exec>
578                     <exec executable="make" dir="${project.build.directory}/native" failonerror="true">
579                       <arg line="VERBOSE=1"/>
580                     </exec>
581                   </target>
582                 </configuration>
583               </execution>
584             </executions>
585           </plugin>
586         </plugins>
587       </build>
588     </profile>
589     <!-- Profiles for building against different hadoop versions -->
590     <!-- There are a lot of common dependencies used here, should investigate
591     if we can combine these profiles somehow -->
592     <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
593     <profile>
594       <id>hadoop-3.0</id>
595       <activation>
596         <property><name>!hadoop.profile</name></property>
597       </activation>
598       <dependencies>
599         <dependency>
600           <groupId>org.apache.hadoop</groupId>
601           <artifactId>hadoop-distcp</artifactId>
602         </dependency>
603         <dependency>
604           <groupId>org.apache.hadoop</groupId>
605           <artifactId>hadoop-common</artifactId>
606         </dependency>
607         <dependency>
608           <groupId>org.apache.hadoop</groupId>
609           <artifactId>hadoop-hdfs</artifactId>
610         </dependency>
611         <dependency>
612           <groupId>org.apache.hadoop</groupId>
613           <artifactId>hadoop-hdfs-client</artifactId>
614         </dependency>
615         <dependency>
616           <groupId>org.apache.hadoop</groupId>
617           <artifactId>hadoop-mapreduce-client-core</artifactId>
618           <exclusions>
619             <exclusion>
620               <groupId>javax.xml.bind</groupId>
621               <artifactId>jaxb-api</artifactId>
622             </exclusion>
623             <exclusion>
624               <groupId>javax.ws.rs</groupId>
625               <artifactId>jsr311-api</artifactId>
626             </exclusion>
627           </exclusions>
628         </dependency>
629         <dependency>
630           <groupId>org.apache.hadoop</groupId>
631           <artifactId>hadoop-hdfs</artifactId>
632           <type>test-jar</type>
633           <scope>test</scope>
634         </dependency>
635         <dependency>
636           <groupId>org.apache.hadoop</groupId>
637           <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
638           <type>test-jar</type>
639           <scope>test</scope>
640         </dependency>
641         <dependency>
642           <groupId>org.apache.hadoop</groupId>
643           <artifactId>hadoop-annotations</artifactId>
644         </dependency>
645         <dependency>
646           <groupId>org.apache.hadoop</groupId>
647           <artifactId>hadoop-minicluster</artifactId>
648           <scope>test</scope>
649           <exclusions>
650             <exclusion>
651               <groupId>javax.xml.bind</groupId>
652               <artifactId>jaxb-api</artifactId>
653             </exclusion>
654             <exclusion>
655               <groupId>javax.ws.rs</groupId>
656               <artifactId>jsr311-api</artifactId>
657             </exclusion>
658           </exclusions>
659         </dependency>
660         <!-- Hadoop needs Netty 3.x at test scope for the minicluster>
661         <dependency>
662           <groupId>io.netty</groupId>
663           <artifactId>netty</artifactId>
664           <version>${netty.hadoop.version}</version>
665           <scope>test</scope>
666         </dependency-->
667       </dependencies>
668       <build>
669         <plugins>
670           <plugin>
671             <artifactId>maven-dependency-plugin</artifactId>
672             <executions>
673               <execution>
674                 <id>create-mrapp-generated-classpath</id>
675                 <phase>generate-test-resources</phase>
676                 <goals>
677                   <goal>build-classpath</goal>
678                 </goals>
679                 <configuration>
680                   <!-- needed to run the unit test for DS to generate
681                   the required classpath that is required in the env
682                   of the launch container in the mini mr/yarn cluster
683                   -->
684                   <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
685                 </configuration>
686               </execution>
687             </executions>
688           </plugin>
689         </plugins>
690       </build>
691     </profile>
692     <profile>
693       <id>eclipse-specific</id>
694       <activation>
695         <property>
696           <name>m2e.version</name>
697         </property>
698       </activation>
699       <build>
700         <plugins>
701           <plugin>
702             <groupId>org.apache.maven.plugins</groupId>
703             <artifactId>maven-eclipse-plugin</artifactId>
704             <configuration>
705               <additionalProjectnatures>
706                 <projectnature>org.jamon.project.jamonnature</projectnature>
707               </additionalProjectnatures>
708               <buildcommands>
709                 <buildcommand>org.jamon.project.templateBuilder</buildcommand>
710                 <buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
711                 <buildcommand>org.jamon.project.markerUpdater</buildcommand>
712               </buildcommands>
713               <additionalConfig>
714                 <file>
715                   <name>.settings/org.jamon.prefs</name>
716                   <content># now
717                     eclipse.preferences.version=1
718                     templateSourceDir=src/main/jamon
719                     templateOutputDir=target/generated-jamon
720                   </content>
721                 </file>
722               </additionalConfig>
723             </configuration>
724           </plugin>
725         </plugins>
726         <pluginManagement>
727            <plugins>
728              <!--This plugin's configuration is used to store Eclipse m2e settings
729                  only. It has no influence on the Maven build itself and needs to
730                  be kept in plugin management, not in the actual plugins. -->
731             <plugin>
732               <groupId>org.eclipse.m2e</groupId>
733               <artifactId>lifecycle-mapping</artifactId>
734               <configuration>
735                 <lifecycleMappingMetadata>
736                   <pluginExecutions>
737                     <pluginExecution>
738                       <pluginExecutionFilter>
739                         <groupId>org.jamon</groupId>
740                         <artifactId>jamon-maven-plugin</artifactId>
741                         <versionRange>[2.3.4,)</versionRange>
742                         <goals>
743                           <goal>translate</goal>
744                         </goals>
745                       </pluginExecutionFilter>
746                       <action>
747                           <execute>
748                             <runOnIncremental>false</runOnIncremental>
749                             <runOnConfiguration>true</runOnConfiguration>
750                           </execute>
751                       </action>
752                     </pluginExecution>
753                     <pluginExecution>
754                       <pluginExecutionFilter>
755                         <groupId>org.apache.maven.plugins</groupId>
756                         <artifactId>maven-antrun-plugin</artifactId>
757                         <versionRange>[1.6,)</versionRange>
758                         <goals>
759                           <goal>run</goal>
760                         </goals>
761                       </pluginExecutionFilter>
762                       <action>
763                         <execute>
764                           <runOnIncremental>false</runOnIncremental>
765                           <runOnConfiguration>true</runOnConfiguration>
766                         </execute>
767                       </action>
768                     </pluginExecution>
769                     <pluginExecution>
770                       <pluginExecutionFilter>
771                         <groupId>org.apache.maven.plugins</groupId>
772                         <artifactId>maven-dependency-plugin</artifactId>
773                         <versionRange>[2.8,)</versionRange>
774                         <goals>
775                           <goal>build-classpath</goal>
776                         </goals>
777                       </pluginExecutionFilter>
778                       <action>
779                         <ignore></ignore>
780                       </action>
781                     </pluginExecution>
782                   </pluginExecutions>
783                 </lifecycleMappingMetadata>
784               </configuration>
785             </plugin>
786           </plugins>
787         </pluginManagement>
788       </build>
789     </profile>
790   </profiles>
791 </project>