File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 316316 </goals >
317317 <configuration >
318318 <target >
319- <taskdef name =" redline" classname =" org.freecompany.redline.ant.RedlineTask" classpath =" maven.plugin.classpath" />
320-
321- <redline destination =" ${project.build.directory}" group =" Development/Tools" name =" ${project.artifactId}" version =" ${project.version}" url =" ${project.url}" >
319+ <taskdef name =" redline" classname =" org.redline_rpm.ant.RedlineTask" classpath =" maven.plugin.classpath" />
320+
321+ <loadresource property =" rpm.version" >
322+ <propertyresource name =" project.version" />
323+ <filterchain >
324+ <tokenfilter >
325+ <filetokenizer />
326+ <replacestring from =" -SNAPSHOT" to =" .SNAPSHOT" />
327+ </tokenfilter >
328+ </filterchain >
329+ </loadresource >
330+
331+ <redline destination =" ${project.build.directory}" group =" Development/Tools" name =" ${project.artifactId}" version =" ${rpm.version}" url =" ${project.url}" >
322332 <tarfileset dir =" ${project.build.directory}/deb/data" excludes =" **/*.sh" />
323333 <tarfileset dir =" ${project.build.directory}/deb/data" includes =" **/*.sh" filemode =" 755" />
324334 <tarfileset dir =" ${project.build.directory}" prefix =" /usr/share/${project.artifactId}" >
335345 <dependency >
336346 <groupId >org.redline-rpm</groupId >
337347 <artifactId >redline</artifactId >
338- <version >1.1.12 </version >
348+ <version >1.2.10 </version >
339349 </dependency >
340350 </dependencies >
341351 </plugin >
You can’t perform that action at this time.
0 commit comments