mirror of
https://github.com/ilri/cgspace-java-helpers.git
synced 2024-11-26 16:48:22 +01:00
Use gson 2.2.1
That's the same version that DSpace 5.8 is using so we should use it here as well so we don't forget. Unfortunately this means that we can't use the ability to use alternate serializednames. We will need to create different classes to map to our different JSON files instead of simply matching different elements on the fly.
This commit is contained in:
parent
fdcd1811a2
commit
c2c5baaf7a
@ -1,13 +1,13 @@
|
|||||||
<component name="libraryTable">
|
<component name="libraryTable">
|
||||||
<library name="Maven: com.google.code.gson:gson:2.8.6">
|
<library name="Maven: com.google.code.gson:gson:2.2.1">
|
||||||
<CLASSES>
|
<CLASSES>
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar!/" />
|
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.2.1/gson-2.2.1.jar!/" />
|
||||||
</CLASSES>
|
</CLASSES>
|
||||||
<JAVADOC>
|
<JAVADOC>
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.8.6/gson-2.8.6-javadoc.jar!/" />
|
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.2.1/gson-2.2.1-javadoc.jar!/" />
|
||||||
</JAVADOC>
|
</JAVADOC>
|
||||||
<SOURCES>
|
<SOURCES>
|
||||||
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.8.6/gson-2.8.6-sources.jar!/" />
|
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.2.1/gson-2.2.1-sources.jar!/" />
|
||||||
</SOURCES>
|
</SOURCES>
|
||||||
</library>
|
</library>
|
||||||
</component>
|
</component>
|
@ -13,7 +13,7 @@
|
|||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.11" level="project" />
|
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.11" level="project" />
|
||||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
|
||||||
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.6" level="project" />
|
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.2.1" level="project" />
|
||||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.dspace:dspace-api:5.8" level="project" />
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.dspace:dspace-api:5.8" level="project" />
|
||||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.dspace:handle:6.2" level="project" />
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.dspace:handle:6.2" level="project" />
|
||||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.dspace:jargon:1.4.25" level="project" />
|
<orderEntry type="library" scope="PROVIDED" name="Maven: org.dspace:jargon:1.4.25" level="project" />
|
||||||
|
2
pom.xml
2
pom.xml
@ -35,7 +35,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.code.gson</groupId>
|
<groupId>com.google.code.gson</groupId>
|
||||||
<artifactId>gson</artifactId>
|
<artifactId>gson</artifactId>
|
||||||
<version>2.8.6</version>
|
<version>2.2.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.dspace</groupId>
|
<groupId>org.dspace</groupId>
|
||||||
|
Loading…
Reference in New Issue
Block a user