You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sena Gbeckor-Kove <se...@gmail.com> on 2005/11/23 14:37:45 UTC

RPM Plugin not cleaning its includes

Hi Bob,

It appears that the RPM plugin cumulatively includes the contents of
includes when dealing wiith mappings. For example, the following 2
mappings cause thhe contents of the first  ampping, a bunch of scripts
from the bin directory, to be copied into the next <filename/>
specified "amf/plugin/core/lib".

Any ideas would be appreciated.

Regards

                 <mappings>
                        <mapping>
                            <directory>/usr/local</directory>
                            <filename>amf/bin</filename>
                            <filemode>755</filemode>
                            <username>root</username>
                            <groupname>system</groupname>
                            <sources>
                                <source>
                                    <location>src/main/bin</location>
                                    <includes>
                                    	<include>*</include>
                                    </includes>
                                    <excludes>
                                    	<exclude>CVS</exclude>
                                    	<exclude>CVS/*</exclude>
                                    </excludes>
                                </source>
                            </sources>
                        </mapping>
                        <mapping>
                            <directory>/usr/local</directory>
                            <filename>amf/plugin/core/lib</filename>
                            <filemode>755</filemode>
                            <username>root</username>
                            <groupname>system</groupname>
                            <sources>
                                <source>
                                    <location>target</location>
                                    <includes>
                                    	<include>*.jar</include>
                                    </includes>
                                    <excludes>
                                    	<exclude>CVS</exclude>
                                    	<exclude>CVS/*</exclude>
                                    </excludes>
                                </source>
                            </sources>
                        </mapping>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org