jmborer commented on issue #128:
URL:
https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/issues/128#issuecomment-1867742782
The solution is to provide the location of the updater.jar as follows in
`CreateNbmMojo::execute()`
```
public void execute()
throws MojoExecutionException, MojoFailureException
{
...
// start add
Path updaterPath = nbmTask.createUpdaterJar();
updaterPath.setPath("/Users/jeanmarc/code/oss/GitHub/netbeans/nbbuild/netbeans/platform/modules/ext/updater.jar");
// end add
try
{
nbmTask.execute();
}
catch ( BuildException e )
{
throw new MojoExecutionException( "Cannot Generate nbm file:" +
e.getMessage(), e );
}
...
}
```
However the path to the updater.jar is still hard coded (just for testing
purpose). It should be replaced by the updater.jar provided by the build
process. Not sure how to this currently, but it is the solution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists