Debian Codegraph @

doc/examples/mr-example/pom.xml

raw
1 <!--
2 - Licensed to the Apache Software Foundation (ASF) under one
3 - or more contributor license agreements. See the NOTICE file
4 - distributed with this work for additional information
5 - regarding copyright ownership. The ASF licenses this file
6 - to you under the Apache License, Version 2.0 (the
7 - "License"); you may not use this file except in compliance
8 - with the License. You may obtain a copy of the License at
9 -
10 - https://www.apache.org/licenses/LICENSE-2.0
11 -
12 - Unless required by applicable law or agreed to in writing,
13 - software distributed under the License is distributed on an
14 - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 - KIND, either express or implied. See the License for the
16 - specific language governing permissions and limitations
17 - under the License.
18 -->
19 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21 <modelVersion>4.0.0</modelVersion>
22
23 <groupId>example</groupId>
24 <artifactId>mr-example</artifactId>
25 <version>1.0</version>
26 <packaging>jar</packaging>
27
28 <name>mr-example</name>
29
30 <properties>
31 <avro.version>1.12.1</avro.version>
32 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33 </properties>
34
35 <build>
36 <plugins>
37 <plugin>
38 <groupId>org.apache.maven.plugins</groupId>
39 <artifactId>maven-compiler-plugin</artifactId>
40 <version>3.8.1</version>
41 <configuration>
42 <source>11</source>
43 <target>11</target>
44 </configuration>
45 </plugin>
46 <plugin>
47 <groupId>org.apache.avro</groupId>
48 <artifactId>avro-maven-plugin</artifactId>
49 <version>${avro.version}</version>
50 <executions>
51 <execution>
52 <phase>generate-sources</phase>
53 <goals>
54 <goal>schema</goal>
55 </goals>
56 <configuration>
57 <sourceDirectory>${project.basedir}/../</sourceDirectory>
58 <outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory>
59 </configuration>
60 </execution>
61 </executions>
62 </plugin>
63 </plugins>
64 <pluginManagement>
65 <plugins>
66 <plugin>
67 <groupId>org.eclipse.m2e</groupId>
68 <artifactId>lifecycle-mapping</artifactId>
69 <version>1.0.0</version>
70 <configuration>
71 <lifecycleMappingMetadata>
72 <pluginExecutions>
73 <pluginExecution>
74 <pluginExecutionFilter>
75 <groupId>org.apache.avro</groupId>
76 <artifactId>avro-maven-plugin</artifactId>
77 <versionRange>[${avro.version},)</versionRange>
78 <goals>
79 <goal>schema</goal>
80 </goals>
81 </pluginExecutionFilter>
82 <action>
83 <execute/>
84 </action>
85 </pluginExecution>
86 </pluginExecutions>
87 </lifecycleMappingMetadata>
88 </configuration>
89 </plugin>
90 </plugins>
91 </pluginManagement>
92 </build>
93
94 <dependencies>
95 <dependency>
96 <groupId>org.apache.avro</groupId>
97 <artifactId>avro</artifactId>
98 <version>${avro.version}</version>
99 </dependency>
100 <dependency>
101 <groupId>org.apache.avro</groupId>
102 <artifactId>avro-mapred</artifactId>
103 <version>${avro.version}</version>
104 </dependency>
105 <dependency>
106 <groupId>org.apache.hadoop</groupId>
107 <artifactId>hadoop-client</artifactId>
108 <version>3.3.0</version>
109 <scope>provided</scope>
110 </dependency>
111 </dependencies>
112 </project>