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