<?xml version="1.0"?> <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.gitee.l0km</groupId> <artifactId>codegen</artifactId> <version>1.0.0</version> </parent> <artifactId>codegen-decorator</artifactId> <name>codegen-decorator</name> <packaging>jar</packaging> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>codegen-base</artifactId> </dependency> </dependencies> <build> <plugins> <!-- 跳过测试 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.1.0</version> <configuration> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>net.gdface.codegen.decorator.DecoratorGenerator</mainClass> </transformer> </transformers> <shadedArtifactAttached>true</shadedArtifactAttached> <minimizeJar>false</minimizeJar> <!-- 生æˆ�ä¾�赖包的æº�ç �jar包 --> <createSourcesJar>true</createSourcesJar> <shadedClassifierName>standalone</shadedClassifierName> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>
<dependency> <groupId>com.gitee.l0km</groupId> <artifactId>codegen-decorator</artifactId> <version>1.0.0</version> <classifier>standalone</classifier> </dependency>
com.gitee.l0km:codegen-decorator:1.0.0:standalone