Project

General

Profile

1 28033 alessia.ba
<?xml version="1.0" encoding="UTF-8"?>
2 38468 alessia.ba
<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 28033 alessia.ba
	<parent>
4
		<groupId>eu.dnetlib</groupId>
5
		<artifactId>dnet-hadoop-parent</artifactId>
6 38465 alessia.ba
		<version>1.0.0</version>
7 38468 alessia.ba
		<relativePath />
8 28033 alessia.ba
	</parent>
9
	<modelVersion>4.0.0</modelVersion>
10
	<groupId>eu.dnetlib</groupId>
11
	<artifactId>dnet-openaireplus-schema</artifactId>
12
	<packaging>jar</packaging>
13 38760 alessia.ba
	<version>4.0.0-SNAPSHOT</version>
14 38467 alessia.ba
	<scm>
15 38470 alessia.ba
		<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/dnet-openaireplus-schema/trunk</developerConnection>
16 38467 alessia.ba
	</scm>
17 28731 alessia.ba
	<build>
18 38763 alessia.ba
		<!--
19
			For the generation of the documentation see ticket https://issue.openaire.research-infrastructures.eu/issues/346:
20
    		- Replace the vocabulary URL running mvn package
21
    		- Commit and upload the replaced schema to Joomla machine
22
    		- Run the generation of documentation from Oxygen with parameters:
23
        		- xsd location: web url to the schema (if we select the file on the local file system, then the documentation will contain references to the local file system, while we want documentation to refer to www.openaire.eu
24
        		- target path: dnet-openaireplus-schema/schema/{version}/doc
25
        		- output format: HTML splitted by location
26
        		- all settings options checked
27
        		- image in JPEG
28
   			- Commit and copy the documentation into the Joomla machine
29
			-->
30 28731 alessia.ba
		<plugins>
31 29232 alessia.ba
			<!--
32
			Using replace plugin to set the vocabulary and ontology baseURLs: https://code.google.com/p/maven-replacer-plugin/
33 28731 alessia.ba
			Template: <p>For allowed values check: $vocabulariesURL$/vocID </p>
34 29232 alessia.ba
			Replaced files will go into outputBasedir/outputDir (see plugin configuration below)
35 28731 alessia.ba
			-->
36
			<plugin>
37
				<groupId>com.google.code.maven-replacer-plugin</groupId>
38
				<artifactId>replacer</artifactId>
39
				<version>1.5.3</version>
40
				<executions>
41
					<execution>
42
						<phase>prepare-package</phase>
43
						<goals>
44
							<goal>replace</goal>
45
						</goals>
46
					</execution>
47
				</executions>
48
				<configuration>
49 38760 alessia.ba
					<basedir>${project.build.directory}/../schema/0.3_complete/</basedir>
50
					<outputBasedir>${project.build.directory}/../schema/0.3_complete/</outputBasedir>
51 29232 alessia.ba
					<outputDir>replaced</outputDir>
52 28731 alessia.ba
					<filesToInclude>*.xsd</filesToInclude>
53
					<replacements>
54
						<replacement>
55
							<token>vocabulariesURL</token>
56 38760 alessia.ba
							<value>http://api.openaire.eu/vocabularies</value>
57 28731 alessia.ba
						</replacement>
58 29507 alessia.ba
<!-- 						<replacement> -->
59
<!-- 							<token>ontologyURL</token> -->
60
<!-- 							<value>http://www.openaire.eu/ontologies/openaireplus/1.0</value> -->
61
<!-- 						</replacement> -->
62 28731 alessia.ba
					</replacements>
63
					<delimiters>
64
						<delimiter>\$</delimiter>
65
					</delimiters>
66
				</configuration>
67
			</plugin>
68 28033 alessia.ba
69 28731 alessia.ba
		</plugins>
70
	</build>
71
72 28033 alessia.ba
	<dependencies>
73
	</dependencies>
74
</project>