Skip to content

Commit ba22a29

Browse files
committed
Fix wrong version in category.xml during build
1 parent 8cf5866 commit ba22a29

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

net.sourceforge.pmd.eclipse.p2updatesite/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,20 @@
4444
</resource>
4545
</resources>
4646
<plugins>
47+
<plugin>
48+
<groupId>org.apache.maven.plugins</groupId>
49+
<artifactId>maven-clean-plugin</artifactId>
50+
<configuration>
51+
<filesets>
52+
<fileset>
53+
<directory>${project.basedir}</directory>
54+
<includes>
55+
<include>category.xml</include>
56+
</includes>
57+
</fileset>
58+
</filesets>
59+
</configuration>
60+
</plugin>
4761
<!-- make sure that zipped p2 repositories have the fully qualified version -->
4862
<plugin>
4963
<groupId>org.eclipse.tycho</groupId>

net.sourceforge.pmd.eclipse.p2updatesite/src/main/resources/category.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<site>
3-
<feature id="net.sourceforge.pmd.eclipse" version="4.9.1.qualifier">
3+
<feature id="net.sourceforge.pmd.eclipse" version="${qualifiedVersion}">
44
<category name="pmdForEclipse"/>
55
</feature>
66
<category-def name="pmdForEclipse" label="PMD for Eclipse">

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113

114114
<pluginManagement>
115115
<plugins>
116+
<plugin>
117+
<groupId>org.apache.maven.plugins</groupId>
118+
<artifactId>maven-clean-plugin</artifactId>
119+
<version>3.1.0</version>
120+
</plugin>
116121
<plugin>
117122
<groupId>org.eclipse.tycho</groupId>
118123
<artifactId>target-platform-configuration</artifactId>

0 commit comments

Comments
 (0)