code: public void execute() throws MojoExecutionException {
          getLog().debug("starting packaging");
          
          // complete jar
          getLog().debug("assembling complete jar");
          File completeFile = createArchive(null);
          getProject().getArtifact().setFile(completeFile);
          
          AbstractConfiguration[] configurations= (AbstractConfiguration[]) getPluginContext().get(ConfiguratorMojo.GENERATED_CONFIGURATIONS_KEY);
          
          // we need a separate jar for each node!
          for(AbstractConfiguration configuration : configurations) {
              if(!(configuration instanceof NodeConfiguration)) {
                  continue;
              }
              
              JavaApplicationDescriptor descriptor= getDescriptor();
              descriptor.setNodeConfiguration(configuration.className);
              archive.addManifestEntries(descriptor.toMap());
              
              String classifier= configuration.className.substring(configuration.className.lastIndexOf('.') + 1);
              getLog().debug("assembling jar for node '" + classifier + "'");
              File jarFile= createArchive(classifier);
              getProjectHelper().attachArtifact(getProject(), "jar", classifier, jarFile);
          }
          
          getLog().debug("finished packaging");
      }
docs: Generates the JAR.
  
  @todo Add license files in META-INF directory.