maven/maven-core-it
Jason van Zyl 129fea9424 o adding IT it0002
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@465772 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 20:36:28 +00:00
..
it0000 o adding IT it0000 2006-10-19 20:36:22 +00:00
it0001 o adding IT it0001 2006-10-19 20:36:25 +00:00
it0002 o adding IT it0002 2006-10-19 20:36:28 +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 Using parent pom with packaging == pom. 2005-11-17 19:28:49 +00:00
it0008 update hooks 2006-05-30 23:50:09 +00:00
it0009 update hooks 2006-05-30 23:50:09 +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 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +00:00
it0013 Resolving: MNG-449, MNG-832 2005-10-04 04:19:40 +00:00
it0014
it0016 o using javax.servlet 2005-10-29 01:22:08 +00:00
it0017 reformat 2005-07-22 13:52:21 +00:00
it0018 Changed to reference servletapi artifacts that are in the repository (2.3), or exclude servlet-api-2.4.* 2005-10-28 20:18:46 +00:00
it0019 remove old cvs ignore files 2005-06-07 05:24:51 +00:00
it0020 add dep on plugins until backwards compatibility is restored 2005-10-19 05:36:07 +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 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +00:00
it0023 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +00:00
it0024 fix incorrect test (execution cannot affect something already bound by packaging) 2005-06-18 16:01:48 +00:00
it0025 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +00:00
it0026 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +00:00
it0027 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +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 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +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 PR: MNG-1233 2005-10-19 03:55:43 +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 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +00:00
it0041 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +00:00
it0042 Changed the test plugin's artifactId to be something unique; 2006-10-12 13:41:43 +00:00
it0043 [MNG-2167] plugin has been renamed 2006-03-29 01:17:15 +00:00
it0044 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +00:00
it0045 update hooks 2006-05-30 23:50:09 +00:00
it0046 update hooks 2006-05-30 23:50:09 +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 hooks 2006-05-30 23:50:09 +00:00
it0050 it0050: fixed expected results and adding it to integration-tests (again). 2005-08-17 21:33:02 +00:00
it0051 Resolving: MNG-449, MNG-152, MNG-1090, MNG-1089, MNG-1122 2005-10-11 07:35:33 +00:00
it0052 Resolving: MNG-449, MNG-152, MNG-1090, MNG-1089, MNG-1122 2005-10-11 07:35:33 +00:00
it0053 Resolving: MNG-449, MNG-152, MNG-1090, MNG-1089, MNG-1122 2005-10-11 07:35:33 +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 remove tests that require junit - no junit in pom 2006-03-04 15:52:48 +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 update hooks 2006-05-30 23:50:09 +00:00
it0063 Use com.sun for jdk tools groupId 2005-11-30 20:34:10 +00:00
it0064 update hooks 2006-05-30 23:50:09 +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 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07: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 update hooks 2006-05-30 23:50:09 +00:00
it0072 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +00:00
it0073 update hooks 2006-05-30 23:50:09 +00:00
it0074 Create artifact directory as the Get task doesn't create them 2006-10-11 17:20:57 +00:00
it0075 [MNG-2167] plugin has been renamed 2006-03-29 01:17:15 +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 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +00:00
it0083 PR: MNG-1233 2005-10-19 03:55:43 +00:00
it0084 fix incorrect test: deps at same level are indeterminate. Put desired version at top level. 2005-10-23 08:33:52 +00:00
it0085 Adding test case for preserving system scope on transitively resolved deps. 2005-11-04 01:39:23 +00:00
it0086 update hooks 2006-05-30 23:50:09 +00:00
it0087 update hooks 2006-05-30 23:50:09 +00:00
it0088 no need for a snapshot of the plugin 2006-08-01 05:25:34 +00:00
it0089 update hooks 2006-05-30 23:50:09 +00:00
it0090 eliminate snapshots.maven.codehaus.org 2006-05-29 07:07:08 +00:00
it0091 o adding some support files to test the regression we found the other day 2006-04-15 15:56:31 +00:00
it0092 [MNG-1908] verify that snapshots can be downloaded even without metadata or timestamping 2006-02-07 03:16:14 +00:00
it0094 [MNG-1898] improve the diagnostics and switch on it0094 2006-02-21 11:25:51 +00:00
it0095 (Merged from 384102.) Fixing site URL calculation to disregard child module path adjustment. Second attempt. 2006-03-08 03:28:38 +00:00
it0096 add missing pom 2006-03-30 23:20:23 +00:00
it0097 Added a second structure, testing the other 2006-03-03 17:48:26 +00:00
it0098 Merging from 2.0.x branch, revIds: 2006-04-05 17:43:35 +00:00
it0099 (Merged from 384104.) [MNG-2130] Re-adding the cache check for parent POMs in assembleLineage(..) when building in a multimodule scenario (if they're part of the same build, but not yet in the local repo) before checking the parent's relativePath value or hitting the repository system to look for them. 2006-03-08 03:29:41 +00:00
it0100 (Merged from 384264.) [MNG-2124] Fixed interpolator to call the ReflectionValueExtractor method that prevents trimming the first expression token, since this is done in the interpolator itself. I'm still investigating whether this is going to break realignment of File instances to basedir during plugin parameter injection, but I've had to adjust it0088, since it is not handling project.build.directory as a File, but as a String. 2006-03-08 17:04:47 +00:00
it0101 (Merged from 384319.) [MNG-2052] Verify that fix for MNG-2124 also fixed the availability of profile-injected properties as sources for interpolating systemPath values in dependencies. 2006-03-08 20:30:14 +00:00
it0102 (Merged from 384847.) [MNG-2136] Modifying <activeByDefault/> processing to only use profiles embedded in the POM as a basis for computing whether or not to activate. 2006-03-10 17:00:30 +00:00
it0103 Merging from 2.0.x branch, revIds: 2006-04-05 17:43:35 +00:00
it0104 Merging from 2.0.x branch, revIds: 2006-04-05 17:43:35 +00:00
it0105 avoid path fragility 2006-06-13 15:34:19 +00:00
it0106 [MNG-2318] When a project has modules and its parent is not preinstalled the build fails 2006-05-24 05:23:18 +00:00
it0107 add plugin snapshot repository to find the plugin when the test is enabled 2006-06-28 15:20:57 +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
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 update hooks 2006-05-30 23:50:09 +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 update hooks 2006-05-30 23:50:09 +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
it1019 rename itest - it is meant to fail and these are in the 1xxx series 2006-02-21 05:48:51 +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 Upgrade dependencies 2006-07-19 11:19:55 +00:00
it2003 Adding test case for MNG-1424. 2005-11-14 23:04:56 +00:00
README.txt o putting the description of active ITs in a single file and modifying Dan's perl script to use that 2006-10-12 16:28:11 +00:00
integration-tests-descriptions.txt o putting the description of active ITs in a single file and modifying Dan's perl script to use that 2006-10-12 16:28:11 +00:00
integration-tests.txt o 42,81,96,97 don't actually work 2006-10-12 15:51:44 +00:00
maven-core-it.bat [MNG-1927] This adds the test mojos required to fix ${pom.build.*} expansion to full paths, the problem was the 2006-01-11 19:36:37 +00:00
maven-core-it.sh fix export of test envar 2006-01-11 20:17:10 +00:00

README.txt

Notes:
- today, 3 sets of integration tests, categorized by their ids (it0xxx, it1xxx, it2xxx). 
  see below for what these groups represent
- creating a new test:
 - you can add mojos to the integration-tests plugins/maven-core-it-plugin
 - add log.txt and target to your it test svn ignore list


Format of tests:
-------------------------------------------------------------------------------

Any Maven project plus the following optional files

- goals.txt goals to run

- expected-results.txt path of files expected after build, use "!" as first char to mark it as not expected

Examples:
target/maven-core-it0003-1.0.jar
${artifact:org.apache.maven:maven-core-it0003:1.0:jar}
!target/maven-core-it0016-1.0/WEB-INF/lib/servletapi-2.4-20040521.jar
target/maven-core-it0057-1.0.jar!/it0001.properties

This means that
we expect target/maven-core-it0003-1.0.jar
we expect an artifact in the local repo under org.apache.maven groupId, maven-core-it0003 artifactId, 1.0 version and type jar
we don't expect target/maven-core-it0016-1.0/WEB-INF/lib/servletapi-2.4-20040521.jar
we don't expect it0001.properties inside target/maven-core-it0057-1.0.jar


- prebuild-hook.txt comands to run before the invocation of mvn

Examples:
rm ${artifact:org.apache.maven.plugins:maven-core-it-plugin:1.0:maven-plugin}
rmdir ${basedir}/test project

- cli-options.txt options used in mvn command line

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

- 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.
-------------------------------------------------------------------------------
it1019: A test that ensures that an exception is thrown when two artifacts
        with the same id are present in the reactor.
-------------------------------------------------------------------------------


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

it2003: Test that versions specified in pluginManagement are used when plugins
        are resolved as direct command-line goals, or as implied lifecycle
        bindings.

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