META-INF.maven.com.gitee.starblues.springboot-plugin-maven-packager.plugin-help.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <plugin> <name>Spring Boot Plugin Maven Packager</name> <groupId>com.gitee.starblues</groupId> <artifactId>spring-brick-maven-packager</artifactId> <version>3.1.2</version> <goalPrefix>spring-brick-packager</goalPrefix> <isolatedRealm>false</isolatedRealm> <inheritedByDefault>true</inheritedByDefault> <mojos> <mojo> <goal>repackage</goal> <description>重新打包</description> <requiresDependencyResolution>compile+runtime</requiresDependencyResolution> <requiresDirectInvocation>false</requiresDirectInvocation> <requiresProject>true</requiresProject> <requiresReports>false</requiresReports> <aggregator>false</aggregator> <requiresOnline>false</requiresOnline> <inheritedByDefault>true</inheritedByDefault> <phase>package</phase> <implementation>com.gitee.starblues.plugin.pack.RepackageMojo</implementation> <language>java</language> <instantiationStrategy>per-lookup</instantiationStrategy> <executionStrategy>once-per-session</executionStrategy> <since>3.0.0</since> <requiresDependencyCollection>compile+runtime</requiresDependencyCollection> <threadSafe>true</threadSafe> <parameters> <parameter> <name>project</name> <type>org.apache.maven.project.MavenProject</type> <since>3.0.0</since> <required>true</required> <editable>false</editable> <description>当前项目</description> </parameter> <parameter> <name>outputDirectory</name> <type>java.io.File</type> <since>3.0.0</since> <required>true</required> <editable>true</editable> <description>打包输出目录地址</description> </parameter> <parameter> <name>includes</name> <type>java.util.List</type> <since>3.0.0</since> <required>false</required> <editable>true</editable> <description>包含依赖定义</description> </parameter> <parameter> <name>excludes</name> <type>java.util.List</type> <since>3.0.0</since> <required>false</required> <editable>true</editable> <description>排除依赖定义</description> </parameter> <parameter> <name>skip</name> <type>boolean</type> <since>3.0.0</since> <required>false</required> <editable>true</editable> <description>跳过执行</description> </parameter> <parameter> <name>mode</name> <type>string</type> <since>3.0.0</since> <required>true</required> <editable>true</editable> <description>打包模式: dev/prod ,默认为dev</description> </parameter> <parameter> <name>pluginInfo</name> <type>com.gitee.starblues.plugin.pack.PluginInfo</type> <since>3.0.0</since> <required>false</required> <editable>true</editable> <description>插件信息</description> </parameter> <parameter> <name>loadMainResourcePattern</name> <type>com.gitee.starblues.plugin.pack.LoadMainResourcePattern</type> <since>3.0.0</since> <required>false</required> <editable>true</editable> <description>从主程序加载资源的定义</description> </parameter> <parameter> <name>devConfig</name> <type>com.gitee.starblues.plugin.pack.dev.DevConfig</type> <since>3.0.0</since> <required>false</required> <editable>true</editable> <description>dev打包模式配置</description> </parameter> <parameter> <name>prodConfig</name> <type>com.gitee.starblues.plugin.pack.prod.ProdConfig</type> <since>3.0.0</since> <required>false</required> <editable>true</editable> <description>prod打包模式配置</description> </parameter> <parameter> <name>mainConfig</name> <type>com.gitee.starblues.plugin.pack.main.MainConfig</type> <since>3.0.0</since> <required>false</required> <editable>true</editable> <description>main打包模式配置</description> </parameter> <parameter> <name>loadToMain</name> <type>com.gitee.starblues.plugin.pack.LoadToMain</type> <since>3.0.0</since> <required>false</required> <editable>true</editable> <description>加载到主程序的依赖</description> </parameter> <parameter> <name>encryptConfig</name> <type>com.gitee.starblues.plugin.pack.encrypt.EncryptConfig</type> <since>3.0.1</since> <required>false</required> <editable>true</editable> <description>加密配置</description> </parameter> <parameter> <name>includeSystemScope</name> <type>boolean</type> <since>3.0.2</since> <required>false</required> <editable>true</editable> <description>是否包含scope类型为system的依赖</description> </parameter> </parameters> <configuration> <project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/> <outputDirectory implementation="java.io.File" default-value="${project.build.directory}"/> <skip implementation="boolean" default-value="false"/> <mode implementation="string" default-value="dev"/> <pluginInfo implementation="com.gitee.starblues.plugin.pack.PluginInfo" /> <loadMainResourcePattern implementation="com.gitee.starblues.plugin.pack.LoadMainResourcePattern" /> <includes implementation="java.util.List">${springboot-plugin.includes}</includes> <excludes implementation="java.util.List">${springboot-plugin.excludes}</excludes> <devConfig implementation="com.gitee.starblues.plugin.pack.dev.DevConfig" /> <prodConfig implementation="com.gitee.starblues.plugin.pack.prod.ProdConfig" /> <mainConfig implementation="com.gitee.starblues.plugin.pack.main.MainConfig" /> <loadToMain implementation="com.gitee.starblues.plugin.pack.LoadToMain" /> <includeSystemScope implementation="boolean" default-value="true" /> </configuration> <requirements> <requirement> <role>org.apache.maven.project.MavenProjectHelper</role> <field-name>projectHelper</field-name> </requirement> </requirements> </mojo> </mojos> <dependencies/> </plugin>