Revision 44397
Added by Tsampikos Livisianos about 8 years ago
modules/dnet-openaire-lodexport/trunk/src/main/java/eu/dnetlib/data/mapreduce/hbase/lodExport/utils/NewSerializer.java | ||
---|---|---|
168 | 168 |
// originalId |
169 | 169 |
|
170 | 170 |
for (String oid : data.getOriginalIdList()) { |
171 |
dataStr += cleanId(oid) + SEPERATOR;
|
|
171 |
dataStr += clean(oid) + SEPERATOR; //oid is not openaireid, clean instead of cleanid
|
|
172 | 172 |
} |
173 | 173 |
|
174 | 174 |
|
... | ... | |
215 | 215 |
buff.append(clean(metadata.getLatitude().getValue()) + DELIM); |
216 | 216 |
|
217 | 217 |
// longtitude |
218 |
buff.append(clean(metadata.getLongitude().getValue() + DELIM));
|
|
218 |
buff.append(clean(metadata.getLongitude().getValue()) + DELIM);
|
|
219 | 219 |
|
220 | 220 |
// dateofvalidation, |
221 | 221 |
buff.append(clean(metadata.getDateofvalidation().getValue()) + DELIM); |
... | ... | |
621 | 621 |
dataStr = " "; |
622 | 622 |
for (StructuredProperty s : data.getPidList()) { |
623 | 623 |
|
624 |
dataStr += cleanId(s.getValue()) + ";";
|
|
624 |
dataStr += clean(s.getValue()) + ";"; |
|
625 | 625 |
} |
626 | 626 |
buff.append(dataStr + DELIM); |
627 | 627 |
|
modules/dnet-openaire-lodexport/trunk/pom.xml | ||
---|---|---|
2 | 2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 3 |
<parent> |
4 | 4 |
<groupId>eu.dnetlib</groupId> |
5 |
<artifactId>dnet-hadoop-parent</artifactId>
|
|
5 |
<artifactId>dnet-parent</artifactId> |
|
6 | 6 |
<version>1.0.0</version> |
7 | 7 |
<relativePath></relativePath> |
8 | 8 |
</parent> |
... | ... | |
14 | 14 |
<build> |
15 | 15 |
|
16 | 16 |
<plugins> |
17 |
<plugin> |
|
18 |
<groupId>org.apache.maven.plugins</groupId> |
|
19 |
<artifactId>maven-compiler-plugin</artifactId> |
|
20 |
<configuration> |
|
21 |
<source>1.7</source> |
|
22 |
<target>1.7</target> |
|
23 |
</configuration> |
|
24 |
</plugin> |
|
25 | 17 |
</plugins> |
26 | 18 |
|
27 | 19 |
</build> |
... | ... | |
50 | 42 |
<dependency> |
51 | 43 |
<groupId>log4j</groupId> |
52 | 44 |
<artifactId>log4j</artifactId> |
53 |
<version>1.2.17</version>
|
|
45 |
<version>${log4j.version}</version>
|
|
54 | 46 |
</dependency> |
55 | 47 |
<dependency> |
56 | 48 |
<groupId>org.slf4j</groupId> |
... | ... | |
65 | 57 |
<dependency> |
66 | 58 |
<groupId>com.google.guava</groupId> |
67 | 59 |
<artifactId>guava</artifactId> |
68 |
<version>15.0</version>
|
|
60 |
<version>${google.guava.version}</version>
|
|
69 | 61 |
</dependency> |
70 | 62 |
|
71 | 63 |
<dependency> |
... | ... | |
87 | 79 |
<dependency> |
88 | 80 |
<groupId>junit</groupId> |
89 | 81 |
<artifactId>junit</artifactId> |
90 |
<version>4.8.2</version>
|
|
82 |
<version>${junit.version}</version>
|
|
91 | 83 |
</dependency> |
92 | 84 |
|
93 | 85 |
<dependency> |
94 | 86 |
<groupId>eu.dnetlib</groupId> |
95 | 87 |
<artifactId>cnr-rmi-api</artifactId> |
96 |
<version>LATEST</version>
|
|
88 |
<version>[2.0.0,3.0.0)</version>
|
|
97 | 89 |
</dependency> |
98 | 90 |
<dependency> |
99 | 91 |
<groupId>org.apache.cxf</groupId> |
100 | 92 |
<artifactId>cxf-rt-frontend-jaxws</artifactId> |
101 |
<version>2.7.8</version>
|
|
93 |
<version>${cxf.version}</version>
|
|
102 | 94 |
</dependency> |
103 | 95 |
<dependency> |
104 |
<groupId>eu.dnetlib</groupId>
|
|
105 |
<artifactId>dnet-openaire-data-protos</artifactId>
|
|
106 |
<version>[3.6.0,3.7.0)</version>
|
|
107 |
</dependency>
|
|
96 |
<groupId>org.apache.cxf</groupId>
|
|
97 |
<artifactId>cxf-rt-transports-http-jetty</artifactId>
|
|
98 |
<version>${cxf.version}</version>
|
|
99 |
</dependency>
|
|
108 | 100 |
<dependency> |
109 | 101 |
<groupId>org.jsoup</groupId> |
110 | 102 |
<artifactId>jsoup</artifactId> |
Also available in: Unified diff
switch to dnet-parent