https://issues.apache.org/bugzilla/show_bug.cgi?id=51161

--- Comment #2 from Kelly Davis <[email protected]> 2011-06-08 12:17:30 UTC ---
The following pom will generate the error:


<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.help</groupId>
    <artifactId>Test</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging>
    <name>Test</name>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.6</version>
                <executions>
                    <execution>
                        <id>configure-resources</id>
                        <phase>generate-resources</phase>
                        <configuration>
                            <target>
                                <input message="Enter Foo Property"
addproperty="foo.property" defaultvalue="FOO"/>
                                <input message="Enter Bar Property"
addproperty="bar.property" defaultvalue="BAR"/>
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>

execute 'mvn generate-sources'

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to