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
			<!-- Using replace plugin to set the vocabulary baseURL: https://code.google.com/p/maven-replacer-plugin/ 
18
			Template: <p>For allowed values check: $vocabulariesURL$/vocID </p>
19
			-->
20
			<plugin>
21
				<groupId>com.google.code.maven-replacer-plugin</groupId>
22
				<artifactId>replacer</artifactId>
23
				<version>1.5.3</version>
24
				<executions>
25
					<execution>
26
						<phase>prepare-package</phase>
27
						<goals>
28
							<goal>replace</goal>
29
						</goals>
30
					</execution>
31
				</executions>
32
				<configuration>
33
					<basedir>${project.build.directory}/../schema</basedir>
34
					<filesToInclude>*.xsd</filesToInclude>
35
					<replacements>
36
						<replacement>
37
							<token>vocabulariesURL</token>
38
							<value>http://localhost:8280/app/mvc/vocabularies</value>
39
						</replacement>
40
					</replacements>
41
					<delimiters>
42
						<delimiter>\$</delimiter>
43
					</delimiters>
44
				</configuration>
45
			</plugin>
46

    
47
		</plugins>
48
	</build>
49

    
50
	<dependencies>
51
	</dependencies>
52
</project>
    (1-1/1)