Changeset 6530


Ignore:
Timestamp:
09/22/15 08:23:56 (9 years ago)
Author:
davor.ostojic@oeaw.ac.at
Message:

new plugin to copy uniform maps to the target/jar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.3-oeaw/vlo-vocabularies/pom.xml

    r6529 r6530  
    148148        <!-- transform csv to xml on every compile -->
    149149        <build>
    150                 <resources>
    151                         <resource>
    152                                 <filtering>false</filtering>
    153                                 <directory>maps/uniform_maps/</directory>
    154                                 <targetPath>maps/uniform_maps/</targetPath>
    155                         </resource>
    156                 </resources>
    157                
    158150                <plugins>
    159151                        <plugin>
     
    178170                                </executions>
    179171                        </plugin>
    180 <!--                    <plugin> -->
    181 <!--                    <artifactId>maven-resources-plugin</artifactId> -->
    182 <!--                    <version>2.7</version> -->
    183 <!--                    <executions> -->
    184 <!--                            <execution> -->
    185 <!--                            <id>copy-maps</id> -->
    186 <!--                            <phase>compile</phase> -->
    187 <!--                            <goals> -->
    188 <!--                                    <goal>copy-resources</goal> -->
    189 <!--                            </goals> -->
    190 <!--                            <configuration> -->
    191 <!--                                    <outputDirectory>${basedir}/target/maps/uniform_maps</outputDirectory> -->
    192 <!--                                    <resources>           -->
    193 <!--                                            <resource> -->
    194 <!--                                                    <directory>maps/uniform_maps</directory> -->
    195 <!--                                                    <filtering>true</filtering> -->
    196 <!--                                            </resource> -->
    197 <!--                                    </resources>               -->
    198 <!--                            </configuration>             -->
    199 <!--                            </execution> -->
    200 <!--                    </executions> -->
    201 <!--          </plugin> -->
     172                        <plugin>
     173                        <artifactId>maven-resources-plugin</artifactId>
     174                        <version>2.7</version>
     175                        <executions>
     176                                <execution>
     177                                <id>copy-maps</id>
     178                                <phase>compile</phase>
     179                                <goals>
     180                                        <goal>copy-resources</goal>
     181                                </goals>
     182                                <configuration>
     183                                        <outputDirectory>${basedir}/target/classes/maps/uniform_maps</outputDirectory>
     184                                        <resources>         
     185                                                <resource>
     186                                                        <directory>maps/uniform_maps</directory>
     187                                                        <filtering>false</filtering>
     188                                                </resource>
     189                                        </resources>             
     190                                </configuration>           
     191                                </execution>
     192                        </executions>
     193              </plugin>
    202194                </plugins>
    203195        </build>
Note: See TracChangeset for help on using the changeset viewer.