{"id":35094939,"url":"https://github.com/javaparser/javaparser-maven-sample","last_synced_at":"2025-12-27T15:11:51.071Z","repository":{"id":37686484,"uuid":"104935712","full_name":"javaparser/javaparser-maven-sample","owner":"javaparser","description":"Sample project with a basic Maven + JavaParser setup","archived":false,"fork":false,"pushed_at":"2025-10-06T07:54:37.000Z","size":71,"stargazers_count":97,"open_issues_count":4,"forks_count":889,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-06T09:42:24.941Z","etag":null,"topics":["bootstrap","java","javaparser","maven","parser","tutorial"],"latest_commit_sha":null,"homepage":"https://github.com/javaparser/javaparser","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/javaparser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-09-26T20:42:47.000Z","updated_at":"2025-10-06T07:54:35.000Z","dependencies_parsed_at":"2023-02-10T21:45:27.625Z","dependency_job_id":"ba0223a4-5a86-4d3c-8d39-eb51bbf1ded1","html_url":"https://github.com/javaparser/javaparser-maven-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/javaparser/javaparser-maven-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaparser%2Fjavaparser-maven-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaparser%2Fjavaparser-maven-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaparser%2Fjavaparser-maven-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaparser%2Fjavaparser-maven-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javaparser","download_url":"https://codeload.github.com/javaparser/javaparser-maven-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaparser%2Fjavaparser-maven-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28080296,"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","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bootstrap","java","javaparser","maven","parser","tutorial"],"created_at":"2025-12-27T15:11:50.262Z","updated_at":"2025-12-27T15:11:51.067Z","avatar_url":"https://github.com/javaparser.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"JavaParser and Maven sample\n---\n\nThis fully working sample Maven project parses and generates code with [JavaParser](http://www.javaparser.org).\n\nThis sample is targeted at people without [Maven](https://maven.apache.org/) experience.\n\nTo build it, you will need to download and unpack the latest (or recent) version of Maven (https://maven.apache.org/download.cgi)\nand put the `mvn` command on your path.\n\nThen, you will need to install a Java 1.8 (or higher) JDK (not JRE!), and make sure you can run `java` from the command line.\n\nIf required, install git. If you haven't already done so, clone this sample repository with `git clone https://github.com/javaparser/javaparser-maven-sample.git`.\n\nChange to the folder of where this sample project was installed (where the pom.xml file is located).\nNow run `mvn clean install` and Maven will compile your project, \nand put the results into two jar files in the `target` directory.\n\nYou can now run the sample from the command line with\n`java -jar target/javaparser-maven-sample-1.0-SNAPSHOT-shaded.jar`.\nThis runs the sample program, LogicPositivizer, which reads, parses, and modifies the code in resources/Blabla.java and then writes the modified file with the same name to the output folder.\n\nTo better understand this sample, you can read [JavaParser: Visited.](https://leanpub.com/javaparservisited) In this book, key contributors to the JavaParser library teach you how you can use JavaParser to programmatically analyse, transform and generate your java code base.\n\nHow you run this code is up to you, but usually you would start by using an IDE like [NetBeans](https://netbeans.org/), [Intellij IDEA](https://www.jetbrains.com/idea/), or [Eclipse](https://eclipse.org/ide/).\n\nThe Maven dependencies may lag behind the official releases a bit.\n\nIf you notice some problems with this setup, please open an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavaparser%2Fjavaparser-maven-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavaparser%2Fjavaparser-maven-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavaparser%2Fjavaparser-maven-sample/lists"}