Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
At the moment, using nbm:run-ide to test against a NetBeans installation requires the user to manually download and unzip a NetBeans archive and then pointing the -Dnetbeans.installation property to the respective directory.
I wonder whether the following would be doable:
- Download the NetBeans installation from some -Dnetbeans.downloadUrl
- Cache it in the local Maven repository
- And unzip it below project.build.directory
- Use that installation during the run-ide proper.
Maybe this could be a new goal, e.g., materialize-ide.
Then one would do the following:
<executions> <execution> <goals> <goal>materialize-ide</goal> </goals> </execution> <execution> <goals> <goal>run-ide</goal> </goals> <configuration> <netbeansInstallation>${project.build.outputDirectory}/netbeans/materialized-ide</netbeansInstallation> <configuration> </execution> <configuration> <downloadUrl>...</downloadUrl> <!-- Determine coordinates in local Maven repo --> <ideArtifact> <groupId>some.groupId</groupId> <artifactId>some.artifactId</artifactId> <version>someVersion</someVersion> </ideArtifact> </configuration> </executions>