Improve RPM build.
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 0730f6de871b2cd246f5839be66adc99f3b3293e..572796381501fe3d18bb6fcde945070511ab920a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -257,6 +257,9 @@ limitations under the License.
                                                <distribution>argeo${argeo.rpm.release}</distribution>
                                                <group>Applications/System</group>
                                                <prefix>/usr</prefix>
+                                               <!-- <copyTo>${argeo.rpm.stagingRepository}</copyTo> -->
+                                               <defaultDirMode>755</defaultDirMode>
+                                               <defaultFileMode>644</defaultFileMode>
                                        </configuration>
                                </plugin>
                                <plugin>
@@ -513,30 +516,6 @@ limitations under the License.
                                                        </execution>
                                                </executions>
                                        </plugin>
-<!--                                   <plugin> -->
-<!--                                           <groupId>org.apache.maven.plugins</groupId> -->
-<!--                                           <artifactId>maven-dependency-plugin</artifactId> -->
-<!--                                           <executions> -->
-<!--                                                   <execution> -->
-<!--                                                           <id>copy</id> -->
-<!--                                                           <phase>package</phase> -->
-<!--                                                           <goals> -->
-<!--                                                                   <goal>copy</goal> -->
-<!--                                                           </goals> -->
-<!--                                                           <configuration> -->
-<!--                                                                   <artifactItems> -->
-<!--                                                                           <artifactItem> -->
-<!--                                                                                   <groupId>${project.groupId}</groupId> -->
-<!--                                                                                   <artifactId>${project.artifactId}</artifactId> -->
-<!--                                                                                   <version>${project.version}</version> -->
-<!--                                                                                   <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
-<!--                                                                           </artifactItem> -->
-<!--                                                                   </artifactItems> -->
-<!--                                                                   other configurations here -->
-<!--                                                           </configuration> -->
-<!--                                                   </execution> -->
-<!--                                           </executions> -->
-<!--                                   </plugin> -->
                                </plugins>
                        </build>
                </profile>