Add test project
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114025 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1
changes/src/test/plugin-test/.cvsignore
Normal file
1
changes/src/test/plugin-test/.cvsignore
Normal file
@@ -0,0 +1 @@
|
||||
gump.xml
|
||||
16
changes/src/test/plugin-test/maven.xml
Normal file
16
changes/src/test/plugin-test/maven.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<project xmlns:util="jelly:util"
|
||||
xmlns:j="jelly:core">
|
||||
|
||||
<goal name="test" prereqs="test-changes-report">
|
||||
<attainGoal name="clean"/>
|
||||
</goal>
|
||||
|
||||
<goal name="test-changes-report">
|
||||
<attainGoal name="changes:report"/>
|
||||
<j:set var="expectedFile" value="${maven.gen.docs}/changes-report.xml"/>
|
||||
<util:file var="file" name="${expectedFile}" />
|
||||
<j:if test="${!(file.exists())}">
|
||||
<fail>${expectedFile} not generated</fail>
|
||||
</j:if>
|
||||
</goal>
|
||||
</project>
|
||||
39
changes/src/test/plugin-test/project.xml
Normal file
39
changes/src/test/plugin-test/project.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project>
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>test-maven-changes-plugin</id>
|
||||
<name>Test project for Maven Changes Plugin</name>
|
||||
<groupId>maven</groupId>
|
||||
<currentVersion>1.0-SNAPSHOT</currentVersion>
|
||||
<organization>
|
||||
<name>Apache Software Foundation</name>
|
||||
<url>http://www.apache.org/</url>
|
||||
<logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
|
||||
</organization>
|
||||
<inceptionYear>2001</inceptionYear>
|
||||
<package>org.apache.maven</package>
|
||||
<logo>http://maven.apache.org/images/maven.jpg</logo>
|
||||
<description>Test for Maven Changes plugin</description>
|
||||
<shortDescription>Test for Maven Changes plugin</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/changes/</url>
|
||||
<siteDirectory>/www/maven.apache.org/reference/plugins/changes/</siteDirectory>
|
||||
<repository>
|
||||
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/changes/</connection>
|
||||
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/changes/</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>
|
||||
27
changes/src/test/plugin-test/xdocs/changes.xml
Normal file
27
changes/src/test/plugin-test/xdocs/changes.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0"?>
|
||||
<document>
|
||||
<properties>
|
||||
<title>Changes</title>
|
||||
<author email="vmassol@apache.org">Vincent Massol</author>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<release version="1.2" date="in CVS">
|
||||
<action dev="dion" type="update">
|
||||
update to use maven.docs.*/maven.gen.docs
|
||||
</action>
|
||||
<action dev="evenisse" type="add">
|
||||
<a href="http://jira.codehaus.org/ViewIssue.jspa?key=MAVEN-587">Maven-587</a>.
|
||||
Add index table of release.
|
||||
</action>
|
||||
<action dev="evenisse" type="fix">
|
||||
Add xml declaration to generated report. Fixed for character encoding.
|
||||
</action>
|
||||
<action dev="vmassol" type="fix">
|
||||
Fixed the xdocs which were simply a copy of the changelog plugin
|
||||
docs.
|
||||
</action>
|
||||
</release>
|
||||
</body>
|
||||
</document>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
<body>
|
||||
<release version="1.2" date="in CVS">
|
||||
<action dev="dion" type="update">Add test project</action>
|
||||
<action dev="dion" type="update">
|
||||
update to use maven.docs.*/maven.gen.docs
|
||||
</action>
|
||||
|
||||
Reference in New Issue
Block a user