maven/maven-core-it
Brett Leslie Porter 510de4fe54 upgrade plexus utils to 1.0.4-SNAPSHOT.
The group ID has changed, so add a bunch of exclusions to ensure the old is not picked up
fix bugs in mboot that wasn't honoring excludes.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307294 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 14:13:31 +00:00
..
it0000 check we get a report out of surefire 2005-08-12 02:45:57 +00:00
it0001 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it0002 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it0003 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it0004 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it0005 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it0006 fix tests in accordance with removed deprecations 2005-10-03 13:58:48 +00:00
it0007 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it0008 fix tests in accordance with removed deprecations 2005-10-03 13:58:48 +00:00
it0009 fix tests in accordance with removed deprecations 2005-10-03 13:58:48 +00:00
it0010 updated apis 2005-09-16 19:09:21 +00:00
it0011 updated apis 2005-09-16 19:09:21 +00:00
it0012 fix plugin repository definitions 2005-09-16 18:00:26 +00:00
it0013 Resolving: MNG-449, MNG-832 2005-10-04 04:19:40 +00:00
it0014 add test compilation to integration test 2005-05-08 21:39:30 +00:00
it0016 Add the correct junit version (surefire need junit version >=3.8) 2005-09-22 16:04:49 +00:00
it0017 reformat 2005-07-22 13:52:21 +00:00
it0018 Add the correct junit version (surefire need junit version >=3.8) 2005-09-22 16:04:49 +00:00
it0019 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it0020 Resolving: MNG-449, MNG-832 2005-10-04 04:19:40 +00:00
it0021 Fixing problem with using distributionManagement repository definition for download of plugins.xml metadata. 2005-07-12 20:08:21 +00:00
it0022 fix plugin repository definitions 2005-09-16 18:00:26 +00:00
it0023 fix plugin repository definitions 2005-09-16 18:00:26 +00:00
it0024 fix incorrect test (execution cannot affect something already bound by packaging) 2005-06-18 16:01:48 +00:00
it0025 fix plugin repository definitions 2005-09-16 18:00:26 +00:00
it0026 fix plugin repository definitions 2005-09-16 18:00:26 +00:00
it0027 test goal as well 2005-09-28 05:55:13 +00:00
it0028 Resolving: MNG-496 2005-06-20 20:11:01 +00:00
it0029 fix tests in accordance with removed deprecations 2005-10-03 13:58:48 +00:00
it0030 reenable tests 2005-07-22 15:37:46 +00:00
it0031 Fixing issues related to MNG-377, where the plugins.xml metadata was being mishandled. Separated updating of this metadata into a separate mojo, bound to the 'package' phase, and put in a validator for the POM (POM has to have distributionRepository now for maven-plugin's) which is bound to the 'validate' phase. Put together an integration test that uses modello:java as a case where the pluginGroups must be consulted. Also had to change the Verifier to check a verifier.properties for failOnErrorOutput, which will suppress IT failures based on [ERROR] log output (modello outputs one of these, and kills the IT unnecessarily). 2005-07-11 22:08:58 +00:00
it0032 integration tests for the required maven version test 2005-07-18 11:59:46 +00:00
it0033 fix the integration test after the default location changed 2005-08-15 11:47:18 +00:00
it0034 set correct version 2005-09-26 13:48:55 +00:00
it0035 PR: MNG-507 2005-07-22 00:31:44 +00:00
it0036 Working on: MNG-607 2005-07-26 03:55:37 +00:00
it0037 Working on: MNG-607 2005-07-26 03:55:37 +00:00
it0038 Working on: MNG-607 2005-07-26 03:55:37 +00:00
it0039 remove files first 2005-09-25 01:46:33 +00:00
it0040 fix plugin repository definitions 2005-09-16 18:00:26 +00:00
it0041 fix plugin repository definitions 2005-09-16 18:00:26 +00:00
it0042 PR: MNG-1088 2005-10-06 07:10:49 +00:00
it0043 linking up the IDs 2005-09-15 09:13:28 +00:00
it0044 fix plugin repository definitions 2005-09-16 18:00:26 +00:00
it0045 fix plugin repository definitions 2005-09-16 18:00:26 +00:00
it0046 fix plugin repository definitions 2005-09-16 18:00:26 +00:00
it0047 upgrade plexus utils to 1.0.4-SNAPSHOT. 2005-10-08 14:13:31 +00:00
it0048 Fixing problem with mojo configuration merges between parameter configuration keyed by alias and by name within the POM, along with configuration within the MojoDescriptor. 2005-08-12 02:25:26 +00:00
it0049 update for consistency 2005-09-19 00:27:58 +00:00
it0050 it0050: fixed expected results and adding it to integration-tests (again). 2005-08-17 21:33:02 +00:00
it0051 Fixing some things: 2005-08-17 19:23:45 +00:00
it0052 Adding inverse test of it0051. 2005-08-17 19:36:05 +00:00
it0053 Attempting again to fix the expectations... 2005-08-23 03:30:23 +00:00
it0054 PR: MNG-788 2005-09-22 02:52:39 +00:00
it0055 Resolving: MNG-643 2005-08-22 23:14:34 +00:00
it0056 Resolving: MNG-643 2005-08-22 23:14:34 +00:00
it0057 Resolving: MNG-766. 2005-08-23 22:11:07 +00:00
it0058 Resolving: MNG-773 2005-08-24 20:31:29 +00:00
it0059 Resolving: MNG-666 2005-08-25 03:08:10 +00:00
it0060 Resolving: MNG-732 2005-08-25 20:19:40 +00:00
it0061 Resolving (Cannot Reproduce): MNG-731 2005-08-25 22:53:43 +00:00
it0062 clean up repository item too 2005-09-12 13:45:31 +00:00
it0063 Fixing this integration test by only introducing the system-scoped dependency on Sun JDKs using java.vendor as the distinguishing point, in order to exclude OS X. 2005-09-21 17:14:30 +00:00
it0064 fix plugin repository definitions 2005-09-16 18:00:26 +00:00
it0065 don't rely on target directory as it is cleaned after use 2005-09-29 14:08:47 +00:00
it0066 Resolving MNG-851. Using MavenProject.getFile() rather than constructing new. Also fixed maven-deploy-plugin with similar bug. 2005-09-12 20:08:01 +00:00
it0067 Resolving: MNG-814. Enabled import of explicit activation and deactivation of profileIds from the external profile manager to the project-level profile manager. See it0067. 2005-09-13 19:27:34 +00:00
it0068 Resolving: MNG-767, MNG-768 2005-09-23 14:23:08 +00:00
it0069 use classworld dep instead 2005-10-03 05:49:59 +00:00
it0070 set native eol-style 2005-09-25 22:07:53 +00:00
it0071 Resolving: MNG-885 2005-09-26 20:29:20 +00:00
it0072 Resolving: MNG-885 2005-09-26 20:29:20 +00:00
it0073 windows compatible way of listing goals 2005-09-28 03:00:50 +00:00
it0074 Added test case to prove that MNG-781 is fixed. 2005-09-27 21:16:16 +00:00
it0075 Working on: MNG-786 2005-09-30 15:45:20 +00:00
it0076 Adding goals specification to fix this test. 2005-09-28 20:16:53 +00:00
it0077 PR: MNG-932 2005-10-03 03:53:48 +00:00
it0078 Adding IT for MNG-1052, to test that compiler plugin configuration from the pluginManagement section is injected with the addition of the implicit plugin instance. 2005-10-03 21:50:35 +00:00
it0079 Resolving: MNG-1021 2005-10-04 02:54:49 +00:00
it0080 PR: MNG-818 2005-10-04 05:25:40 +00:00
it0081 PR: MNG-956 2005-10-04 07:15:36 +00:00
it0082 PR: MNG-1088 2005-10-06 07:10:49 +00:00
it1000 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it1001 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it1002 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it1003 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it1004 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it1005 IT for testing failure when duplicate goal names are specified in multiple mojos... 2005-05-06 00:36:00 +00:00
it1006 Resolving issue: MNG-493 2005-06-21 03:57:17 +00:00
it1007 integration tests for the required maven version test 2005-07-18 11:59:46 +00:00
it1008 PR: MNG-505 2005-07-20 06:53:47 +00:00
it1009 PR: MNG-598 2005-07-26 09:04:32 +00:00
it1010 PR: MNG-598 2005-07-26 09:04:32 +00:00
it1011 fix plugin repository definitions 2005-09-16 18:00:26 +00:00
it1012 Resolving: MNG-652 2005-08-12 03:02:35 +00:00
it1013 o Improving toString for Dependency in the 4.0.0 version codeSegment in maven.mdo 2005-08-12 21:55:00 +00:00
it1014 Resolving: MNG-767, MNG-768 2005-09-23 14:23:08 +00:00
it1015 Resolving: MNG-885 2005-09-26 20:29:20 +00:00
it1016 Resolving: MNG-1032, MNG-1033 2005-09-30 14:33:10 +00:00
it1017 Resolving: MNG-1032, MNG-1033 2005-09-30 14:33:10 +00:00
it1018 Resolving: MNG-1055 2005-10-05 19:52:30 +00:00
it2000 updated apis 2005-09-16 19:09:21 +00:00
it2001 Cleaning up faulty logic in MavenMetadataSource related to the last commit, and updating the it2001 test to (hopefully) straighten out the repository definitions. 2005-09-14 04:13:38 +00:00
it2002 fix test project 2005-10-03 00:38:59 +00:00
README.txt PR: MNG-1088 2005-10-06 07:10:49 +00:00
integration-tests.txt PR: MNG-1088 2005-10-06 07:10:49 +00:00
maven-core-it.bat o Changed the it scripts to remove the $MAVEN_OPTS from the verifier launch line, so that we can remotely debug an integration test execution (rather than getting stuck on the verifier execution itself) 2005-07-29 03:07:56 +00:00
maven-core-it.sh still allow debugging the verifier, and don't discard all MAVEN_OPTS (I need it to have my home directory set correctly!) 2005-07-30 02:13:16 +00:00

README.txt

-------------------------------------------------------------------------------
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.

it0001: Builds upon it0000: we add an application resource that is packaged
        up in the resultant JAR.

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.
       
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.

it0006: Integration test for the verifier plugin.

it0007: We specify a parent in the POM and make sure that it is downloaded as
        part of the process.        

it0008: Simple goal decoration where a plugin binds to a phase and the plugin must
        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".
        
it0009: Test plugin configuration and goal configuration that overrides what the
        mojo has specified.
        
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.
        # TODO: must correct the assumptions of this test
        
it0011: Test specification of dependency versions via <dependencyManagement/>.

it0012: Test simple POM interpolation

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.

it0014: Test POM configuration by settings the -source and -target for the
        compiler to 1.4

it0016: Test a WAR generation

it0017: Test an EJB generation

it0018: Ensure that managed dependencies for dependency POMs are calculated
        correctly when resolved. Removes commons-logging-1.0.3 and checks it is
        redownloaded.

it0019: Test that a version is managed by pluginManagement in the super POM

it0020: Test beanshell mojo support.

it0021: Test pom-level profile inclusion (this one is activated by system
        property).

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).

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.

it0026: Test merging of global- and user-level settings.xml files.

it0027: Test @execute with a custom lifecycle, including configuration

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.

it0029: Test for pluginManagement injection of plugin configuration.

it0030: Test for injection of dependencyManagement through parents of 
        dependency poms.

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.

it0032: Tests that a specified Maven version requirement that is lower doesn't cause any problems

it0033: Test an EAR generation

it0034: Test version range junit [3.7,) resolves to 3.8.1

it0035: Test artifact relocation.

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.

it0040: Test the use of a packaging from a plugin

it0041: Test the use of a new type from a plugin

it0042: Test that the reactor can establish the artifact location of known projects for dependencies

it0043: Test for repository inheritence - ensure using the same id overrides the defaults

it0044: Test --settings CLI option

it0045: Test non-reactor behavior when plugin declares "@requiresProject false"

it0046: Test fail-never reactor behavior. Forces an exception to be thrown in
        the first module, but checks that the second modules is built.

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.

it0048: Verify that default values for mojo parameters are working (indirectly, 
        by verifying that the Surefire mojo is functioning correctly).

it0049: Test parameter alias usage.

it0050: Test surefire inclusion/exclusions

it0051: Test source attachment when -DperformRelease=true is specified.

it0052: Test that source attachment doesn't take place when
        -DperformRelease=true is missing.

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...

it0054: Test resource filtering.

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.

it0057: Verify that scope == 'provided' dependencies are available to tests.

it0058: Verify that profiles from settings.xml do not pollute module lists
        across projects in a reactorized build.

it0059: Verify that maven-1 POMs will be ignored but not stop the resolution
        process.

it0060: Test aggregation of list configuration items when using
        'combine.children=append' attribute. Specifically, merge the list of
        excludes for the testCompile mojo.

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'.

it0062: Test that a deployment of a snapshot falls back to a non-snapshot repository if no snapshot repository is
        specified.

it0063: Test the use of a system scoped dependency to tools.jar.

it0064: Test the use of a mojo that uses setters instead of private fields
        for the population of configuration values.

it0065: Test that the basedir of the parent is set correctly.

it0066: Test that nonstandard POM files will be installed correctly.

it0067: Test activation of a profile from the command line.

it0068: Test repository accumulation.

it0069: Test offline mode.

it0070: Test a RAR generation.

it0071: Verifies that dotted property references work within plugin
        configurations.

it0072: Verifies that property references with dotted notation work within
        POM interpolation.

it0073: Tests context passing between mojos in the same plugin.

it0074: Test that plugin-level configuration instances are not nullified by
        execution-level configuration instances.

it0075: Verify that direct invocation of a mojo from the command line still
        results in the processing of modules included via profiles.

it0076: Test that plugins in pluginManagement aren't included in the build
        unless they are referenced by groupId/artifactId within the plugins
        section of a pom.

it0077: Test test jar attachment.

it0078: Test that configuration for maven-compiler-plugin is injected from
        PluginManagement section even when it's not explicitly defined in the
        plugins section.

it0079: Test that source attachments have the same build number as the main
        artifact when deployed.

it0080: Test that depending on a WAR doesn't also get its dependencies
        transitively.

it0081: Test per-plugin dependencies.

it0082: Test that the reactor can establish the artifact location of known projects for dependencies
        using process-sources to see that it works even when they aren't compiled

-------------------------------------------------------------------------------

- generated sources
- generated resources from sources
- generated resources from generated sources
- build that requires a plugin download
- transitive dependencies
- 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

- 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.
  
- project with a cyclic dependency

-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
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
-------------------------------------------------------------------------------
it1005: A build with two mojo java sources that declare the same goal.
-------------------------------------------------------------------------------
it1006: Tests collision on default execution id. Should throw an 
        IllegalStateException, since the model is incorrect.
-------------------------------------------------------------------------------
it1007: Should fail due to requiring a future version of Maven.
-------------------------------------------------------------------------------
it1008: Should fail due to requiring a version range for junit that doesn't exist
        in the repository. Currently succeeds (MNG-614)
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
it1012: Test that the DefaultLifecycleExecutor will throw an exception when
        encountering an unknown packaging.



-------------------------------------------------------------------------------
it1015: Test that expressions that self-reference within the POM result in an
        error during POM interpolation.
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
it1018: Test formatting of error caused by invalid profiles.xml syntax.
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
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. 

NOTE: Currently, there is no automatic verification process for these...
-------------------------------------------------------------------------------
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.

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.


it2002: Test the release plugin.

-------------------------------------------------------------------------------