File tree 1 file changed +14
-4
lines changed
1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 316
316
</goals >
317
317
<configuration >
318
318
<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}" >
322
332
<tarfileset dir =" ${project.build.directory}/deb/data" excludes =" **/*.sh" />
323
333
<tarfileset dir =" ${project.build.directory}/deb/data" includes =" **/*.sh" filemode =" 755" />
324
334
<tarfileset dir =" ${project.build.directory}" prefix =" /usr/share/${project.artifactId}" >
335
345
<dependency >
336
346
<groupId >org.redline-rpm</groupId >
337
347
<artifactId >redline</artifactId >
338
- <version >1.1.12 </version >
348
+ <version >1.2.10 </version >
339
349
</dependency >
340
350
</dependencies >
341
351
</plugin >
You can’t perform that action at this time.
0 commit comments