Hi,
i'm using the wagon plugin to deploy rpm to our YUM repo.
i've used so far the '<needArch>true</needArch> settings in the
rpm-maven-plugin configuration,
so all the rpm's are created per os (i386/x64...).
i want to allow also 'noarch' rpms to be deploy
(<needArch>false</needArch>), but i can't think on a way
to do while still supporting the os specific settings.
all our noarch rpms go to yum-server://ctcfgroot/ctstable/src/*all*/
here's the config now:
<plugin>
<!-- deploy rpm to center yum repo during deploy phase -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<executions>
<execution>
<id>deploy-remote-rpm</id>
<phase>deploy</phase>
<goals>
<goal>upload</goal>
</goals>
<configuration>
<fromDir>target/rpm/${project.artifactId}/RPMS/${os.arch}</fromDir>
<includes>*.rpm</includes>
<url>scp://yum-server</url>
<toDir>/ctcfgroot/ctstable/src/${os.arch}/${project.artifactId}</toDir>
</configuration>
</execution>
</executions>
</plugin>
any ideas?
--
Eyal Edri