Skip to content

Commit

Permalink
[develop] updated pom with properties.xml creation during rpm install…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
Fabio D'Andria committed Jun 24, 2015
1 parent 103789a commit 8b2ebf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,9 @@ xml.properties() {
<provide>${project.artifactId}</provide>
</provides>
<needarch>noarch</needarch>
<postinstallScriptlet>
<script><![CDATA[ echo -e "<?xml version='1.0' encoding='utf-8'?>\n<properties>\n\t<github_repository version='\${project.version}'>\${project.artifactId}</github_repository>\n</properties>" > /application/properties.xml ]]></script>
</postinstallScriptlet>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 8b2ebf1

Please sign in to comment.