Ignore:
Timestamp:
04/04/12 13:41:03 (12 years ago)
Author:
herste
Message:

bla

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/trunk/vlo_webapp/pom.xml

    r1853 r1855  
    1 
    21<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    32         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     
    54    <groupId>eu.clarin.cmdi</groupId>
    65    <artifactId>vlo</artifactId>
    7     <packaging>war</packaging>
     6    <packaging>${packaging}</packaging>
    87    <version>2.5-SNAPSHOT</version>
    98    <name>VirtualLanguageObservatory</name>
     
    136135                </configuration>
    137136            </plugin>
    138             <!--
    139               Assembly helper to create the Importer tool a command line tool which can help fill in a solr server with cmdi
    140               files. Build the tool with: mvn -Dpackaging=jar -Dmaven.test.skip=true assembly:assembly This creates in
    141               "target" a vlo_solr-1.0-SNAPSHOT-Importer directory with a bin and share directory. You can start the tool from
    142               the bin dir.
    143             -->
    144             <!--<plugin>
    145                 <groupId>org.apache.maven.plugins</groupId>
    146                 <artifactId>maven-assembly-plugin</artifactId>
    147                 <configuration>
    148                     <attach>false</attach>
    149                     <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
    150                     <descriptors>
    151                         <descriptor>src/main/assembly/importer.xml</descriptor>
    152                     </descriptors>
    153                 </configuration>
    154             </plugin>-->
    155137            <plugin>
    156138                <groupId>org.apache.maven.plugins</groupId>
     
    165147                    </execution>
    166148                </executions>
     149                <configuration>
     150                    <classesDirectory>target/classes</classesDirectory>
     151                    <includes>
     152                        <include>**/*</include>
     153                    </includes>
     154                    <archive>
     155                        <index>false</index>
     156                        <manifest>
     157                            <addClasspath>true</addClasspath>
     158                            <classpathPrefix>. lib/</classpathPrefix>
     159                            <mainClass>eu.clarin.cmdi.vlo.importer.MetadataImporter</mainClass>
     160                        </manifest>
     161                    </archive>
     162                </configuration>
    167163            </plugin>
    168164            <plugin>
    169                 <artifactId>maven-assembly-plugin</artifactId>
    170                 <version>2.3</version>
    171                 <configuration>
    172                     <descriptorRefs>
    173                         <descriptorRef>jar-with-dependencies</descriptorRef>
    174                     </descriptorRefs>
    175                 </configuration>
     165                <groupId>org.apache.maven.plugins</groupId>
     166                <artifactId>maven-dependency-plugin</artifactId>
    176167                <executions>
    177168                    <execution>
    178                         <id>make-assembly</id> <!-- this is used for inheritance merges -->
    179                         <phase>package</phase> <!-- bind to the packaging phase -->
     169                        <id>copy-dependencies</id>
     170                        <phase>prepare-package</phase>
    180171                        <goals>
    181                             <goal>single</goal>
     172                            <goal>copy-dependencies</goal>
    182173                        </goals>
     174                        <configuration>
     175                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
     176                            <overWriteReleases>false</overWriteReleases>
     177                            <overWriteSnapshots>false</overWriteSnapshots>
     178                            <overWriteIfNewer>true</overWriteIfNewer>
     179                        </configuration>
    183180                    </execution>
    184181                </executions>
    185182            </plugin>
    186 
    187183        </plugins>
    188184    </build>
Note: See TracChangeset for help on using the changeset viewer.