Skip to content
This repository was archived by the owner on Jun 19, 2024. It is now read-only.

Commit ac4a07d

Browse files
committed
Merge pull request #8 from 1and1/take-plugin-version-from-pom
Use project.version in plugin.xml
2 parents 2e650bd + 2ca20da commit ac4a07d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@
126126
</dependencies>
127127

128128
<build>
129+
<resources>
130+
<resource>
131+
<directory>${basedir}/src/main/resources</directory>
132+
<filtering>true</filtering>
133+
</resource>
134+
</resources>
129135
<finalName>${project.artifactId}</finalName>
130136
<plugins>
131137
<plugin>

src/main/resources/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<go-plugin id="maven-repo" version="1">
33
<about>
44
<name>Maven repository plugin</name>
5-
<version>1.0.0</version>
5+
<version>${project.version}</version>
66
<target-go-version>14.4</target-go-version>
77
<description>Polls a Maven repository by maven-metadata.xml</description>
88
<vendor>

0 commit comments

Comments
 (0)