evaluate_and_mavenize_sources
Compares decompiled source candidates by AST structure, line count, and compiler warnings, selects the one with minimal code loss, then builds a clean Maven project with pom.xml.
Instructions
Evaluates decompiled outputs (comparing AST structure, line count, compiler warning count), chooses the best candidate with minimal code loss, and structures it into a clean Maven project with pom.xml.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | No | Maven groupId. Defaults to org.apache.commons. | |
| version | No | Maven artifact version. Defaults to 2.22.0. | |
| artifactId | No | Maven artifactId. Defaults to commons-io. | |
| outputsDir | Yes | Path to the directory containing candidate decompiled output folders (e.g. outputs/). | |
| targetMavenDir | Yes | Path to target directory where the chosen source will be mavenized (e.g. mavenized_merged_source/). |