Author: jtolentino Date: Sat Dec 30 16:07:30 2006 New Revision: 491351 URL: http://svn.apache.org/viewvc?view=rev&rev=491351 Log: Documentation updates on the new configuration.
Modified: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-custom-report.apt maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-resolved-issues-report.apt maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-votes-report.apt maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/usage.apt Modified: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-custom-report.apt URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-custom-report.apt?view=diff&rev=491351&r1=491350&r2=491351 ============================================================================== --- maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-custom-report.apt (original) +++ maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-custom-report.apt Sat Dec 30 16:07:30 2006 @@ -40,12 +40,10 @@ <artifactId>maven-swizzle-plugin</artifactId> <version>1.0-SNAPSHOT</version> <configuration> - <reportConfiguration> - <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl> - <projectKey>SWIZZLE</projectKey> - <projectVersion>*</projectVersion> - <template>unit/MyResolvedIssuesTemplate.vm</template> - </reportConfiguration> + <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl> + <projectKey>SWIZZLE</projectKey> + <projectVersion>*</projectVersion> + <template>unit/MyResolvedIssuesTemplate.vm</template> <result>my-output/ResolvedIssuesActualResult.txt</result> </configuration> </plugin> Modified: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-resolved-issues-report.apt URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-resolved-issues-report.apt?view=diff&rev=491351&r1=491350&r2=491351 ============================================================================== --- maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-resolved-issues-report.apt (original) +++ maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-resolved-issues-report.apt Sat Dec 30 16:07:30 2006 @@ -41,12 +41,10 @@ <artifactId>maven-swizzle-plugin</artifactId> <version>1.0-SNAPSHOT</version> <configuration> - <reportConfiguration> - <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl> - <projectKey>SWIZZLE</projectKey> - <projectVersion>*</projectVersion> - <template>RESOLVED_ISSUES</template> - </reportConfiguration> + <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl> + <projectKey>SWIZZLE</projectKey> + <projectVersion>*</projectVersion> + <template>RESOLVED_ISSUES</template> <result>my-output/ResolvedIssuesActualResult.txt</result> </configuration> </plugin> @@ -71,12 +69,36 @@ <artifactId>maven-swizzle-plugin</artifactId> <version>1.0-SNAPSHOT</version> <configuration> - <reportConfiguration> - <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl> - <projectKey>MWAR</projectKey> - <projectVersion>2.0.2</projectVersion> - <template>RESOLVED_ISSUES</template> - </reportConfiguration> + <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl> + <projectKey>MWAR</projectKey> + <projectVersion>2.0.2</projectVersion> + <template>RESOLVED_ISSUES</template> + <result>my-output/MavenWARPluginResolvedIssues.xml</result> + </configuration> + </plugin> + </plugins> + </build> + [...] +</project> ++-------+ + +*Default Values example + + Since the <<<jiraServerUrl>>> and <<<template>>> used for this project are the default values for this plugin, a + shorter version of the configuration would be: + ++-------+ +<project> + [...] + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-swizzle-plugin</artifactId> + <version>1.0-SNAPSHOT</version> + <configuration> + <projectKey>MWAR</projectKey> + <projectVersion>2.0.2</projectVersion> <result>my-output/MavenWARPluginResolvedIssues.xml</result> </configuration> </plugin> Modified: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-votes-report.apt URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-votes-report.apt?view=diff&rev=491351&r1=491350&r2=491351 ============================================================================== --- maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-votes-report.apt (original) +++ maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/examples/generating-votes-report.apt Sat Dec 30 16:07:30 2006 @@ -42,12 +42,10 @@ <artifactId>maven-swizzle-plugin</artifactId> <version>1.0-SNAPSHOT</version> <configuration> - <reportConfiguration> - <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl> - <projectKey>SWIZZLE</projectKey> - <projectVersion>*</projectVersion> - <template>VOTES</template> - </reportConfiguration> + <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl> + <projectKey>SWIZZLE</projectKey> + <projectVersion>*</projectVersion> + <template>VOTES</template> <result>my-output/Votes.txt</result> </configuration> </plugin> @@ -71,12 +69,10 @@ <artifactId>maven-swizzle-plugin</artifactId> <version>1.0-SNAPSHOT</version> <configuration> - <reportConfiguration> - <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl> - <projectKey>MWAR</projectKey> - <projectVersion>*</projectVersion> - <template>VOTES</template> - </reportConfiguration> + <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl> + <projectKey>MWAR</projectKey> + <projectVersion>*</projectVersion> + <template>VOTES</template> <result>my-output/MavenWARPluginVotes.xml</result> </configuration> </plugin> Modified: maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/usage.apt URL: http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/usage.apt?view=diff&rev=491351&r1=491350&r2=491351 ============================================================================== --- maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/usage.apt (original) +++ maven/sandbox/plugins/maven-swizzle-plugin/src/site/apt/usage.apt Sat Dec 30 16:07:30 2006 @@ -39,12 +39,10 @@ <artifactId>maven-swizzle-plugin</artifactId> <version>1.0-SNAPSHOT</version> <configuration> - <reportConfiguration> - <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl> - <projectKey>MWAR</projectKey> - <projectVersion>2.0.2</projectVersion> - <template>RESOLVED_ISSUES</template> - </reportConfiguration> + <jiraServerUrl>http://jira.codehaus.org</jiraServerUrl> + <projectKey>MWAR</projectKey> + <projectVersion>2.0.2</projectVersion> + <template>RESOLVED_ISSUES</template> <result>my-output/MavenWARPluginResolvedIssues.xml</result> </configuration> </plugin>