{"id":13486875,"url":"https://github.com/kevin-wayne/algs4","last_synced_at":"2025-05-13T15:10:27.368Z","repository":{"id":41158179,"uuid":"41667394","full_name":"kevin-wayne/algs4","owner":"kevin-wayne","description":"Algorithms, 4th edition textbook code and libraries","archived":false,"fork":false,"pushed_at":"2025-05-06T11:12:05.000Z","size":2025,"stargazers_count":7475,"open_issues_count":24,"forks_count":2679,"subscribers_count":393,"default_branch":"master","last_synced_at":"2025-05-06T12:32:41.018Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://algs4.cs.princeton.edu/code/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevin-wayne.png","metadata":{"files":{"readme":"README-MAVEN.txt","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-08-31T09:28:49.000Z","updated_at":"2025-05-06T11:12:11.000Z","dependencies_parsed_at":"2023-01-21T18:02:40.850Z","dependency_job_id":"f73263e4-fe1a-4b0e-8c82-0a812944b763","html_url":"https://github.com/kevin-wayne/algs4","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-wayne%2Falgs4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-wayne%2Falgs4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-wayne%2Falgs4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevin-wayne%2Falgs4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevin-wayne","download_url":"https://codeload.github.com/kevin-wayne/algs4/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253969248,"owners_count":21992263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T18:00:52.399Z","updated_at":"2025-05-13T15:10:22.349Z","avatar_url":"https://github.com/kevin-wayne.png","language":"Java","funding_links":[],"categories":["HarmonyOS","推荐","Java","工具库"],"sub_categories":["Windows Manager"],"readme":"This file provides brief instructions on how to add this repository to\na Maven build, from Eclipse, NetBeans, IntelliJ, or the command line.\nSpecifically, it provides instructions on creating a version of algs4.jar\nthat you can use as a dependency in your projects.\n\nThese instructions assume that you already have installed Java 7\n(JDK 1.7) or above.\n\n\nUsing Maven in Eclipse for Java Developers\n------------------------------------------\nIf m2e (Maven plugin) is not built into Eclipse, follow these steps to install the plugin:\n\n  * Open Eclipse.\n  * Go to Help -\u003e Eclipse Marketplace.\n  * Search for Maven.\n  * Click \"Install\" button at \"Maven Integration for Eclipse\" or \"m2e\" section.\n  * Follow the instruction step by step.,\n\nRestart Eclipse after installing m2e.\n\nNow you can import algs4 as \"Maven Project\" into Eclipse:\n\n  * Open menu: File-\u003e Import-\u003e Maven-\u003e Existing Maven Projects...\n  * Choose directory of algs4.\n  * Confirm import.\n\nTo complete dependencies resolution after import:\n  * Right click on the project, choose Maven -\u003e Update Project...\n  * Confirm project update.\n\nTo build project in Eclipse:\nEclipse automatically builds the project every time it saved.\nBut if you want enforce build, do following:\n  * Right click on the project in Eclipse.\n  * Choose Run as... Maven build.\n\nMaven will put algs4-\u003cversion\u003e.jar in the directory \u003calgs4 directory\u003e/target.\nYou can use this jar as a dependency in your projects.\n\n\nUsing Maven in IntelliJ IDEA\n----------------------------\n\n\nUsing Maven in Netbeans\n-----------------------\n\n\nUsing Maven from the Windows Command Prompt\n-------------------------------------------\nDownload and install Maven by following the instructions at\nhttps://maven.apache.org.\n\nLocate the installation directory for Maven, e.g., C:\\\u003capache-maven-x-y-z\u003e\n\nLocate the installation directory for Java, e.g., C:\\Program Files\\Java\\\u003cJDK-x-y-z\u003e\n\nSet the following environment variables:\n\nset JAVA_HOME=C:\\Program Files\\Java\\\u003cJDK-x-y-z\u003e\nset PATH=%JAVA_HOME%\\bin;%PATH%\nset M2_HOME=C:\\\u003capache-maven-x-y-z\u003e\nset PATH=%M2_HOME%\\bin;%PATH%\n\nTo create the algs4-\u003cversion\u003e.jar package and install it in the local\nrepository for reuse from other projects, change to the directory of\nthe algs4 repository and run Maven.\n\ncd \u003calgs4 directory\u003e\nmvn clean install\n\nMaven will put algs4-\u003cversion\u003e.jar in the directory \u003calgs4 directory\u003e/target.\nYou can use this jar as a dependency in your projects.\n\n\n\nUsing Maven from the Linux / Mac OS X bash shell\n------------------------------------------------\nDownload and install Maven, either by using your favorite package\nmanager  (such as apt-get) or by following the instructions at\nhttps://maven.apache.org.\n\nLocate the installation directory for Maven, e.g., /my/maven/\u003capache-maven-x-y-z\u003e\n\nLocate the installation directory for Java, e.g., /my/java/\u003cJDK-x-y-z-\u003e\n\nSet the following environment variables:\n\nexport JAVA_HOME=/my/java/\u003cJDK-x-y-z\u003e\nexport PATH=$JAVA_HOME/bin:$PATH\nexport M2_HOME=/my/maven/\u003capache-maven-x-y-z\u003e\nexport PATH=$M2_HOME/bin:$PATH\n\nTo create the algs4-\u003cversion\u003e.jar package and install it in the local\nrepository for reuse from other projects, change to the directory of\nthe algs4 repository and run Maven.\n\ncd \u003calgs4 directory\u003e\nmvn clean install\n\nMaven will put algs4-\u003cversion\u003e.jar in the directory \u003calgs4 directory\u003e/target.\nYou can use this jar as a dependency in your projects.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevin-wayne%2Falgs4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevin-wayne%2Falgs4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevin-wayne%2Falgs4/lists"}