archetype-resources.plugin-build.pom.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <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>${groupId}</groupId> <artifactId>${rootArtifactId}</artifactId> <version>${version}</version> </parent> <artifactId>plugin-build</artifactId> <properties> <plugin.id>${rootArtifactId}</plugin.id> <plugin.class>${groupId}.${pluginName}</plugin.class> </properties> <dependencies> <dependency> <groupId>${groupId}</groupId> <artifactId>plugin-context</artifactId> </dependency> <dependency> <groupId>${groupId}</groupId> <artifactId>auth-provider</artifactId> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <!-- provided by bifromq--> <dependency> <groupId>com.baidu.bifromq</groupId> <artifactId>bifromq-plugin-context</artifactId> </dependency> <dependency> <groupId>com.baidu.bifromq</groupId> <artifactId>bifromq-plugin-main</artifactId> </dependency> <dependency> <groupId>org.pf4j</groupId> <artifactId>pf4j</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>process-manifest</id> <phase>process-resources</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory> <resources> <resource> <directory>assembly</directory> <filtering>true</filtering> <includes> <include>MANIFEST.MF</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <configuration> <finalName>${pluginName}-${project.parent.version}</finalName> <outputDirectory>${project.basedir}/../target</outputDirectory> <descriptors> <descriptor>assembly/assembly-zip.xml</descriptor> </descriptors> <appendAssemblyId>false</appendAssemblyId> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy