团队对封装组件的代码范例

pom.xml 1.5KB

    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.ai.ipu</groupId> <artifactId>ipu-aggregator</artifactId> <version>3.1-SNAPSHOT</version> </parent> <groupId>com.ai.ipu.example</groupId> <artifactId>ipu-hadoop-example</artifactId> <version>1.0</version> <packaging>jar</packaging> <name>ipu-hadoop-example</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <ipu>3.1-SNAPSHOT</ipu> <jdk>1.8</jdk> <junit>4.12</junit> <hadoop-client>2.7.3</hadoop-client> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit}</version> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> <version>${hadoop-client}</version> </dependency> <dependency> <groupId>com.ai.ipu</groupId> <artifactId>ipu-basic</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> </project>