code: public void addBuildArtifact(String notation, String path) throws NaetherException {
          Artifact artifact = new DefaultArtifact(notation);
          artifact = artifact.setFile( new File(path) );
          
          this.buildArtifacts.add( artifact );
          
          File tempPom = null;
          try {
              tempPom = File.createTempFile( Const.POM, "xml" );
          } catch (IOException e) {
              throw new NaetherException( "Failed to create temp file", e );
          }
          
          tempPom.deleteOnExit();
          
          Project project = new Project();
          project.setGroupId( artifact.getGroupId() );
          project.setArtifactId( artifact.getArtifactId() );
          project.setVersion( artifact.getBaseVersion() );
          try {
              project.writePom( tempPom );
          } catch (ProjectException e) {
              throw new NaetherException( "Failed to create temp POM", e );
          }
          
          String pomNotation = new StringBuilder( artifact.getGroupId() ).append(":")
              .append( artifact.getArtifactId() ).append(":")
              .append( Const.POM).append(":").append( artifact.getBaseVersion() ).toString();
          
          artifact = new DefaultArtifact(pomNotation);
          artifact = artifact.setFile( tempPom );
          
          this.buildArtifacts.add( artifact );
      }
docs: /* (non-Javadoc)
  @see com.tobedevoured.naether.api.Naether#addBuildArtifact(java.lang.String, java.lang.String)