/** {@inheritDoc} */ public void setRelease( boolean release ) { artifact.setRelease( release ); }
/** {@inheritDoc} */ public void setRelease( boolean release ) { artifact.setRelease( release ); }
result.setDependencyTrail( artifact.getDependencyTrail() ); result.setOptional( artifact.isOptional() ); result.setRelease( artifact.isRelease() );
/** * @param groupId not null * @param artifactId not null * @param versionRange not null * @param scope not null * @param type not null * @param classifier * @param optional not null * @return a <code>DefaultArtifact</code> instance * @throws IOException if any */ public Artifact createArtifact( String groupId, String artifactId, VersionRange versionRange, String scope, String type, String classifier, boolean optional ) throws IOException { ArtifactHandler ah = new DefaultArtifactHandlerStub( type, classifier ); Artifact artifact = new DefaultArtifact( groupId, artifactId, versionRange, scope, type, classifier, ah, optional ); // i have no idea why this needs to be done manually when isSnapshot is able to figure it out. artifact.setRelease( !artifact.isSnapshot() ); if ( createFiles ) { setArtifactFile( artifact, this.workingDir, this.srcFile, this.createUnpackableFile ); } return artifact; }
public void setRelease( boolean release ) { delegate.setRelease( release ); }
public void setRelease(boolean release) { original.setRelease(release); }
public void setRelease(boolean release) { original.setRelease(release); }
public void setRelease(final boolean release) { this.artifact.setRelease(release); }
public void setRelease(final boolean release) { this.artifact.setRelease(release); }
/** * @param groupId not null * @param artifactId not null * @param versionRange not null * @param scope not null * @param type not null * @param classifier * @param optional not null * @return a <code>DefaultArtifact</code> instance * @throws IOException if any */ public Artifact createArtifact( String groupId, String artifactId, VersionRange versionRange, String scope, String type, String classifier, boolean optional ) throws IOException { ArtifactHandler ah = new DefaultArtifactHandlerStub( type, classifier ); Artifact artifact = new DefaultArtifact( groupId, artifactId, versionRange, scope, type, classifier, ah, optional ); // i have no idea why this needs to be done manually when isSnapshot is able to figure it out. artifact.setRelease( !artifact.isSnapshot() ); if ( createFiles ) { setArtifactFile( artifact, this.workingDir, this.srcFile, this.createUnpackableFile ); } return artifact; }
artifact.setRelease( true );
artifact.setRelease(true); pomArtifact.setFile(pomFile); if (updateReleaseInfo) { pomArtifact.setRelease(true);
artifact.setRelease( true );
artifact.setRelease( true ); if ( updateReleaseInfo ) pomArtifact.setRelease( true );