{"id":47787602,"url":"https://github.com/vashishthask/eclipse-to-maven","last_synced_at":"2026-04-03T15:01:59.116Z","repository":{"id":2861038,"uuid":"3865907","full_name":"vashishthask/eclipse-to-maven","owner":"vashishthask","description":"eclipse-to-maven mavenises the existing Eclipse based workspace.","archived":false,"fork":false,"pushed_at":"2022-09-22T17:04:10.000Z","size":245,"stargazers_count":28,"open_issues_count":4,"forks_count":14,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-03-22T15:02:39.925Z","etag":null,"topics":["eclipse","java","maven"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"hollowaykeanho/ibilik-accessment","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vashishthask.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}},"created_at":"2012-03-29T12:40:24.000Z","updated_at":"2022-11-26T21:58:28.000Z","dependencies_parsed_at":"2023-01-11T16:12:54.921Z","dependency_job_id":null,"html_url":"https://github.com/vashishthask/eclipse-to-maven","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/vashishthask/eclipse-to-maven","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vashishthask%2Feclipse-to-maven","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vashishthask%2Feclipse-to-maven/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vashishthask%2Feclipse-to-maven/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vashishthask%2Feclipse-to-maven/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vashishthask","download_url":"https://codeload.github.com/vashishthask/eclipse-to-maven/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vashishthask%2Feclipse-to-maven/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31359071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T14:24:47.623Z","status":"ssl_error","status_checked_at":"2026-04-03T14:24:32.380Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["eclipse","java","maven"],"created_at":"2026-04-03T15:00:56.374Z","updated_at":"2026-04-03T15:01:55.971Z","avatar_url":"https://github.com/vashishthask.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eclipse-to-maven\r\n[eclipse-to-maven](https://github.com/vashishthask/eclipse-to-maven/) mavenises the existing Eclipse based workspace.\r\n\r\n# Features\r\n\r\n* Converts .classpath files into pom.xml\r\n* If required, prints the depdency graph of eclipse projects.\r\n* Moves source folders according to Maven convention. So for instance Java sources go to src/main/java folder.\r\n* Removes spaces in the names of the folders. So \"Calculator Component\" becomes \"CalculatorComponent\"\r\n* Right now Mavenisation is limited to generating dependencies in the pom. However this is a good first step in moving forward. With small changes you should be able to run the build for your projects.\r\n\r\n# Getting Started\r\n\r\n## Preparation\r\n* As eclipse-to-maven uses java.nio features, you need to have JDK 1.7+\r\n* Create the build of eclipse-to-maven using Maven \"mvn clean install\"\r\n* Copy existing workspace into a separate directory.\r\n\r\n## Setup\r\nPlease follow following `src/main/java/resources/application.properties` setup before running the application\r\n* For converting existing eclipse workspace to maven, set 'convert.to.maven' property as 'true'. This switch is useful if you just want to print the dependency tree (read-only operation) for instance.\r\n\r\n    `convert.to.maven=true`\r\n\r\n* For removing spaces in folder names, use following switch:\r\n\r\n    `workspace.projectname.remove.space=true`\r\n\r\n* For printing the dependency tree of eclipse projects set following properties\r\n\r\n    `print.dependency.graph=true`\r\n    \r\n    `print.dependency.graph.iotype=file`\r\n    \r\n    `print.dependency.graph.filepath=\u003cfile path\u003e`\r\n\r\n* For internal dependencies groupId and project groupId , you may want to setup default as follows:\r\n\r\n\t`maven.dependency.groupId.default=...`\r\n\r\n\t`maven.pom.groupId.default=...`\r\n\r\n## Running eclipse-to-maven from Eclipse\r\n\r\n* Import eclipse-to-maven in any eclipse workspace.\r\n* Right click EclipseToMaven --\u003e Run As --\u003e Run Configurations --\u003e \r\n* Pass the Eclipse workspace location with application Arguments as follows:\r\n![eclipse-to-maven args](http://sampreshan.svashishtha.com/wp-content/uploads/2012/04/eclipse-to-maven-2.png)\r\n* Run the application\r\n\r\n\r\n\r\n## Running eclipse-to-maven from Command Prompt\r\nMake sure JAVA_HOME is pointing to JDK-1.7+.\r\n\r\nRun the following from command prompt:\r\n\r\n\t$ mvn clean install exec:java -Dexec.args=\"\u003ceclipse workspace path\u003e\"\r\n\t\r\n# Blog posts on eclipse-to-maven\r\n* [Converting Eclipse Projects to Maven : eclipse-to-maven Intro](https://github.com/vashishthask/eclipse-to-maven/wiki/Introducing-eclipse-to-maven)\r\n* [Converting Eclipse Workspace to Maven – Why eclipse-to-maven?](https://github.com/vashishthask/eclipse-to-maven/wiki/Why-eclipse-to-maven%3F)\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvashishthask%2Feclipse-to-maven","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvashishthask%2Feclipse-to-maven","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvashishthask%2Feclipse-to-maven/lists"}