@@ -0,0 +1,2882 @@
+package org.apache.maven.artifact.ant;%0A%0A/*%0A * Copyright 2001-2005 The Apache Software Foundation.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Aimport org.apache.maven.artifact.repository.ArtifactRepository;%0Aimport org.apache.maven.project.MavenProjectBuilder;%0Aimport org.apache.tools.ant.BuildException;%0Aimport org.codehaus.plexus.util.introspection.ReflectionValueExtractor;%0A%0A/**%0A * Set a property from a POM.%0A *%0A * @author %3Ca href=%22mailto:brett@apache.org%22%3EBrett Porter%3C/a%3E%0A * @version $Id$%0A */%0Apublic class SetPropertyTask%0A    extends AbstractArtifactTask%0A%7B%0A    private String ref;%0A%0A    private String property;%0A%0A    private String expression;%0A%0A    public void execute()%0A        throws BuildException%0A    %7B%0A        ArtifactRepository localRepo = createLocalArtifactRepository();%0A%0A        MavenProjectBuilder builder = (MavenProjectBuilder) lookup( MavenProjectBuilder.ROLE );%0A        Pom pom = buildPom( builder, localRepo );%0A%0A        if ( expression == null )%0A        %7B%0A            throw new BuildException( %22the expression attribute is required%22 );%0A        %7D%0A%0A        if ( property == null && ref == null )%0A        %7B%0A            throw new BuildException( %22the property or ref attribute is required%22 );%0A        %7D%0A%0A        else if ( property != null && ref != null )%0A        %7B%0A            throw new BuildException( %22only one of the property or ref attribute is allowed%22 );%0A%0A        %7D%0A%0A        Object value = null;%0A        try%0A        %7B%0A            value = ReflectionValueExtractor.evaluate( expression, pom.getMavenProject() );%0A        %7D%0A        catch ( Exception e )%0A        %7B%0A            throw new BuildException( %22Error extracting expression from POM%22, e );%0A        %7D%0A%0A        if ( property != null )%0A        %7B%0A            getProject().setProperty( property, value.toString() );%0A        %7D%0A        else%0A        %7B%0A            getProject().addReference( ref, value );%0A        %7D%0A    %7D%0A%0A    public String getProperty()%0A    %7B%0A        return property;%0A    %7D%0A%0A    public void setProperty( String property )%0A    %7B%0A        this.property = property;%0A    %7D%0A%0A    public String getExpression()%0A    %7B%0A        return expression;%0A    %7D%0A%0A    public void setExpression( String expression )%0A    %7B%0A        this.expression = expression;%0A    %7D%0A%0A    public String getRef()%0A    %7B%0A        return ref;%0A    %7D%0A%0A    public void setRef( String ref )%0A    %7B%0A        this.ref = ref;%0A    %7D%0A%7D%0A

add missing file for the set properties capabilities