tests reorganization
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116004 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
a998b25f4d
commit
2b0165eab5
10 files changed
+111
-34
No files matched your search
@@ -1,2 +1,5 @@
|
||||
gump.xml
|
||||
*.log
|
||||
targetdist
|
||||
dist
|
||||
target
|
||||
@@ -16,24 +16,17 @@
|
||||
*/
|
||||
-->
|
||||
<project xmlns:util="jelly:util"
|
||||
xmlns:maven="jelly:maven"
|
||||
xmlns:j="jelly:core"
|
||||
xmlns:assert="assert"
|
||||
xmlns:doc="doc">
|
||||
xmlns:ant="jelly:ant">
|
||||
|
||||
<goal name="testPlugin" prereqs="clean,test-xdoc,test-jsltosite">
|
||||
<!-- bad xdoc leaves files open <attainGoal name="clean"/> -->
|
||||
</goal>
|
||||
|
||||
<goal name="test-xdoc">
|
||||
<j:set var="maven.docs.src" value="${basedir}/xdocs-replacement"/>
|
||||
<attainGoal name="xdoc"/>
|
||||
<assert:assertFileExists file="${maven.docs.dest}/test.html"/>
|
||||
</goal>
|
||||
|
||||
|
||||
<goal name="test-jsltosite">
|
||||
<doc:jslToSite srcdir="${basedir}/testdocs" />
|
||||
<assert:assertFileExists file="${maven.docs.dest}/testjsltosite.html"/>
|
||||
<goal name="testPlugin">
|
||||
<maven:reactor basedir="${basedir}"
|
||||
includes="test*/project.xml"
|
||||
goals="testPlugin"
|
||||
banner="Test"
|
||||
ignoreFailures="false"/>
|
||||
</goal>
|
||||
|
||||
</project>
|
||||
@@ -27,11 +27,11 @@
|
||||
<organization>
|
||||
<name>Apache Software Foundation</name>
|
||||
<url>http://www.apache.org/</url>
|
||||
<logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
|
||||
<logo>http://maven.apache.org/images/apache-maven-project.png</logo>
|
||||
</organization>
|
||||
<inceptionYear>2001</inceptionYear>
|
||||
<package>org.apache.maven</package>
|
||||
<logo>http://maven.apache.org/images/maven.jpg</logo>
|
||||
<logo>http://maven.apache.org/images/maven.gif</logo>
|
||||
<description>Test for Maven Xdoc plugin</description>
|
||||
<shortDescription>Test for Maven Xdoc plugin</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/xdoc/</url>
|
||||
@@ -40,18 +40,4 @@
|
||||
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/xdoc/</connection>
|
||||
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/xdoc/</url>
|
||||
</repository>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>dIon Gillard</name>
|
||||
<id>dion</id>
|
||||
<email>dion@multitask.com.au</email>
|
||||
<organization>Multitask Consulting</organization>
|
||||
<roles>
|
||||
<role>Documentation</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<build>
|
||||
</build>
|
||||
</project>
|
||||
</project>
|
||||
@@ -0,0 +1,2 @@
|
||||
*.log
|
||||
target
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<!-- $Id: links.xml,v 1.2 2004/03/04 18:39:49 evenisse Exp $ -->
|
||||
<!-- $Id: links.xml,v 1.1 2004/08/25 19:58:20 aheritier Exp $ -->
|
||||
|
||||
<!ENTITY _module '<code><module></code>'>
|
||||
<!ENTITY module '<a href="descriptor.html#module">&_module;</a>'>
|
||||
@@ -0,0 +1,39 @@
|
||||
<!--
|
||||
/*
|
||||
* 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:assert="assert"
|
||||
xmlns:doc="doc">
|
||||
|
||||
<goal name="testPlugin" prereqs="clean,test-xdoc,test-jsltosite">
|
||||
<!-- bad xdoc leaves files open <attainGoal name="clean"/> -->
|
||||
</goal>
|
||||
|
||||
<goal name="test-xdoc">
|
||||
<j:set var="maven.docs.src" value="${basedir}/xdocs-replacement"/>
|
||||
<attainGoal name="xdoc"/>
|
||||
<assert:assertFileExists file="${maven.docs.dest}/test.html"/>
|
||||
</goal>
|
||||
|
||||
|
||||
<goal name="test-jsltosite">
|
||||
<doc:jslToSite srcdir="${basedir}/testdocs" />
|
||||
<assert:assertFileExists file="${maven.docs.dest}/testjsltosite.html"/>
|
||||
</goal>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
/*
|
||||
* 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>
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>test-maven-xdoc-plugin</id>
|
||||
<name>Maven Xdoc Plugin 01</name>
|
||||
<groupId>maven</groupId>
|
||||
<currentVersion>1.0</currentVersion>
|
||||
<organization>
|
||||
<name>Apache Software Foundation</name>
|
||||
<url>http://www.apache.org/</url>
|
||||
<logo>http://maven.apache.org/images/apache-maven-project.png</logo>
|
||||
</organization>
|
||||
<inceptionYear>2001</inceptionYear>
|
||||
<package>org.apache.maven</package>
|
||||
<logo>http://maven.apache.org/images/maven.gif</logo>
|
||||
<description>Test for Maven Xdoc plugin</description>
|
||||
<shortDescription>Test for Maven Xdoc plugin</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/xdoc/</url>
|
||||
<siteDirectory>/www/maven.apache.org/reference/plugins/xdoc/</siteDirectory>
|
||||
<repository>
|
||||
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/xdoc/</connection>
|
||||
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/xdoc/</url>
|
||||
</repository>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>dIon Gillard</name>
|
||||
<id>dion</id>
|
||||
<email>dion@multitask.com.au</email>
|
||||
<organization>Multitask Consulting</organization>
|
||||
<roles>
|
||||
<role>Documentation</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
</project>
|
||||
File renamed without changes.
File renamed without changes.
+1
-1
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- $Id: test.xml,v 1.3 2004/04/08 00:42:45 brett Exp $ -->
|
||||
<!-- $Id: test.xml,v 1.1 2004/08/25 19:58:20 aheritier Exp $ -->
|
||||
<!DOCTYPE document [
|
||||
<!ENTITY % common-links SYSTEM "../common/links.xml">
|
||||
%common-links;
|
||||
Reference in new issue
Block a user