Files
maven-plugins/ant/src/plugin-test/maven.xml
T
2004-05-22 03:00:20 +00:00

43 lines
1.4 KiB
XML

<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<project xmlns:util="jelly:util"
xmlns:j="jelly:core"
xmlns:ant="jelly:ant"
xmlns:assert="assert">
<goal name="testPlugin" prereqs="test-ant">
<attainGoal name="clean"/>
</goal>
<goal name="test-ant">
<attainGoal name="ant"/>
<assert:assertFileExists file="${basedir}/build.xml"/>
<ant:property name="noget" value="noget" />
<ant:ant/>
<assert:assertFileExists file="${maven.build.dest}/directory-1/file1.properties"/>
<assert:assertFileExists file="${maven.build.dest}/file2.properties"/>
<assert:assertFileExists file="${maven.test.dest}/directory-1/file1.properties"/>
<assert:assertFileExists file="${maven.test.dest}/file2.properties"/>
<delete file="${basedir}/build.xml"/>
</goal>
</project>