Improve RPM build
[lgpl/argeo-commons.git] / dep / org.argeo.dep.cms.platform / pom.xml
index e32aca29a0f156e31afb433746f65817faa251ec..89b0877702685263feb1bf6ad06807174c8c120c 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/commons/${project.artifactId}/${project.version}</directory>
+                                                                                       <username>root</username>
+                                                                                       <groupname>root</groupname>
+                                                                                       <filemode>644</filemode>
+                                                                                       <directoryIncluded>true</directoryIncluded>
+                                                                                       <artifact />
+                                                                               </mapping>
                                                                        </mappings>
                                                                        <requires>
                                                                                <require>argeo-cms-node</require>