Changeset 1855
- Timestamp:
- 04/04/12 13:41:03 (12 years ago)
- Location:
- vlo/trunk
- Files:
-
- 1 deleted
- 2 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
vlo/trunk/src/main/assembly/installPackageBuilder.xml
r1854 r1855 48 48 <directory>vlo_webapp/target</directory> 49 49 <includes> 50 <include>* jar-with-dependencies.jar</include>50 <include>*.jar</include> 51 51 </includes> 52 52 <outputDirectory>bin/importer</outputDirectory> 53 </fileSet> 54 <!-- Dependencies --> 55 <fileSet> 56 <directory>vlo_webapp/target/lib</directory> 57 <includes> 58 <include>*.*</include> 59 </includes> 60 <outputDirectory>bin/importer/lib</outputDirectory> 53 61 </fileSet> 54 62 <!-- run script --> … … 69 77 <outputDirectory>bin/importer</outputDirectory> 70 78 </fileSet> 71 <fileSet> <!-- TODO: Make NOT NEEDED, need properties instead! -->79 <fileSet> 72 80 <directory>vlo_webapp/src/main/resources</directory> 73 81 <includes> -
vlo/trunk/vlo_webapp/pom.xml
r1853 r1855 1 2 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> … … 5 4 <groupId>eu.clarin.cmdi</groupId> 6 5 <artifactId>vlo</artifactId> 7 <packaging> war</packaging>6 <packaging>${packaging}</packaging> 8 7 <version>2.5-SNAPSHOT</version> 9 8 <name>VirtualLanguageObservatory</name> … … 136 135 </configuration> 137 136 </plugin> 138 <!--139 Assembly helper to create the Importer tool a command line tool which can help fill in a solr server with cmdi140 files. Build the tool with: mvn -Dpackaging=jar -Dmaven.test.skip=true assembly:assembly This creates in141 "target" a vlo_solr-1.0-SNAPSHOT-Importer directory with a bin and share directory. You can start the tool from142 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>-->155 137 <plugin> 156 138 <groupId>org.apache.maven.plugins</groupId> … … 165 147 </execution> 166 148 </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> 167 163 </plugin> 168 164 <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> 176 167 <executions> 177 168 <execution> 178 <id> make-assembly</id> <!-- this is used for inheritance merges -->179 <phase>p ackage</phase> <!-- bind to the packaging phase -->169 <id>copy-dependencies</id> 170 <phase>prepare-package</phase> 180 171 <goals> 181 <goal> single</goal>172 <goal>copy-dependencies</goal> 182 173 </goals> 174 <configuration> 175 <outputDirectory>${project.build.directory}/lib</outputDirectory> 176 <overWriteReleases>false</overWriteReleases> 177 <overWriteSnapshots>false</overWriteSnapshots> 178 <overWriteIfNewer>true</overWriteIfNewer> 179 </configuration> 183 180 </execution> 184 181 </executions> 185 182 </plugin> 186 187 183 </plugins> 188 184 </build> -
vlo/trunk/vlo_webapp/src/test/resources/applicationContext.xml
r1849 r1855 2 2 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 3 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> 4 5 <!-- 6 Property placeholder that allows init parameters defined in servlet context to be used as property values 7 (in this case admin users list) 8 --> 9 <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> 10 <property name="location" value="classpath:application.properties" /> 11 </bean> 12 4 13 <bean id="configuration" class="eu.clarin.cmdi.vlo.Configuration" factory-method="getInstance"> 5 <property name="solrUrl" value="http://localhost:8080/vlo_solr" /> 14 <property name="solrUrl" value="${eu.clarin.cmdi.vlo.solrUrl}" /> 15 <!--<property name="solrUrl" value="http://localhost:8080/vlo_solr" />--> 6 16 <!-- <property name="solrUrl" value="http://lux16.mpi.nl:8080/vlo_solr" />--> 7 17 <!-- <property name="solrUrl" value="http://catalog.clarin.eu:8080/vlo_solr" />--> 18 <property name="importerConfigFile" value="${eu.clarin.cmdi.vlo.importerConfigFile}" /> 19 8 20 <property name="IMDIBrowserUrl" value="http://corpus1.mpi.nl/ds/imdi_browser?openpath=" /> 9 21 <property name="handleServerUrl" value="http://hdl.handle.net/" />
Note: See TracChangeset
for help on using the changeset viewer.