]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Improve RPM build
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 20 Sep 2016 12:52:15 +0000 (12:52 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 20 Sep 2016 12:52:15 +0000 (12:52 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@9194 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

dep/org.argeo.slc.dep.backend/pom.xml
dep/org.argeo.slc.dep.minimal/pom.xml

index 1c69af5c20efa1b14c87db625ba1ba2c736d44f7..18cf2d1a48a0a3e85fa45401747f9bae0c99a369 100644 (file)
                                                                                        <username>root</username>
                                                                                        <groupname>root</groupname>
                                                                                        <filemode>644</filemode>
-                                                                                       <directoryIncluded>false</directoryIncluded>
+                                                                                       <directoryIncluded>true</directoryIncluded>
                                                                                        <sources>
                                                                                                <source>
                                                                                                        <location>${project.build.directory}/lib-argeo</location>
                                                                                                </source>
                                                                                        </sources>
                                                                                </mapping>
-                                                                               <!-- <mapping> -->
-                                                                               <!-- <directory>/usr/share/osgi</directory> -->
-                                                                               <!-- <username>root</username> -->
-                                                                               <!-- <groupname>root</groupname> -->
-                                                                               <!-- <filemode>644</filemode> -->
-                                                                               <!-- <artifact /> -->
-                                                                               <!-- </mapping> -->
+                                                                               <mapping>
+                                                                                       <directory>/usr/share/osgi/org/argeo/slc/${project.artifactId}/${project.version}</directory>
+                                                                                       <username>root</username>
+                                                                                       <groupname>root</groupname>
+                                                                                       <filemode>644</filemode>
+                                                                                       <directoryIncluded>false</directoryIncluded>
+                                                                                       <artifact />
+                                                                               </mapping>
                                                                        </mappings>
                                                                        <requires>
                                                                                <require>argeo-cms-platform</require>
index 923726b84859d72721e3c81ff2c4cb8f127a57b8..ee4853ba41e22a57a80250fa17dfa40715b85ba6 100644 (file)
                                                                                        <username>root</username>
                                                                                        <groupname>root</groupname>
                                                                                        <filemode>644</filemode>
-                                                                                       <directoryIncluded>false</directoryIncluded>
+                                                                                       <directoryIncluded>true</directoryIncluded>
                                                                                        <sources>
                                                                                                <source>
                                                                                                        <location>${project.build.directory}/lib-argeo</location>
                                                                                                </source>
                                                                                        </sources>
                                                                                </mapping>
+                                                                               <mapping>
+                                                                                       <directory>/usr/share/osgi/org/argeo/slc/${project.artifactId}/${project.version}</directory>
+                                                                                       <username>root</username>
+                                                                                       <groupname>root</groupname>
+                                                                                       <filemode>644</filemode>
+                                                                                       <directoryIncluded>false</directoryIncluded>
+                                                                                       <artifact />
+                                                                               </mapping>
                                                                        </mappings>
                                                                        <requires>
                                                                                <require>argeo-cms-node</require>