- <profile>
- <id>rpmbuild</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rpm-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>rpm-node</id>
- <phase>package</phase>
- <goals>
- <goal>rpm</goal>
- </goals>
- <configuration>
- <name>argeo-office</name>
- <mappings>
- <mapping>
- <directory>/etc/argeo/conf.d</directory>
- <username>root</username>
- <groupname>argeo</groupname>
- <filemode>640</filemode>
- <configuration>noreplace</configuration>
- <directoryIncluded>false</directoryIncluded>
- <sources>
- <source>
- <location>base/etc/argeo/conf.d</location>
- <includes>
- <include>*.ini</include>
- <include>*.txt</include>
- </includes>
- </source>
- </sources>
- </mapping>
- </mappings>
- <requires>
- <require>argeo-node</require>
- <require>argeo-suite-e4-rap</require>
- </requires>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>