47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
------
|
|
Introduction
|
|
------
|
|
Vincent Siveton
|
|
------
|
|
February 2008
|
|
------
|
|
|
|
~~ Licensed to the Apache Software Foundation (ASF) under one
|
|
~~ or more contributor license agreements. See the NOTICE file
|
|
~~ distributed with this work for additional information
|
|
~~ regarding copyright ownership. The ASF licenses this file
|
|
~~ to you 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 Plugin Testing Mechanism
|
|
|
|
The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojos, i.e. by pre-constructing the
|
|
{{{http://plexus.codehaus.org}Plexus}} components, providing stub objects for Maven functionality such as projects,
|
|
and populating fields from an XML file that resembles the plugin configuration in the POM.
|
|
|
|
The best way to start is to read the cookbook {{{getting-started/index.html}How to use Maven Plugin Testing Harness}}.
|
|
|
|
* Examples
|
|
|
|
The following examples shows how to use the Testing Harness in more advanced usecases:
|
|
|
|
* {{{examples/complex-mojo-parameters.html}Testing Complex Mojo Parameters}}
|
|
|
|
* {{{examples/multiproject.html}Testing Multiproject}}
|
|
|
|
* {{{examples/repositories.html}Testing Using Repositories}}
|
|
|
|
* {{{examples/artifact.html}Testing Project Artifact}}
|
|
|
|
[]
|