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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
3
|
<parent>
|
4
|
<groupId>eu.dnetlib</groupId>
|
5
|
<artifactId>dnet-hadoop-parent</artifactId>
|
6
|
<version>1.0.0</version>
|
7
|
<relativePath />
|
8
|
</parent>
|
9
|
<modelVersion>4.0.0</modelVersion>
|
10
|
<groupId>eu.dnetlib</groupId>
|
11
|
<artifactId>dnet-openaireplus-schema</artifactId>
|
12
|
<packaging>jar</packaging>
|
13
|
<version>2.0.0</version>
|
14
|
<scm>
|
15
|
<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/dnet-openaireplus-schema/tags/dnet-openaireplus-schema-2.0.0</developerConnection>
|
16
|
</scm>
|
17
|
<build>
|
18
|
<plugins>
|
19
|
<!--
|
20
|
Using replace plugin to set the vocabulary and ontology baseURLs: https://code.google.com/p/maven-replacer-plugin/
|
21
|
Template: <p>For allowed values check: $vocabulariesURL$/vocID </p>
|
22
|
Replaced files will go into outputBasedir/outputDir (see plugin configuration below)
|
23
|
-->
|
24
|
<plugin>
|
25
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
26
|
<artifactId>replacer</artifactId>
|
27
|
<version>1.5.3</version>
|
28
|
<executions>
|
29
|
<execution>
|
30
|
<phase>prepare-package</phase>
|
31
|
<goals>
|
32
|
<goal>replace</goal>
|
33
|
</goals>
|
34
|
</execution>
|
35
|
</executions>
|
36
|
<configuration>
|
37
|
<basedir>${project.build.directory}/../schema</basedir>
|
38
|
<outputBasedir>${project.build.directory}/../schema/</outputBasedir>
|
39
|
<outputDir>replaced</outputDir>
|
40
|
<filesToInclude>*.xsd</filesToInclude>
|
41
|
<replacements>
|
42
|
<replacement>
|
43
|
<token>vocabulariesURL</token>
|
44
|
<value>https://services.openaire.eu/provision/mvc/vocabularies</value>
|
45
|
</replacement>
|
46
|
<!-- <replacement> -->
|
47
|
<!-- <token>ontologyURL</token> -->
|
48
|
<!-- <value>http://www.openaire.eu/ontologies/openaireplus/1.0</value> -->
|
49
|
<!-- </replacement> -->
|
50
|
</replacements>
|
51
|
<delimiters>
|
52
|
<delimiter>\$</delimiter>
|
53
|
</delimiters>
|
54
|
</configuration>
|
55
|
</plugin>
|
56
|
|
57
|
</plugins>
|
58
|
</build>
|
59
|
|
60
|
<dependencies>
|
61
|
</dependencies>
|
62
|
</project>
|