Commit Graph

1611 Commits

Author SHA1 Message Date
Brett Leslie Porter 75499d7155 remove these, build works now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164150 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 23:52:57 +00:00
John Dennis Casey 92260f82ef Added support for running repoclean from outside the repoclean dir.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164125 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 21:18:39 +00:00
John Dennis Casey ba80b40d9b Fixed plus-to-minus formatting for pom translation, and for bridged pom file creation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164123 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 21:09:23 +00:00
John Dennis Casey 35cc18bfbd Fixed '+' to '-' conversion for file paths so it will work with both poms and artifacts.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164120 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 20:47:20 +00:00
John Dennis Casey a02dd8e9d9 Worked on MNG-309 and subtasks...
o Added digest creation/verification for POMs

o Added separate logging of kickouts and exclusions for ArtifactDiscoverer to keep it from polluting the repository.report.txt

o Added transactional behavior for each artifact conversion: if the artifact, its POM and all the myriad supporting files cannot be converted/created, then all files associated with that artifact are backed out of the target repo.

  NOTE: This WILL NOT happen if "--force" is used.

o Translating '+' characters to '-' in legacy artifact paths (not in v4 source repo paths, since we'll assume those are valid for use in m2). This is taking place inside the V3PomRewriter currently.

Validated all of this on localhost using a test repo. Next step is to validate on beaver with production source and test target repos, and fix anything that's outstanding (also add test cases to the test repo as needed).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164116 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 20:34:10 +00:00
Brett Leslie Porter 570d67e98c fix path to svn
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164090 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 17:28:26 +00:00
Brett Leslie Porter aafbd6b61c remove dependency on settings from the project builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164089 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 17:17:36 +00:00
Brett Leslie Porter be6703f6da disperse constants only used in one place
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164081 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 16:26:57 +00:00
Brett Leslie Porter bc738a21f4 move utils to plexus-utils
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164078 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 16:16:25 +00:00
Brett Leslie Porter 082bda52a0 ignore dud checksums... the repository ones are whacked
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164067 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 14:26:44 +00:00
Brett Leslie Porter 804e18cac0 improved error handling for failed downloads
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164065 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 14:17:14 +00:00
Brett Leslie Porter 6e310fbc3b fix email
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164062 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 14:00:51 +00:00
Brett Leslie Porter 95e462bfca ignores
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164061 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:52:39 +00:00
Brett Leslie Porter c7e407ba12 improve error handling for failed downloads
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164058 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:47:42 +00:00
Brett Leslie Porter a0b2d27b38 add comment for later
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164057 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:44:57 +00:00
Brett Leslie Porter b556c05cec switch to subversion
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164055 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:35:28 +00:00
Brett Leslie Porter 3aea101d3c turn on md5 checksum tests on download
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164054 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:19:29 +00:00
Brett Leslie Porter 26c968d770 upload checksums
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164029 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 10:40:58 +00:00
Brett Leslie Porter c435539656 improve download/upload monitors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164024 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 10:11:08 +00:00
Brett Leslie Porter 7c947bfd53 fix problems with subversion
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164005 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 05:10:25 +00:00
Brett Leslie Porter 125430b2f6 set a default path to java, for cron
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164002 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 04:47:54 +00:00
Brett Leslie Porter 40fbb1698d legacy repo in tests is friendlier to windows systems with path length restrictions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164001 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 04:46:22 +00:00
John Dennis Casey 65b542741b o Added --force CLI support
o Added blacklistedPatterns to configuration file, to enhance the exclusion filter during artifact discovery with a set of non-copy-able files.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163997 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 02:17:51 +00:00
Brett Leslie Porter cf1937a1f1 add maven-project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163996 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 01:10:44 +00:00
Brett Leslie Porter 48c5fccf3f Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163992 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 01:06:52 +00:00
Brett Leslie Porter 8e279f87e1 avoid NPE when there is no project file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163991 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 00:49:19 +00:00
John Dennis Casey 666c60dea6 o Fixed, pending changes to DefaultRepositoryLayout as outlined in MNG-321
PR: MNG-332


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163990 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 23:39:30 +00:00
John Dennis Casey 0e5b4e565c o Improved support for classifier parsing and added test artifact to the test repository for this.
o Fixed issue in createXXX(..) method for constructing an artifact with a classifier...it was not actually calling the constructor that passes in the classifier.

PR: MNG-312


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163989 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 23:06:04 +00:00
John Dennis Casey 84e67faf30 o Added support for weeding out potential artifacts that don't have an extension matching the '...s' pattern in the legacy layout (eg. things in '/jars/' that don't have a .jar extension).
o Added artifacts to my local testing repository (which I will be sync'ing with the one on beaver) to satisfy the dotted groupId, the no-extension test, the '.txt' extension test.

o not sure what to do with the last test-case in MNG-312, though, given that I thought we decided not to convert distributions, and the classifiers currently only happen in distros. Will take this discussion to jira, though.

PR: MNG-312


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163988 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 22:10:24 +00:00
John Dennis Casey 6003f258b3 o Fixed problem causing commons-logging-1.0.4 not to get copied over...
NOTE: There still may be a problem with invalid XML in the pom. There is a bad <resources/> specification in the build section that I had to remove.

PR: MNG-328


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163987 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 21:51:25 +00:00
Brett Leslie Porter 4b0f51b9a1 fix error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163986 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:52:32 +00:00
Brett Leslie Porter efebad61dc deprecate warName in favour of finalName, and add default excludes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163985 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:52:03 +00:00
Brett Leslie Porter a40f1eff93 artifact implements comparable
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163984 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:49:24 +00:00
Brett Leslie Porter ab2070d797 add deprecated parameter feature
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163983 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:49:01 +00:00
Brett Leslie Porter c1cea8cbb8 factor out project sorter, and use whole ID
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163982 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:48:11 +00:00
Brett Leslie Porter 06ebdedc0c PR: MNG-316
Submitted by:	Kenney Westerhof
Reviewed by:	Brett Porter
fix NPE when there is no default plugin configuration


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163981 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:46:27 +00:00
Brett Leslie Porter d23c299e0f correct problem where anything with a modified finalName was not installed/deployed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163980 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:44:36 +00:00
Brett Leslie Porter a75e7d2577 improved error handling and other clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163979 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:41:36 +00:00
Brett Leslie Porter 4fe1c64276 clean up exception handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163978 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 04:16:11 +00:00
Brett Leslie Porter ea9b59e3ea use latest container
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163977 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 02:13:25 +00:00
Brett Leslie Porter bc6f49bafd reinstate error handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163976 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 01:55:24 +00:00
John Dennis Casey 8d19eb5e90 o Added creation of SHA1 digests alongside MD5's
o Modified digest-file creation to be text files, not binaries.

PR: MNG-311, MNG-287


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163975 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 00:44:17 +00:00
John Dennis Casey d7e66db253 Implemented list items #2 and #3 from the main issue (scope from m1, and plugin entry translation in POMs). Tests included.
PR: MNG-309


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163974 13f79535-47bb-0310-9956-ffa450edef68
2005-04-19 20:05:15 +00:00
John Dennis Casey 33f0431b59 Commented out unnecessary try/catch to get the CI build running again.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163973 13f79535-47bb-0310-9956-ffa450edef68
2005-04-19 17:15:35 +00:00
Brett Leslie Porter d377256c93 update to new container
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163972 13f79535-47bb-0310-9956-ffa450edef68
2005-04-19 09:00:48 +00:00
Brett Leslie Porter 32c12bd7c2 start some wagon clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163971 13f79535-47bb-0310-9956-ffa450edef68
2005-04-19 02:46:08 +00:00
John Dennis Casey 9e512f8d03 posting an update that represents changes in the design for offline mode, back to being more similar to m1's concept of it.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163970 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 23:15:25 +00:00
John Dennis Casey 61406495be o Refactored the MavenSettings code into the settings.mdo/Settings class.
o Added code to cache the active proxy and profile inside the Settings instance for quicker lookup.

o Added a method to initialize a new active profile for a Settings instance in the event one didn't exist.

o Started adding offline mode. So far, I've implemented:

  - Warning when a mojo declares a requirement for connectivity, but we're offline.

  - INFO message stating when maven is running in offline mode.

  - Addition to the Profile class in o.a.m.settings package to allow specification of offline mode by declaring: <offline>true</offline>


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163969 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 21:50:55 +00:00
Brett Leslie Porter 72997ebd53 build an assembly that includes dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163968 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 07:09:16 +00:00
Brett Leslie Porter 30d097daaa remove half-done declaration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163967 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 07:08:21 +00:00