mirror of
				https://github.com/ilri/cgspace-java-helpers.git
				synced 2025-11-03 22:29:10 +01:00 
			
		
		
		
	Compare commits
	
		
			8 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						546101bc92
	
				 | 
					
					
						|||
| 
						
						
							
						
						0a7cf7bf59
	
				 | 
					
					
						|||
| 
						
						
							
						
						8c0a8fbcd1
	
				 | 
					
					
						|||
| 
						
						
							
						
						c05a2e4f96
	
				 | 
					
					
						|||
| 
						
						
							
						
						cf2af393c0
	
				 | 
					
					
						|||
| 
						
						
							
						
						1f6ba4af67
	
				 | 
					
					
						|||
| 
						
						
							
						
						5ceaebaeae
	
				 | 
					
					
						|||
| 
						
						
							
						
						f3dcc6e261
	
				 | 
					
					
						
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
 | 
				
			|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 | 
					The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 | 
				
			||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 | 
					and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Unreleased
 | 
				
			||||||
 | 
					### Updated
 | 
				
			||||||
 | 
					- `iso_3166-1.json` from iso-codes 4.13.0-SNAPSHOT, which [adds common names for Iran, Laos, and Syria](https://salsa.debian.org/iso-codes-team/iso-codes/-/merge_requests/32)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## [6.2] - 2023-02-20
 | 
				
			||||||
 | 
					### Updated
 | 
				
			||||||
 | 
					- `iso_3166-1.json` from iso-codes 4.12.0, which updates the name for TR to "Türkiye"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## [6.1] - 2022-10-31
 | 
					## [6.1] - 2022-10-31
 | 
				
			||||||
### Updated
 | 
					### Updated
 | 
				
			||||||
- Update dependencies in `pom.xml`
 | 
					- Update dependencies in `pom.xml`
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,7 +16,7 @@ To use these curation tasks in a DSpace project add the following dependency to
 | 
				
			|||||||
<dependency>
 | 
					<dependency>
 | 
				
			||||||
  <groupId>io.github.ilri.cgspace</groupId>
 | 
					  <groupId>io.github.ilri.cgspace</groupId>
 | 
				
			||||||
  <artifactId>cgspace-java-helpers</artifactId>
 | 
					  <artifactId>cgspace-java-helpers</artifactId>
 | 
				
			||||||
  <version>6.1-SNAPSHOT</version>
 | 
					  <version>6.2-SNAPSHOT</version>
 | 
				
			||||||
</dependency>
 | 
					</dependency>
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -32,7 +32,7 @@ $ mvn package
 | 
				
			|||||||
Copy the resulting jar to the DSpace `lib` directory:
 | 
					Copy the resulting jar to the DSpace `lib` directory:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```console
 | 
					```console
 | 
				
			||||||
$ cp target/cgspace-java-helpers-6.1-SNAPSHOT.jar ~/dspace/lib/
 | 
					$ cp target/cgspace-java-helpers-6.2-SNAPSHOT.jar ~/dspace/lib/
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Configuration
 | 
					## Configuration
 | 
				
			||||||
@@ -44,6 +44,8 @@ Please refer to the appropriate README.md file:
 | 
				
			|||||||
## TODO
 | 
					## TODO
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Add a curation task to normalize DOIs to "https://doi.org" format
 | 
					- Add a curation task to normalize DOIs to "https://doi.org" format
 | 
				
			||||||
 | 
					- Migrate from maven-deploy-plugin to nexus-staging-maven-plugin, see: https://central.sonatype.org/publish/publish-maven/#nexus-staging-maven-plugin-for-deployment-and-release
 | 
				
			||||||
 | 
					- Stop using oss-parent, see: https://central.sonatype.org/publish/publish-maven/#create-a-ticket-with-sonatype
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Notes
 | 
					## Notes
 | 
				
			||||||
This project was initially created according to the [Maven Getting Started Guide](https://maven.apache.org/guides/getting-started/):
 | 
					This project was initially created according to the [Maven Getting Started Guide](https://maven.apache.org/guides/getting-started/):
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							@@ -6,7 +6,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  <groupId>io.github.ilri.cgspace</groupId>
 | 
					  <groupId>io.github.ilri.cgspace</groupId>
 | 
				
			||||||
  <artifactId>cgspace-java-helpers</artifactId>
 | 
					  <artifactId>cgspace-java-helpers</artifactId>
 | 
				
			||||||
  <version>6.1</version>
 | 
					  <version>6.2-SNAPSHOT</version>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <name>cgspace-java-helpers</name>
 | 
					  <name>cgspace-java-helpers</name>
 | 
				
			||||||
  <url>https://github.com/ilri/cgspace-java-helpers</url>
 | 
					  <url>https://github.com/ilri/cgspace-java-helpers</url>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,7 +14,7 @@ To use these curation tasks in a DSpace project add the following dependency to
 | 
				
			|||||||
<dependency>
 | 
					<dependency>
 | 
				
			||||||
  <groupId>io.github.ilri.cgspace</groupId>
 | 
					  <groupId>io.github.ilri.cgspace</groupId>
 | 
				
			||||||
  <artifactId>cgspace-java-helpers</artifactId>
 | 
					  <artifactId>cgspace-java-helpers</artifactId>
 | 
				
			||||||
  <version>6.1-SNAPSHOT</version>
 | 
					  <version>6.2-SNAPSHOT</version>
 | 
				
			||||||
</dependency>
 | 
					</dependency>
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -30,7 +30,7 @@ $ mvn package
 | 
				
			|||||||
Copy the resulting jar to the DSpace `lib` directory:
 | 
					Copy the resulting jar to the DSpace `lib` directory:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
$ cp target/cgspace-java-helpers-6.1-SNAPSHOT.jar ~/dspace/lib/
 | 
					$ cp target/cgspace-java-helpers-6.2-SNAPSHOT.jar ~/dspace/lib/
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Configuration
 | 
					## Configuration
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,7 +15,7 @@ To use these curation tasks in a DSpace project add the following dependency to
 | 
				
			|||||||
<dependency>
 | 
					<dependency>
 | 
				
			||||||
  <groupId>io.github.ilri.cgspace</groupId>
 | 
					  <groupId>io.github.ilri.cgspace</groupId>
 | 
				
			||||||
  <artifactId>cgspace-java-helpers</artifactId>
 | 
					  <artifactId>cgspace-java-helpers</artifactId>
 | 
				
			||||||
  <version>6.1-SNAPSHOT</version>
 | 
					  <version>6.2-SNAPSHOT</version>
 | 
				
			||||||
</dependency>
 | 
					</dependency>
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -31,7 +31,7 @@ $ mvn package
 | 
				
			|||||||
Copy the resulting jar to the DSpace `lib` directory:
 | 
					Copy the resulting jar to the DSpace `lib` directory:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```console
 | 
					```console
 | 
				
			||||||
$ cp target/cgspace-java-helpers-6.1-SNAPSHOT.jar ~/dspace/lib/
 | 
					$ cp target/cgspace-java-helpers-6.2-SNAPSHOT.jar ~/dspace/lib/
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Invocation
 | 
					## Invocation
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,14 +16,6 @@
 | 
				
			|||||||
      "name": "Congo, The Democratic Republic of the",
 | 
					      "name": "Congo, The Democratic Republic of the",
 | 
				
			||||||
      "numeric": "180"
 | 
					      "numeric": "180"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
      "alpha_2": "IR",
 | 
					 | 
				
			||||||
      "alpha_3": "IRN",
 | 
					 | 
				
			||||||
      "name": "Iran, Islamic Republic of",
 | 
					 | 
				
			||||||
      "cgspace_name": "Iran",
 | 
					 | 
				
			||||||
      "numeric": "364",
 | 
					 | 
				
			||||||
      "official_name": "Islamic Republic of Iran"
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "alpha_2": "KP",
 | 
					      "alpha_2": "KP",
 | 
				
			||||||
      "alpha_3": "PRK",
 | 
					      "alpha_3": "PRK",
 | 
				
			||||||
@@ -33,13 +25,6 @@
 | 
				
			|||||||
      "numeric": "408",
 | 
					      "numeric": "408",
 | 
				
			||||||
      "official_name": "Democratic People's Republic of Korea"
 | 
					      "official_name": "Democratic People's Republic of Korea"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
      "alpha_2": "LA",
 | 
					 | 
				
			||||||
      "alpha_3": "LAO",
 | 
					 | 
				
			||||||
      "name": "Lao People's Democratic Republic",
 | 
					 | 
				
			||||||
      "cgspace_name": "Laos",
 | 
					 | 
				
			||||||
      "numeric": "418"
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "alpha_2": "FM",
 | 
					      "alpha_2": "FM",
 | 
				
			||||||
      "alpha_3": "FSM",
 | 
					      "alpha_3": "FSM",
 | 
				
			||||||
@@ -55,12 +40,5 @@
 | 
				
			|||||||
      "cgspace_name": "Russia",
 | 
					      "cgspace_name": "Russia",
 | 
				
			||||||
      "numeric": "643"
 | 
					      "numeric": "643"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
      "alpha_2": "SY",
 | 
					 | 
				
			||||||
      "alpha_3": "SYR",
 | 
					 | 
				
			||||||
      "name": "Syrian Arab Republic",
 | 
					 | 
				
			||||||
      "cgspace_name": "Syria",
 | 
					 | 
				
			||||||
      "numeric": "760"
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -821,6 +821,7 @@
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
      "alpha_2": "IR",
 | 
					      "alpha_2": "IR",
 | 
				
			||||||
      "alpha_3": "IRN",
 | 
					      "alpha_3": "IRN",
 | 
				
			||||||
 | 
					      "common_name": "Iran",
 | 
				
			||||||
      "flag": "🇮🇷",
 | 
					      "flag": "🇮🇷",
 | 
				
			||||||
      "name": "Iran, Islamic Republic of",
 | 
					      "name": "Iran, Islamic Republic of",
 | 
				
			||||||
      "numeric": "364",
 | 
					      "numeric": "364",
 | 
				
			||||||
@@ -953,6 +954,7 @@
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
      "alpha_2": "LA",
 | 
					      "alpha_2": "LA",
 | 
				
			||||||
      "alpha_3": "LAO",
 | 
					      "alpha_3": "LAO",
 | 
				
			||||||
 | 
					      "common_name": "Laos",
 | 
				
			||||||
      "flag": "🇱🇦",
 | 
					      "flag": "🇱🇦",
 | 
				
			||||||
      "name": "Lao People's Democratic Republic",
 | 
					      "name": "Lao People's Democratic Republic",
 | 
				
			||||||
      "numeric": "418"
 | 
					      "numeric": "418"
 | 
				
			||||||
@@ -1653,6 +1655,7 @@
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
      "alpha_2": "SY",
 | 
					      "alpha_2": "SY",
 | 
				
			||||||
      "alpha_3": "SYR",
 | 
					      "alpha_3": "SYR",
 | 
				
			||||||
 | 
					      "common_name": "Syria",
 | 
				
			||||||
      "flag": "🇸🇾",
 | 
					      "flag": "🇸🇾",
 | 
				
			||||||
      "name": "Syrian Arab Republic",
 | 
					      "name": "Syrian Arab Republic",
 | 
				
			||||||
      "numeric": "760"
 | 
					      "numeric": "760"
 | 
				
			||||||
@@ -1746,9 +1749,9 @@
 | 
				
			|||||||
      "alpha_2": "TR",
 | 
					      "alpha_2": "TR",
 | 
				
			||||||
      "alpha_3": "TUR",
 | 
					      "alpha_3": "TUR",
 | 
				
			||||||
      "flag": "🇹🇷",
 | 
					      "flag": "🇹🇷",
 | 
				
			||||||
      "name": "Turkey",
 | 
					      "name": "Türkiye",
 | 
				
			||||||
      "numeric": "792",
 | 
					      "numeric": "792",
 | 
				
			||||||
      "official_name": "Republic of Turkey"
 | 
					      "official_name": "Republic of Türkiye"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "alpha_2": "TV",
 | 
					      "alpha_2": "TV",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user