MVN

com.github.alvinqq : addversion-maven-plugin

Maven & Gradle

May 16, 2017
1 stars

static file url add version Maven Plugin · Because the browser cache, in the web project development, the static files can not be effective, so every time the version, are required to manually change the reference path for a static file view file, the Maven plugin can compile in the project stage, to add the version number parameters of static file reference view file path, parameters the value for the SVN version number of the file, and support file filter

<plugin>
    <groupId>com.github.alvinqq</groupId>
    <artifactId>addversion-maven-plugin</artifactId>
    <version>1.0.3</version>
</plugin>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.github.alvinqq : addversion-maven-plugin to add to Maven - Latest Versions:

  • Latest Stable: 1.0.3
  • Latest Beta: 1.0.1-beta

All Versions

Choose a version of com.github.alvinqq : addversion-maven-plugin to add to Maven - All Versions:

Version Vulnerabilities Updated
1.0.x
addversion-maven-plugin-1.0.3
addversion-maven-plugin-1.0.2
addversion-maven-plugin-1.0.1
addversion-maven-plugin-1.0.1-beta

How to add a plugin to Maven

Add the maven plugin to the pom.xml file information in this tag as follows:

<plugin>
    <groupId>com.github.alvinqq</groupId>
    <artifactId>addversion-maven-plugin</artifactId>
    <version>1.0.3</version>
</plugin>

Advertisement