Skip to content
Snippets Groups Projects
pom.xml 3.22 KiB
Newer Older
  • Learn to ignore specific revisions
  • mbrodhu's avatar
    mbrodhu committed
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    
    	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    	<modelVersion>4.0.0</modelVersion>
    	<parent>
    		<artifactId>oaipmh</artifactId>
    		<groupId>info.textgrid.middleware</groupId>
    
    mbrodhu's avatar
    mbrodhu committed
    		<version>2.1.7-SNAPSHOT</version>
    
    	</parent>
    	<groupId>info.textgrid.middleware</groupId>
    	<artifactId>oaipmh-webapp</artifactId>
    	<packaging>war</packaging>
    
    mbrodhu's avatar
    mbrodhu committed
    	<version>2.1.7-SNAPSHOT</version>
    
    	<name>DARIAHDE :: OAI-PMH :: Webapp</name>
    	<url>http://maven.apache.org</url>
    	<profiles>
    		<profile>
    			<id>public</id>
    			<activation>
    				<activeByDefault>true</activeByDefault>
    			</activation>
    			<properties>
    				<webxml.file>web.xml</webxml.file>
    				<finalName.war>tgoaipmh</finalName.war>
    			</properties>
    		</profile>
    		<profile>
    			<id>textgrid.deb</id>
    			<build>
    				<plugins>
    					<plugin>
    						<artifactId>jdeb</artifactId>
    						<groupId>org.vafer</groupId>
    						<version>1.4</version>
    						<executions>
    							<execution>
    								<phase>package</phase>
    								<goals>
    									<goal>jdeb</goal>
    								</goals>
    								<configuration>
    									<snapshotExpand>true</snapshotExpand>
    									<dataSet>
    										<data>
    											<type>directory</type>
    											<src>${project.build.directory}/${project.build.finalName}</src>
    											<mapper>
    												<type>perm</type>
    												<prefix>/var/textgrid/webapps/${project.build.finalName}</prefix>
    												<user>root</user>
    												<group>tomcat7</group>
    												<filemode>755</filemode>
    											</mapper>
    										</data>
    									</dataSet>
    								</configuration>
    							</execution>
    						</executions>
    					</plugin>
    				</plugins>
    			</build>
    		</profile>
    	</profiles>
    	<dependencies>
    		<dependency>
    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    			<version>${junit.version}</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-core</artifactId>
    			<version>${spring.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-web</artifactId>
    			<version>${spring.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework</groupId>
    			<artifactId>spring-webmvc</artifactId>
    			<version>${spring.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>info.textgrid.middleware</groupId>
    			<artifactId>oaipmh-core</artifactId>
    			<version>${project.version}</version>
    		</dependency>
    	</dependencies>
    	<build>
    		<finalName>tgoaipmh</finalName>
    		<plugins>
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-compiler-plugin</artifactId>
    				<version>3.0</version>
    				<configuration>
    					<source>${jdk.version}</source>
    					<target>${jdk.version}</target>
    				</configuration>
    			</plugin>
    			<plugin>
    				<groupId>org.eclipse.jetty</groupId>
    				<artifactId>jetty-maven-plugin</artifactId>
    				<version>9.0.7.v20131107</version>
    				<configuration>
    					<scanIntervalSeconds>1</scanIntervalSeconds>
    					<webAppConfig>
    						<contextPath>tgsearch-public.war</contextPath>
    					</webAppConfig>
    				</configuration>
    			</plugin>
    		</plugins>
    	</build>
    
    mbrodhu's avatar
    mbrodhu committed
    </project>