Using m2e-aware version of package-info-maven-plugin (v1.0.2-m2e)

This commit is contained in:
catbref 2019-03-26 11:03:50 +00:00
parent c5e5020369
commit 5f5b847bee
4 changed files with 25 additions and 22 deletions

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.bohnman</groupId>
<artifactId>package-info-maven-plugin</artifactId>
<version>1.0.2-m2e</version>
<description>POM was created from install:install-file</description>
</project>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>com.github.bohnman</groupId>
<artifactId>package-info-maven-plugin</artifactId>
<versioning>
<release>1.0.2-m2e</release>
<versions>
<version>1.0.2-m2e</version>
</versions>
<lastUpdated>20190326110305</lastUpdated>
</versioning>
</metadata>

26
pom.xml
View File

@ -18,6 +18,7 @@
<swagger-api.version>2.0.6</swagger-api.version>
<swagger-ui.version>3.19.0</swagger-ui.version>
<felix-bundle-plugin.version>3.5.0</felix-bundle-plugin.version>
<package-info-maven-plugin.version>1.0.2-m2e</package-info-maven-plugin.version>
<build.timestamp>${maven.build.timestamp}</build.timestamp>
</properties>
<build>
@ -124,7 +125,7 @@
<plugin>
<groupId>com.github.bohnman</groupId>
<artifactId>package-info-maven-plugin</artifactId>
<version>1.0.1</version>
<version>${package-info-maven-plugin.version}</version>
<configuration>
<packages>
<package>
@ -248,25 +249,6 @@
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
com.github.bohnman
</groupId>
<artifactId>
package-info-maven-plugin
</artifactId>
<versionRange>
[1.0.1,)
</versionRange>
<goals>
<goal>generate</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute></execute>>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
@ -283,7 +265,7 @@
</goals>
</pluginExecutionFilter>
<action>
<execute></execute>>
<execute></execute>
</action>
</pluginExecution>
<pluginExecution>
@ -302,7 +284,7 @@
</goals>
</pluginExecutionFilter>
<action>
<execute></execute>>
<execute></execute>
</action>
</pluginExecution>
</pluginExecutions>