Skip to content

Commit

Permalink
- Upgrade to Java-17.
Browse files Browse the repository at this point in the history
- Add info in README.
  • Loading branch information
LSmyrnaios committed Jan 10, 2025
1 parent 6d03bbe commit 253e445
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ jobs:
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
cache: maven

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
cache: maven

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Afterwards, these full-text documents are mined (by other pieces of software), i
This program is used either as a stand-alone download-tool for full-texts and datasets, or as a library for the [UrlsWorker](https://code-repo.d4science.org/lsmyrnaios/UrlsWorker)'s code, of OpenAIRE's "**PDF Aggregation Service**". <br>

The **PublicationsRetriever** takes as input the PubPages with their IDs -in JSON format- and gives an output -also in JSON format,
which contains the IDs, the PubPages, the Document or Dataset Urls, a series of informative booleans, the *MD5* "fileHash", the "fileSize" and a "comment".<br>
which contains the IDs, the source and target PubPages, the Document or Dataset Urls, a series of informative booleans, the *MD5* "fileHash", the "fileSize", the "mimeType" and a "comment".<br>
The "booleans" are:
- "wasUrlChecked": it signals whether the url was checked
- "wasUrlValid": it signals whether the url was a valid url (one that can be connected)
Expand Down Expand Up @@ -82,7 +82,7 @@ If you want to run it with distributed execution on multiple VMs, you may give a

To install the application, navigate to the directory of the project, where the ***pom.xml*** is located.<br>
Then enter this command in the terminal:<br>
**``mvn clean install``**<br>
**``mvn clean install -U``**<br>

To run the application you should navigate to the ***target*** directory, which will be created by *MAVEN* and run the executable ***JAR*** file,
while choosing the appropriate run-command.<br>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<packaging>jar</packaging>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down

0 comments on commit 253e445

Please sign in to comment.