Skip to content
Snippets Groups Projects
pom.xml 4.96 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/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>info.textgrid.middleware</groupId>
      <artifactId>oaipmh-core</artifactId>
    
      <version>1.1.0-SNAPSHOT</version>
    
    mbrodhu's avatar
    mbrodhu committed
      <packaging>jar</packaging>
      <name>TextGrid :: TG-OAI-PMH :: Core</name>
    
      <url>http://maven.apache.org</url>
    
      <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <cxf.version>2.7.8</cxf.version>
    	<textgrid.httpclients.version>1.3.0-SNAPSHOT</textgrid.httpclients.version>
    	<tgsearch.version>3.0.2-SNAPSHOT</tgsearch.version>
    	<slf4j.version>1.7.5</slf4j.version>
      </properties>
    	
    	<dependencies>
    	
    		<dependency>
    			<groupId>org.apache.cxf</groupId>
    			<artifactId>cxf-rt-rs-client</artifactId>
    			<version>3.0.0-milestone1</version>
    		</dependency>
    	
    		<dependency>
    			<groupId>org.apache.cxf</groupId>
    			<artifactId>cxf-rt-transports-http-hc</artifactId>
     			<version>${cxf.version}</version>
    		</dependency>
    	
    		<dependency>
    			<groupId>org.apache.cxf</groupId>
    			<artifactId>cxf-rt-frontend-jaxrs</artifactId>
    			<version>${cxf.version}</version>
    		</dependency>
    	
    		<dependency>
    			<groupId>org.apache.cxf</groupId>
    			<artifactId>cxf-rt-frontend-jaxws</artifactId>
    			<version>${cxf.version}</version>
    		</dependency>
    		
    		<dependency>
    			<groupId>javax.ws.rs</groupId>
    			<artifactId>jsr311-api</artifactId>
    			<version>1.0</version>
    		</dependency>
    
    		<dependency>
    			<groupId>org.apache.cxf</groupId>
    			<artifactId>cxf-rt-transports-http</artifactId>
    			<version>${cxf.version}</version>
    		</dependency>
    
    		<dependency>
    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    			<version>4.11</version>
    			<scope>test</scope>
    		</dependency>
    	
    		<dependency>
    			<groupId>javax.xml.bind</groupId>
    			<artifactId>jaxb-api</artifactId>
    			<version>2.1</version>
    		</dependency>
    	
    		<dependency>
    			<groupId>org.elasticsearch</groupId>
    			<artifactId>elasticsearch</artifactId>
    			<version>0.90.7</version>
    		</dependency>
    		
    		<dependency>
    			<groupId>info.textgrid.utils</groupId>
    			<artifactId>httpclients</artifactId>
    			<version>${textgrid.httpclients.version}</version>
    		</dependency>
    	
    
    mbrodhu's avatar
    mbrodhu committed
    		<!-- >dependency>
    
    mbrodhu's avatar
    mbrodhu committed
    			<groupId>org.openrdf.sesame</groupId>
    			<artifactId>sesame-runtime</artifactId>
    			<version>2.5.0</version>
    
    mbrodhu's avatar
    mbrodhu committed
    		</dependency-->
    
    mbrodhu's avatar
    mbrodhu committed
        
    		<dependency>
    			<groupId>org.slf4j</groupId>
    			<artifactId>slf4j-api</artifactId>
    			<version>${slf4j.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>org.slf4j</groupId>
    			<artifactId>jcl-over-slf4j</artifactId>
    			<version>${slf4j.version}</version>
    			<scope>runtime</scope>
        	</dependency>
    		<dependency>
    			<groupId>org.slf4j</groupId>
    			<artifactId>slf4j-log4j12</artifactId>
    			<version>${slf4j.version}</version>
    			<scope>runtime</scope>
    		</dependency>
    		<dependency>
    			<groupId>log4j</groupId>
    			<artifactId>log4j</artifactId>
    			<version>1.2.14</version>
    		</dependency>
    	</dependencies>
    
    	<repositories>
    		<repository>
    			<id>nexus.snapshots</id>
    			<name>DARIA nexus public Repository</name>
    			<url>http://dev.dariah.eu/nexus/content/groups/public</url>
    			<releases>
    				<enabled>true</enabled>
    			</releases>
    			<snapshots>
    				<enabled>true</enabled>
    			</snapshots>
    		</repository>
    		
    
    mbrodhu's avatar
    mbrodhu committed
    		<!-- repository>
    
    mbrodhu's avatar
    mbrodhu committed
            	<id>aduna</id>
            	<name>Aduna Software</name>
            	<url>http://repo.aduna-software.org/maven2/releases/</url>
    
    mbrodhu's avatar
    mbrodhu committed
          	</repository-->
    
    mbrodhu's avatar
    mbrodhu committed
    	</repositories>
    	
      <build>
    	<pluginManagement>
    		<plugins>
               	<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-compiler-plugin</artifactId>
    				<version>2.5.1</version>
            	</plugin>
    		</plugins>
        </pluginManagement>
        
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>jaxb2-maven-plugin</artifactId>
            <version>1.5</version>
            <executions>
             
              <execution>
                <id>oaipmhSchema-xjc</id>
                <goals>
                  <goal>xjc</goal>
                </goals>
                <configuration>
                  <schemaFile>oai_pmh.xsd</schemaFile>
                  <packageName>info.textgrid.middleware.oaipmh</packageName>
                  <staleFile>${project.build.directory}/jaxb2/.oaipmhSchemaXjcStaleFlag</staleFile>
                  <clearOutputDir>false</clearOutputDir>
                </configuration>
              </execution>
              
              <execution>
                <id>oaipmhDCSchema-xjc</id>
                <goals>
                  <goal>xjc</goal>
                </goals>
                <configuration>
                  <schemaFile>oai_dc.xsd</schemaFile>
                  <packageName>info.textgrid.middleware.oaidc</packageName>
                  <staleFile>${project.build.directory}/jaxb2/.oaiDCSchemaXjcStaleFlag</staleFile>
                  <clearOutputDir>false</clearOutputDir>
                </configuration>
              </execution>
     		</executions>
          </plugin>
    	</plugins>
      </build>
    </project>