code: public void execute() throws MojoExecutionException {
          getLog().debug("starting packaging");
          
          AbstractConfiguration[] configurations= (AbstractConfiguration[]) getPluginContext().get(ConfiguratorMojo.GENERATED_CONFIGURATIONS_KEY);
          
          try {
              for(AbstractConfiguration configuration : configurations) {
                  if(!(configuration instanceof NodeConfiguration)) {
                      continue;
                  }
                  
                  String classifier= configuration.className.substring(configuration.className.lastIndexOf('.') + 1);
                  File jarFile= checkJarFile(classifier);
                  JavaApplicationDescriptor descriptor= getDescriptor();
                  descriptor.setNodeConfiguration(configuration.className);
                  descriptor.setJarFile(jarFile);
                  File jadFile= getJadFile(classifier);
                  getDescriptor().writeDescriptor(jadFile);
                  getProjectHelper().attachArtifact(getProject(), "jad", classifier, jadFile);
              }
          } catch (IOException ioe) {
              throw new MojoExecutionException("could not create .jad file", ioe);
          } catch (RuntimeException e) {
              throw new MojoExecutionException("could not create .jad file", e);
          }
          getLog().debug("finished packaging");
      }
docs: Generates the JAD.