Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
	<parent>
5
		<groupId>eu.dnetlib</groupId>
6
		<artifactId>dnet-hadoop-parent</artifactId>
7
		<version>1.0.0-SNAPSHOT</version>
8
		<relativePath></relativePath>
9
	</parent>
10
	<modelVersion>4.0.0</modelVersion>
11
	<groupId>eu.dnetlib</groupId>
12
	<artifactId>dnet-openaireplus-schema</artifactId>
13
	<packaging>jar</packaging>
14
	<version>2.0.0-SNAPSHOT</version>
15
	<build>
16
		<plugins>
17
			<!-- 
18
			Using replace plugin to set the vocabulary and ontology baseURLs: https://code.google.com/p/maven-replacer-plugin/ 
19
			Template: <p>For allowed values check: $vocabulariesURL$/vocID </p>
20
			Replaced files will go into outputBasedir/outputDir (see plugin configuration below)
21
			-->
22
			<plugin>
23
				<groupId>com.google.code.maven-replacer-plugin</groupId>
24
				<artifactId>replacer</artifactId>
25
				<version>1.5.3</version>
26
				<executions>
27
					<execution>
28
						<phase>prepare-package</phase>
29
						<goals>
30
							<goal>replace</goal>
31
						</goals>
32
					</execution>
33
				</executions>
34
				<configuration>
35
					<basedir>${project.build.directory}/../schema</basedir>
36
					<outputBasedir>${project.build.directory}/../schema/</outputBasedir>
37
					<outputDir>replaced</outputDir>
38
					<filesToInclude>*.xsd</filesToInclude>
39
					<replacements>
40
						<replacement>
41
							<token>vocabulariesURL</token>
42
							<value>http://localhost:8280/app/mvc/vocabularies</value>
43
						</replacement>
44
						<replacement>
45
							<token>ontologyURL</token>
46
							<value>http://www.openaire.eu/ontologies/openaireplus/1.0</value>
47
						</replacement>
48
					</replacements>
49
					<delimiters>
50
						<delimiter>\$</delimiter>
51
					</delimiters>
52
				</configuration>
53
			</plugin>
54

    
55
		</plugins>
56
	</build>
57

    
58
	<dependencies>
59
	</dependencies>
60
</project>
    (1-1/1)