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

pom.xml 2.1KB

    <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> <artifactId>ipu-cache</artifactId> <packaging>jar</packaging> <name>ipu-cache</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <jedis>2.9.0</jedis> </properties> <dependencies> <!-- Central jar --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </dependency> <dependency> <groupId>com.ai.ipu</groupId> <artifactId>ipu-basic</artifactId> </dependency> <dependency> <groupId>com.ai.ipu</groupId> <artifactId>ipu-common</artifactId> </dependency> <dependency> <groupId>com.ai.wade</groupId> <artifactId>wade-cache</artifactId> </dependency> <dependency> <groupId>com.ai.wade</groupId> <artifactId>wade-apache</artifactId> </dependency> <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>${jedis}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <configuration> <nodeprecated>true</nodeprecated> <doclet>com.ai.ipu.javadoc.IpuDoclet</doclet> <useStandardDocletOptions>false</useStandardDocletOptions> <docletArtifact> <groupId>com.ai.ipu</groupId> <artifactId>ipu-javadoc</artifactId> <version>${ipu}</version> </docletArtifact> <encoding>UTF-8</encoding> <docencoding>UTF-8</docencoding> <charset>UTF-8</charset> <author>true</author> </configuration> </plugin> </plugins> </build> </project>