Skip to content

Commit

Permalink
Merge pull request #155 from stdweird/fix_rpmlint
Browse files Browse the repository at this point in the history
pom: Fix rpmlint errors
  • Loading branch information
ned21 committed May 8, 2016
2 parents ebaed78 + 65d738b commit 78631f5
Showing 1 changed file with 33 additions and 14 deletions.
47 changes: 33 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<artifactId>perl-CAF</artifactId>
<packaging>pom</packaging>
<version>16.2.1-SNAPSHOT</version>
<name>Configuration Cache Manager for Quattor</name>
<name>Common Application Framework for Quattor</name>
<parent>
<groupId>org.quattor.maven</groupId>
<artifactId>build-profile</artifactId>
<version>1.48</version>
<version>1.49</version>
<relativePath />
</parent>
<licenses>
Expand Down Expand Up @@ -72,6 +72,30 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>filter-changelog</id>
<phase>compile</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<encoding>UTF-8</encoding>
<delimiters>
<delimiter>${*}</delimiter>
</delimiters>
<useDefaultDelimiters>false</useDefaultDelimiters>
<outputDirectory>${project.build.directory}</outputDirectory>
<resources>
<resource>
<directory>${project.build.directory}/dependency/build-scripts</directory>
<filtering>true</filtering>
<includes>
<include>ChangeLog.template</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>filter-perl-sources</id>
<phase>process-sources</phase>
Expand Down Expand Up @@ -179,7 +203,7 @@
<id>tarballs</id>
<configuration combine.self="override">
<descriptors>
<descriptor>target/dependency/assemblies/bin.xml</descriptor>
<descriptor>${project.build.directory}/dependency/assemblies/bin.xml</descriptor>
</descriptors>
</configuration>
</execution>
Expand Down Expand Up @@ -212,15 +236,15 @@
<workingDirectory>${basedir}</workingDirectory>
<arguments>
<argument>-I</argument>
<argument>target/lib/perl</argument>
<argument>${project.build.directory}/lib/perl</argument>
<argument>-I</argument>
<argument>src/test/resources</argument>
<argument>${prove.args}</argument>
<argument>-I</argument>
<argument>target/dependency/build-scripts</argument>
<argument>${project.build.directory}/dependency/build-scripts</argument>
<argument>src/test/perl/${unittest}</argument>
</arguments>
</configuration>
</configuration>
</execution>
</executions>
</plugin>
Expand All @@ -237,12 +261,7 @@
<configuration>
<summary>Common Application Framework for Quattor Perl applications</summary>
<name>${project.artifactId}</name>
<provides>
<provide>edg-caf-perl</provide>
</provides>
<requires>
<require>perl-LC</require>
</requires>
<url>https://github.com/quattor/CAF/tree/master</url>
<mappings>
<mapping>
<directory>/usr/lib/perl/CAF</directory>
Expand All @@ -266,9 +285,9 @@
<directoryIncluded>false</directoryIncluded>
<sources>
<source>
<location>${basedir}</location>
<location>${project.build.directory}</location>
<includes>
<include>ChangeLog</include>
<include>ChangeLog.template</include>
</includes>
</source>
</sources>
Expand Down

0 comments on commit 78631f5

Please sign in to comment.