Changeset 6425


Ignore:
Timestamp:
08/05/15 10:58:37 (9 years ago)
Author:
davor.ostojic@oeaw.ac.at
Message:

uniform maps are moved before config files because maven cant replace them

If you need to "overwrite" a file included by a previous set, the only way to do this is to exclude that file from the earlier set.
from https://maven.apache.org/plugins/maven-assembly-plugin/advanced-descriptor-topics.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.3-oeaw/vlo-distribution/src/main/assembly/installPackageBuilder.xml

    r6412 r6425  
    6565            </excludes>
    6666        </fileSet>
     67         <!-- config files - uniform maps - maven can't replace them thats why this comes first -->
     68        <fileSet>
     69            <directory>${project.parent.basedir}/vlo-commons/src/main/resources/uniform_maps</directory>
     70            <includes>
     71                <include>*.xml</include>
     72            </includes>
     73            <outputDirectory>bin</outputDirectory>
     74        </fileSet>
    6775        <!-- config files -->
    6876        <fileSet>
     
    8088        </fileSet>
    8189       
    82         <!-- config files - replace maps with transformed-->
    83         <fileSet>
    84             <directory>${project.parent.basedir}/vlo-commons/src/main/resources/uniform_maps</directory>
    85             <includes>
    86                 <include>*.xml</include>
    87             </includes>
    88             <outputDirectory>bin</outputDirectory>
    89         </fileSet>
    90 
    9190        <!-- the web application files to be packaged -->
    9291        <!-- war file -->
Note: See TracChangeset for help on using the changeset viewer.