carlos 2004/07/26 09:17:45
Added: linkcheck/src/plugin-test maven.xml .cvsignore
project.properties project.xml
linkcheck/src/plugin-test/xdocs nolink.html test.html
testExcludes.html
linkcheck/src/plugin-test/xdocs/test-resources nolink.html
linkcheck/src/plugin-test/xdocs/test1 test1.html
linkcheck/src/plugin-test/xdocs/test-resources/test1
test1.html test2.html
Log:
Added plugin test
Revision Changes Path
1.1 maven-plugins/linkcheck/src/plugin-test/maven.xml
Index: maven.xml
===================================================================
<!--
/*
* Copyright 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">
<goal name="testPlugin" prereqs="clean,test-linkcheck">
</goal>
<goal name="test-linkcheck">
<attainGoal name="site"/>
<attainGoal name="clean"/>
</goal>
</project>
1.1 maven-plugins/linkcheck/src/plugin-test/.cvsignore
Index: .cvsignore
===================================================================
target
1.1 maven-plugins/linkcheck/src/plugin-test/project.properties
Index: project.properties
===================================================================
# -------------------------------------------------------------------
# Copyright 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.
# -------------------------------------------------------------------
maven.junit.fork=true
maven.linkcheck.exclude=http://cvs.apache.org/viewcvs.cgi/maven-pluginszz/,http://cvs.apache.org/viewcvs.cgi/mavenzz/
maven.linkcheck.failonerror=true
1.1 maven-plugins/linkcheck/src/plugin-test/project.xml
Index: project.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 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-linkcheck-plugin</id>
<name>Test project for Maven Linkcheck</name>
<groupId>maven</groupId>
<currentVersion>1.0-SNAPSHOT</currentVersion>
<organization>
<name>Apache Software Foundation</name>
<url>http://www.apache.org/</url>
</organization>
<inceptionYear>2004</inceptionYear>
<package>org.apache.maven</package>
<logo>http://maven.apache.org/images/maven.jpg</logo>
<description>Test for Maven Linkcheck plugin</description>
<shortDescription>Test for Maven Linkcheck plugin</shortDescription>
<url>http://maven.apache.org/reference/plugins/linkcheck/</url>
<siteDirectory>/www/maven.apache.org/reference/plugins/linkcheck/</siteDirectory>
<repository>
<connection>scm:cvs:pserver:[EMAIL
PROTECTED]:/home/cvspublic:maven/src/plugins-build/linkcheck/</connection>
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/linkcheck/</url>
</repository>
<developers>
<developer>
<name>Carlos Sanchez</name>
<id>carlos</id>
<email>[EMAIL PROTECTED]</email>
<roles>
<role>Java Developer</role>
</roles>
</developer>
</developers>
<dependencies>
</dependencies>
<build>
</build>
<reports>
<report>maven-linkcheck-plugin</report>
</reports>
</project>
1.1 maven-plugins/linkcheck/src/plugin-test/xdocs/nolink.html
Index: nolink.html
===================================================================
<!--
/*
* 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.
*/
-->
<html>
<body>
</body>
</html>
1.1 maven-plugins/linkcheck/src/plugin-test/xdocs/test.html
Index: test.html
===================================================================
<!--
/*
* 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.
*/
-->
<html>
<body>
<a href="#bumpkin">test2</a>
</body>
</html>
1.1 maven-plugins/linkcheck/src/plugin-test/xdocs/testExcludes.html
Index: testExcludes.html
===================================================================
<!--
/*
* 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.
*/
-->
<html>
<body>
<a href="http://cvs.apache.org/viewcvs.cgi/maven-pluginszz/">this will be
excluded</a>
<a href="http://cvs.apache.org/viewcvs.cgi/mavenzz/">this will be excluded</a>
</body>
</html>
1.1
maven-plugins/linkcheck/src/plugin-test/xdocs/test-resources/nolink.html
Index: nolink.html
===================================================================
<!--
/*
* 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.
*/
-->
<html>
<body>
</body>
</html>
1.1 maven-plugins/linkcheck/src/plugin-test/xdocs/test1/test1.html
Index: test1.html
===================================================================
<!--
/*
* 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.
*/
-->
<html>
<body>
<a href="mailto:[EMAIL PROTECTED]">The mail link</a>
</body>
</html>
1.1
maven-plugins/linkcheck/src/plugin-test/xdocs/test-resources/test1/test1.html
Index: test1.html
===================================================================
<!--
/*
* 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.
*/
-->
<html>
<body>
<a href="mailto:[EMAIL PROTECTED]">The mail link</a>
</body>
</html>
1.1
maven-plugins/linkcheck/src/plugin-test/xdocs/test-resources/test1/test2.html
Index: test2.html
===================================================================
<!--
/*
* 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.
*/
-->
<html>
<body></body></html>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]