Commit Graph

1376 Commits

Author SHA1 Message Date
Brett Leslie Porter f8ca1e2c6d fix group id of parent pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163790 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 16:44:29 +00:00
Brett Leslie Porter a91be5bc51 use new name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163789 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 16:30:55 +00:00
Brett Leslie Porter 9d63d6a06d better name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163788 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 16:27:27 +00:00
Brett Leslie Porter 8e1d7e3885 quick way to share a snapshot version per JVM instance
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163787 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 14:17:55 +00:00
Brett Leslie Porter b979b19957 fix bad quoting introduced
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163786 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 09:33:12 +00:00
Trygve Laugstol 7f02f62da8 o Java should be exec'd.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163785 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:45:27 +00:00
Trygve Laugstol 7ff6992a04 o Adding some modules.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163784 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:43:47 +00:00
Brett Leslie Porter b3b831ec31 gone back to test dependencies not being transitive at all, as reversed in rev1.3 of ProjectClasspathTest. This enables the execution of "m2 test" not to pull in all and sundry test dependencies, eg from wagon. Find a valid use case before re-instating, and look into alternatives for the download issues.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163783 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:43:32 +00:00
Trygve Laugstol f3d6a62892 o Adding CVS ignores.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163782 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:42:01 +00:00
Emmanuel Venisse a9a41aaad4 Fix type for MavenProject
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163781 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:20:28 +00:00
Brett Leslie Porter 9d6fad725a change @requiresDependencyResolution to take a scope (default is "runtime" if no scope specified, none if tag not specified at all).
This still means ALL tests get the test dependencies of their compile time dependencies. Check if there is really a valid use case for that.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163780 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:17:28 +00:00
Brett Leslie Porter ddeee6f1d4 fix bug - if timestamp is null, then the local metadata is NOT considered newer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163779 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 07:01:06 +00:00
Brett Leslie Porter 29d70b8f7d work with spaces in path on Windows NT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163778 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 06:48:51 +00:00
Brett Leslie Porter 30f07014a6 work without M2_HOME
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163777 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 06:48:46 +00:00
Brett Leslie Porter 2df5479951 better dep handling in mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163776 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 05:28:26 +00:00
Brett Leslie Porter 935cda15da clean up dependencies.
Still need to clean up ~/maven2/lib and some large dependencies from marmalade that
shouldn't be needed in general - but down to about a 3Mb repository.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163775 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 04:11:03 +00:00
John Dennis Casey 26ec2d757b Clean-ups. Reporters only write on error/warn...since info no longer exists, and file opening is lazy now.
Also, cleaner now checks to make sure the target file is missing and/or out of date before processing the source file. This should allow us to avoid reprocessing the whole source repo every time.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163774 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 02:47:43 +00:00
Brett Leslie Porter a90fdae557 use a local snapshot if its file timestamp is newer than the remote timestamp inside the version file. This opens us back up to clock skew again, but should be preferential to local snapshots and less confusing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163773 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 01:58:33 +00:00
John Dennis Casey fcb7a1c14b o Simplified the ResourcesMojo to eliminate the need for a ResourceEntry class, which is easily replaced by usage of a TreeMap (avoid the NoClassDefFoundError from before SEE MNG-243)
o Changed the references to repo1.maven.org for central repository to repo1.maven.org/maven2 in preparation for switchover to ibiblio.org

    This will allow us to transparently switch between redirects and CNAME changes for referencing ibiblio.org, since ibiblio will not allow a
    vhost for m2 or a rewrite rule...switching the URL for the repo will allow changes to the CNAME (satisfy ibiblio's pathing) while at the same
    time allowing the use of redirects (redirect can be at /maven2/index.html rather than /index.html, f.e.).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163772 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 21:32:53 +00:00
John Dennis Casey 4862d0cf8f Added waitFor() call so avoid a race condition between chmod'ing the m2 script and trying to use it. Should impose little or no performance penalty on the bootstrap process.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163771 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 21:26:20 +00:00
John Dennis Casey 1940becc59 o Adding checklist for deploying the repository layout/pom style changes in advance of a m2 alpha-1 rollout.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163770 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 20:45:24 +00:00
Brett Leslie Porter 5984f13c02 handle spaces in $M2_HOME
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163769 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 16:16:34 +00:00
Brett Leslie Porter ba288cee61 use a regex to parse for more consistency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163768 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 16:02:48 +00:00
Brett Leslie Porter d60fd2d736 make m2 script more like Maven 1.x which is better tested
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163767 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 15:37:26 +00:00
Brett Leslie Porter 91e4b90a04 add PATH info
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163766 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 15:18:48 +00:00
Brett Leslie Porter 3c6894e59c oops - don't grab those deps!
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163765 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 15:02:03 +00:00
Brett Leslie Porter 2e3e41fddf transitive deps in mboot. Will now proceed to trim up the POMs. Still need to trim ~/maven2/lib also.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163764 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 14:35:06 +00:00
Emmanuel Venisse 9ccbd046a7 Little fix for run it tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163763 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 13:15:47 +00:00
Emmanuel Venisse 8be3d2473b Fix name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163762 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 12:41:44 +00:00
Brett Leslie Porter 1398ab68c4 make m2 use the local repository in the new layout
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163761 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:47:21 +00:00
Brett Leslie Porter d4e2de64cf don't attempt to download m2 dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163760 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:35:40 +00:00
Brett Leslie Porter 30c4e8e5da fix plexus version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163759 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:32:44 +00:00
Brett Leslie Porter b48dce7689 clean up integration tests, make them repository independent
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163758 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:15:04 +00:00
Brett Leslie Porter 73494eb08e fix name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163757 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:04:29 +00:00
Brett Leslie Porter 15dc3811c8 surefire issues
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163756 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 05:41:57 +00:00
Brett Leslie Porter 54a8cea863 surefire issues
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163755 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 05:31:29 +00:00
Brett Leslie Porter bab8d3fd90 fix issues found with a clean repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163754 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 05:23:01 +00:00
Brett Leslie Porter 27363f855e isolate path generation in Repository class
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163753 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 05:08:45 +00:00
Brett Leslie Porter a6bc152aca missed from commit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163752 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 04:09:55 +00:00
Brett Leslie Porter baca1f7841 make surefire and rest of m2 independent of repo layout
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163751 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 03:48:01 +00:00
John Dennis Casey 0b06278758 o Refined DirectoryScanner excludes
o Fixed some problems with version parsing from legacy repo searches.
o Added extension() method to artifact handlers used for conversions only
o Changed reports-directory layout to be less flat (faster to load on web browser, etc.)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163750 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 03:43:11 +00:00
Brett Leslie Porter 11d160b52d use surefire pom for surefire dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163749 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 02:57:27 +00:00
Brett Leslie Porter f1bfd0c18b read plugin deps from pluggy pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163748 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 02:31:56 +00:00
Brett Leslie Porter db01ac8534 handle scope
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163747 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 02:01:49 +00:00
Brett Leslie Porter a5c95ef10e mboot fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163746 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 01:40:16 +00:00
Brett Leslie Porter f5270e45f7 refactor mboot
- model reading separated
- define mboot dependencies in its own POM


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163745 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 01:36:58 +00:00
Brett Leslie Porter 0cd1aec3ef update to releases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163744 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 00:12:56 +00:00
John Dennis Casey dc92832ad2 o Fixed bash scripts (cygwin option was being tested incorrectly, and resulting in no such file: cygpath)
o Changed POM handling to use ArtifactMetadata API rather than direct Artifact construction for POMs
o Streamlined ArtifactDigestor to avoid use of byte arrays for transfer between methods (resulted in a bit of cut-and-paste code, but should run better)
o Pegged OutOfMemoryError to the ArtifactDigestVerifier/ArtifactDigestor combo (motivated the previous change)
o Cleaned up artifact source-file checking before creating any of the target directory structures
o Maybe works, maybe not...will resume testing tomorrow or the next day


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163743 13f79535-47bb-0310-9956-ffa450edef68
2005-04-02 02:17:19 +00:00
Brett Leslie Porter 97eb92041d treat empty expressions as non-existant
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163742 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 16:14:30 +00:00
Brett Leslie Porter 49593155d0 update poms for releases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163741 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 16:03:43 +00:00