2004-06-18 11:53:26 +00:00
|
|
|
-------------------------------------------------------------------------------
|
2004-05-21 17:25:02 +00:00
|
|
|
it0000: The simplest of builds. We have one application class and one test
|
|
|
|
class. There are no resources, no source generation, no resource
|
|
|
|
generation and a the super model is employed to provide the build
|
|
|
|
information.
|
|
|
|
|
2004-06-18 02:12:29 +00:00
|
|
|
it0001: Builds upon it0000: we add an application resource that is packaged
|
2004-05-21 17:25:02 +00:00
|
|
|
up in the resultant JAR.
|
|
|
|
|
2004-06-18 02:12:29 +00:00
|
|
|
it0002: Builds upon it0001: we add the download of a dependency. We delete
|
|
|
|
the JAR from the local repository and make sure it is there post build.
|
|
|
|
|
|
|
|
it0003: Builds upon it0001: we add a jar installation step. We delete the JAR
|
|
|
|
from the local repository to make sure it is there post build.
|
2004-08-03 16:16:33 +00:00
|
|
|
|
|
|
|
it0004: The simplest of pom installation. We have a pom and we install it in
|
|
|
|
local repository.
|
|
|
|
|
|
|
|
it0005: The simplest of pom installation. We have a snapshot pom and we install
|
|
|
|
it in local repository.
|
2004-06-18 02:12:29 +00:00
|
|
|
|
2005-05-02 09:17:30 +00:00
|
|
|
it0006: Integration test for the verifier plugin.
|
|
|
|
|
2004-08-10 17:58:27 +00:00
|
|
|
it0007: We specify a parent in the POM and make sure that it is downloaded as
|
|
|
|
part of the process.
|
|
|
|
|
2005-02-28 23:37:19 +00:00
|
|
|
it0008: Simple goal decoration where a plugin binds to a phase and the plugin must
|
2005-03-13 21:12:03 +00:00
|
|
|
be downloaded from a remote repository before it can be executed. This
|
|
|
|
test also checks to make sure that mojo parameters are aligned to the
|
|
|
|
project basedir when their type is "java.io.File".
|
2004-09-23 17:10:03 +00:00
|
|
|
|
2005-03-22 06:40:08 +00:00
|
|
|
it0009: Test plugin configuration and goal configuration that overrides what the
|
|
|
|
mojo has specified.
|
|
|
|
|
2004-11-03 22:54:46 +00:00
|
|
|
it0010: Since the artifact resolution does not use the project builder, we must
|
|
|
|
ensure that the full hierarchy of all dependencies is resolved. This
|
|
|
|
includes the dependencies of the parent-pom's of dependencies. This test
|
|
|
|
will check this, by depending on classworlds, which is a dependency of
|
|
|
|
maven-component, which is the parent of maven-plugin, which is an
|
|
|
|
explicit dependency of this test.
|
2005-04-13 05:11:49 +00:00
|
|
|
# TODO: must correct the assumptions of this test
|
o Added dependencyDefaults section to POM.
The nested <dependencyDefault> element closely mirrors the <dependency> element specification.
It provides the ability to set url, artifact, properties, version for a dependency that matches on
{groupId, artifactId, type}. Url, artifact, and version will only override the dependency's values if
the dependency doesn't provide the value, and (in the case of url and artifact) the dependency
doesn't provide a version (url and artifact are assumed to be version-specific).
Properties will only be overwritten, and only in the case where the dependency
doesn't specify them.
Dependencies are validated after merging with defaults, since version is not required
on either <dependency> or <dependencyDefault> but is required between the two.
o Added component interface/default impl for injecting project defaults.
o Added unit and integration tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163323 13f79535-47bb-0310-9956-ffa450edef68
2005-02-01 22:43:03 +00:00
|
|
|
|
2005-02-25 05:09:14 +00:00
|
|
|
it0011: Test specification of dependency versions via <dependencyManagement/>.
|
2004-09-23 17:01:31 +00:00
|
|
|
|
2005-02-03 20:54:15 +00:00
|
|
|
it0012: Test simple POM interpolation
|
|
|
|
|
2005-02-25 05:09:14 +00:00
|
|
|
it0013: Test plugin-plugin, which tests maven-plugin-tools-api and
|
|
|
|
maven-plugin-tools-java. This will generate a plugin descriptor from
|
|
|
|
java-based mojo sources, install the plugin, and then use it.
|
|
|
|
|
2005-05-08 22:07:46 +00:00
|
|
|
it0014: Test POM configuration by settings the -source and -target for the
|
|
|
|
compiler to 1.4
|
|
|
|
|
2005-02-25 05:09:14 +00:00
|
|
|
it0015: Test marmalade-driven mojo support. This will compile supporting java
|
|
|
|
classes (mmld tag & taglib), generate plugin descriptor from mmld script,
|
|
|
|
install the plugin, and finally use the new plugin.
|
2005-03-03 09:08:47 +00:00
|
|
|
|
|
|
|
it0016: Test a WAR generation
|
2005-03-10 17:14:39 +00:00
|
|
|
|
|
|
|
it0017: Test an EJB generation
|
2005-04-08 01:57:06 +00:00
|
|
|
|
|
|
|
it0018: Ensure that managed dependencies for dependency POMs are calculated
|
2005-04-08 04:48:04 +00:00
|
|
|
correctly when resolved. Removes commons-logging-1.0.3 and checks it is
|
|
|
|
redownloaded.
|
2005-04-11 12:27:13 +00:00
|
|
|
|
|
|
|
it0019: Test that a version is managed by pluginManagement in the super POM
|
2005-05-17 15:11:41 +00:00
|
|
|
|
|
|
|
it0020: Test beanshell mojo support.
|
|
|
|
|
2005-06-07 22:36:44 +00:00
|
|
|
it0021: Test pom-level profile inclusion (this one is activated by system
|
|
|
|
property).
|
|
|
|
|
2005-06-08 03:27:43 +00:00
|
|
|
it0022: Test profile inclusion from profiles.xml (this one is activated by system
|
|
|
|
property).
|
|
|
|
|
|
|
|
it0023: Test profile inclusion from settings.xml (this one is activated by an id
|
|
|
|
in the activeProfiles section).
|
|
|
|
|
2005-06-13 02:47:57 +00:00
|
|
|
it0024: Test usage of <executions/> inside a plugin rather than <goals/>
|
|
|
|
that are directly inside th plugin.
|
|
|
|
|
|
|
|
it0025: Test multiple goal executions with different execution-level configs.
|
|
|
|
|
2005-06-13 21:56:00 +00:00
|
|
|
it0026: Test merging of global- and user-level settings.xml files.
|
|
|
|
|
2005-06-20 14:42:56 +00:00
|
|
|
it0027: Test @execute with a custom lifecycle, including configuration
|
2005-06-20 20:11:01 +00:00
|
|
|
|
|
|
|
it0028: Test that unused configuration parameters from the POM don't cause the
|
|
|
|
mojo to fail...they will show up as warnings in the -X output instead.
|
|
|
|
|
2005-06-25 00:00:05 +00:00
|
|
|
it0029: Test for pluginManagement injection of plugin configuration.
|
|
|
|
|
2005-07-06 23:12:44 +00:00
|
|
|
it0030: Test for injection of dependencyManagement through parents of
|
|
|
|
dependency poms.
|
|
|
|
|
2005-07-11 22:08:58 +00:00
|
|
|
it0031: Test usage of plugins.xml mapping file on the repository to resolve
|
|
|
|
plugin artifactId from it's prefix using the pluginGroups in
|
|
|
|
the provided settings.xml.
|
|
|
|
|
2005-07-18 11:59:46 +00:00
|
|
|
it0032: Tests that a specified Maven version requirement that is lower doesn't cause any problems
|
|
|
|
|
2005-07-18 21:43:11 +00:00
|
|
|
it0033: Test an EAR generation
|
|
|
|
|
2005-07-20 06:53:47 +00:00
|
|
|
it0034: Test version range junit [3.7,) resolves to 3.8.1
|
|
|
|
|
2005-07-22 00:31:44 +00:00
|
|
|
it0035: Test artifact relocation.
|
|
|
|
|
2005-07-26 03:55:37 +00:00
|
|
|
it0036: Test building from release-pom.xml when it's available
|
|
|
|
|
|
|
|
it0037: Test building with alternate pom file using '-f'
|
|
|
|
|
|
|
|
it0038: Test building project from outside the project directory using '-f'
|
|
|
|
option
|
|
|
|
|
|
|
|
it0039: Test reactor for projects that have release-pom.xml in addition to
|
|
|
|
pom.xml. The release-pom.xml file should be chosen above pom.xml for
|
|
|
|
these projects in the build.
|
|
|
|
|
2005-07-26 09:04:32 +00:00
|
|
|
it0040: Test the use of a packaging from a plugin
|
|
|
|
|
|
|
|
it0041: Test the use of a new type from a plugin
|
|
|
|
|
2005-07-28 09:32:32 +00:00
|
|
|
it0042: Test that the reactor can establish the artifact location of known projects for dependencies
|
|
|
|
|
2005-08-01 01:05:38 +00:00
|
|
|
it0043: Test for repository inheritence - ensure using the same id overrides the defaults
|
|
|
|
|
2005-08-03 19:26:20 +00:00
|
|
|
it0044: Test --settings CLI option
|
|
|
|
|
2005-08-03 20:43:58 +00:00
|
|
|
it0045: Test non-reactor behavior when plugin declares "@requiresProject false"
|
|
|
|
|
2005-08-04 21:14:51 +00:00
|
|
|
it0046: Test fail-never reactor behavior. Forces an exception to be thrown in
|
|
|
|
the first module, but checks that the second modules is built.
|
|
|
|
|
2005-08-12 02:25:26 +00:00
|
|
|
it0047: Test the use case for having a compile time dependency be transitive:
|
|
|
|
when you extend a class you need its dependencies at compile time.
|
2005-08-09 23:31:14 +00:00
|
|
|
|
2005-08-12 02:25:26 +00:00
|
|
|
it0048: Verify that default values for mojo parameters are working (indirectly,
|
|
|
|
by verifying that the Surefire mojo is functioning correctly).
|
2005-08-11 04:38:46 +00:00
|
|
|
|
|
|
|
it0049: Test parameter alias usage.
|
|
|
|
|
2005-08-17 19:23:45 +00:00
|
|
|
it0050: Test surefire inclusion/exclusions
|
|
|
|
|
|
|
|
it0051: Test source attachment when -DperformRelease=true is specified.
|
2005-08-17 19:36:05 +00:00
|
|
|
|
|
|
|
it0052: Test that source attachment doesn't take place when
|
|
|
|
-DperformRelease=true is missing.
|
|
|
|
|
2005-08-22 21:02:07 +00:00
|
|
|
it0053: Test that attached artifacts have the same buildnumber and timestamp
|
|
|
|
as the main artifact. This will not correctly verify until we have
|
|
|
|
some way to pattern-match the buildnumber/timestamp...
|
|
|
|
|
2005-08-22 23:14:34 +00:00
|
|
|
it0055: Test that source includes/excludes with in the compiler plugin config.
|
|
|
|
This will test excludes and testExcludes...
|
|
|
|
|
|
|
|
it0056: Test that multiple executions of the compile goal with different
|
|
|
|
includes/excludes will succeed.
|
|
|
|
|
2005-08-23 22:11:07 +00:00
|
|
|
it0057: Verify that scope == 'provided' dependencies are available to tests.
|
|
|
|
|
2005-08-24 20:31:29 +00:00
|
|
|
it0058: Verify that profiles from settings.xml do not pollute module lists
|
|
|
|
across projects in a reactorized build.
|
|
|
|
|
2005-08-25 03:08:10 +00:00
|
|
|
it0059: Verify that maven-1 POMs will be ignored but not stop the resolution
|
|
|
|
process.
|
|
|
|
|
2005-08-25 20:19:40 +00:00
|
|
|
it0060: Test aggregation of list configuration items when using
|
|
|
|
'combine.children=append' attribute. Specifically, merge the list of
|
|
|
|
excludes for the testCompile mojo.
|
|
|
|
|
2005-08-25 22:53:43 +00:00
|
|
|
it0061: Verify that deployment of artifacts to a legacy-layout repository
|
|
|
|
results in a groupId directory of 'the.full.group.id' instead of
|
|
|
|
'the/full/group/id'.
|
|
|
|
|
2005-08-26 07:26:03 +00:00
|
|
|
it0062: Test that a deployment of a snapshot falls back to a non-snapshot repository if no snapshot repository is
|
|
|
|
specified.
|
|
|
|
|
2005-08-31 07:39:01 +00:00
|
|
|
it0063: Test the use of a system scoped dependency to tools.jar.
|
|
|
|
|
2005-09-10 11:56:33 +00:00
|
|
|
it0064: Test the use of a mojo that uses setters instead of private fields
|
|
|
|
for the population of configuration values.
|
|
|
|
|
2005-09-12 09:27:57 +00:00
|
|
|
it0065: Test that the basedir of the parent is set correctly.
|
|
|
|
|
2005-09-12 20:08:01 +00:00
|
|
|
it0066: Test that nonstandard POM files will be installed correctly.
|
|
|
|
|
2005-09-13 19:27:34 +00:00
|
|
|
it0067: Test activation of a profile from the command line.
|
|
|
|
|
2004-05-21 17:25:02 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
- generated sources
|
|
|
|
- generated resources from sources
|
|
|
|
- generated resources from generated sources
|
|
|
|
- filtered resources
|
|
|
|
- build that requires a plugin download
|
|
|
|
- transitive dependencies
|
2004-05-25 12:49:13 +00:00
|
|
|
- goal attainment not requiring depedency resolution
|
|
|
|
- goal attainment where a POM is not required: this is a case where
|
|
|
|
we are using mgen to create new applications and project structures
|
|
|
|
which is used by the m2 geronimo plugin and tools like the "setup"
|
|
|
|
goal which brings a project to life from scratch using something like:
|
|
|
|
m2 --setup xstream --version 1.0
|
2004-05-21 17:25:02 +00:00
|
|
|
|
|
|
|
- write a small program to generate a massively nested build
|
|
|
|
which which use the reactor and inheritence. we need to have
|
|
|
|
integration tests that go far beyond what the average user
|
|
|
|
would ever setup.
|
2004-06-18 11:53:26 +00:00
|
|
|
|
2004-06-20 20:44:38 +00:00
|
|
|
- project with a cyclic dependency
|
|
|
|
|
2004-06-18 11:53:26 +00:00
|
|
|
-------------------------------------------------------------------------------
|
2004-06-18 11:59:01 +00:00
|
|
|
These are a set of builds that contain known errors. The errors should be
|
|
|
|
captured and reported in a useful manner to the user. We will start at it1000
|
|
|
|
for intentially flawed builds.
|
2004-06-18 11:53:26 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
it1000: A build which contains a malformed pom.xml. We have intentionally
|
|
|
|
created a mismatch in the first element. We have:
|
|
|
|
<projectX>...</project>
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
it1001: A build whose pom.xml does not contain a <groupId/> element.
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
it1002: A build with a syntax error in the first field declaration.
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
it1003: A build with a simple test failure.
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
- checksum mismatch
|
2005-05-06 00:37:27 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
it1005: A build with two mojo java sources that declare the same goal.
|
|
|
|
-------------------------------------------------------------------------------
|
2005-06-21 03:57:17 +00:00
|
|
|
it1006: Tests collision on default execution id. Should throw an
|
|
|
|
IllegalStateException, since the model is incorrect.
|
|
|
|
-------------------------------------------------------------------------------
|
2005-07-18 11:59:46 +00:00
|
|
|
it1007: Should fail due to requiring a future version of Maven.
|
|
|
|
-------------------------------------------------------------------------------
|
2005-07-20 06:53:47 +00:00
|
|
|
it1008: Should fail due to requiring a version range for junit that doesn't exist
|
|
|
|
in the repository. Currently succeeds (MNG-614)
|
|
|
|
-------------------------------------------------------------------------------
|
2005-07-26 09:04:32 +00:00
|
|
|
it1009: Tests packaging from a plugin fails when extensions is not true.
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
it1010: Tests a type from a plugin fails when extensions is not true.
|
|
|
|
-------------------------------------------------------------------------------
|
2005-08-04 21:14:51 +00:00
|
|
|
it1011: Tests the fail-at-end reactor behavior. First module fails, and second
|
|
|
|
should also run but not fail. End result should be failure of the build.
|
|
|
|
-------------------------------------------------------------------------------
|
2005-08-12 03:04:06 +00:00
|
|
|
it1012: Test that the DefaultLifecycleExecutor will throw an exception when
|
|
|
|
encountering an unknown packaging.
|
|
|
|
-------------------------------------------------------------------------------
|
2005-06-21 03:57:17 +00:00
|
|
|
|
2005-08-09 16:11:40 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
These are a set of builds that are more complex than single-project or reactor
|
|
|
|
invocations. They follow a process external to maven itself, invoking
|
|
|
|
different lifecycle phases and/or goals on multiple projects within each test
|
|
|
|
directory in order to accomplish their aims.
|
|
|
|
|
2005-09-14 03:40:17 +00:00
|
|
|
NOTE: Currently, there is no automatic verification process for these...
|
2005-08-09 16:11:40 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
it2000: Test resolution of plugin by prefix from the first plugin repository
|
|
|
|
in a list. This is accomplished by creating a local "remote" repo, and
|
|
|
|
deploying a plugin there. Then, in another project, that plugin's goal
|
|
|
|
is invoked directly with the plugin's groupId being included in the
|
|
|
|
pluginGroups for the build. This second build should pickup the
|
|
|
|
plugins.xml for the aforementioned plugin from the first repository
|
|
|
|
and execute. This should resolve MNG-592.
|
2005-09-14 03:40:17 +00:00
|
|
|
|
|
|
|
it2001: Test that repositories are accumulated as the artifact resolution
|
|
|
|
process traverses successive layers of transitive dependencies, such
|
|
|
|
that transitive dependencies can be resolved from repositories defined
|
|
|
|
in the top-level pom.xml. See MNG-757.
|
|
|
|
|
2005-08-09 16:11:40 +00:00
|
|
|
-------------------------------------------------------------------------------
|
2005-09-14 03:40:17 +00:00
|
|
|
|