Commit Graph

75 Commits

Author SHA1 Message Date
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
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
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 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
John Dennis Casey 5b5a124caa o Updated the repo layout classes to use direct string concatenation rather than StringUtils.replace() which is not useful because the layout is non-varying.
o Repoclean still not working with the new artifact/artifactmetadata stuff...the above modifications to the repo layout classes was primarily meant to improve performance when using repoclean.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163736 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 02:45:05 +00:00
Brett Leslie Porter 89423d23de fix for windows, add profiling if needed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163735 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 01:01:20 +00:00
Brett Leslie Porter 3638539f6f fix for cygwin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163734 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 00:35:51 +00:00
Brett Leslie Porter 32aef3b0d7 fix error in cygwin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163733 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 00:32:07 +00:00
John Dennis Casey 2eed725153 o Reworked the artifact parsing code for the legacy artifact discoverer.
o Getting OutOfMemoryError when running against ibiblio-v1.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163732 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 00:24:45 +00:00
John Dennis Casey 1b4723f972 o Added more filters on the excludes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163671 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 06:58:47 +00:00
Brett Leslie Porter 14bb2c805a change the maven group ID
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163670 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 06:52:55 +00:00
John Dennis Casey 80880d071e o Fixed a configuration issue for the DefaultRepositoryLayout in components.xml...it needed a requirement on the ArtifactHandlerManager.
o Fixed a formatting issue for the layout in DefaultRepositoryLayout relating to groupId's.
o Revamped the repoclean tool to use an Artifact-centric approach to converting, cleaning, and reporting on repositories.
o Added the ability for repoclean to report on the health of an existing v3 or v4 repository, using a DefaultArtifactDiscoverer (Default* being the prefix given to the new repo layout going forward) and a V4PomRewriter implementation.
o Tested repoclean by converting my local m1 repository to a m2 repository.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163669 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 04:53:30 +00:00
Carlos Sanchez Gonzalez 6e21de0ed2 Moved to sandbox
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163620 13f79535-47bb-0310-9956-ffa450edef68
2005-03-20 17:03:53 +00:00
John Dennis Casey fcb311e99c o Changed the package name of the POM translator from *.pom to *.translate
o Changed the type of notifier created by the nagEmailAddress from 'email' to 'mail' following brett's changes to the maven-components pom.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163614 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 17:06:26 +00:00
John Dennis Casey a8eedaa06a o Adding initial design document for repoclean.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163604 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 00:28:31 +00:00
John Dennis Casey a436d8a8b6 o Adding new repository cleanup tool which does:
- artifact-to-POM correlation
 - artifact-to-MD5 correlation and synchronization
 - v3-to-v4 POM syntax conversion
 - v4 model validation (minimum required)
 - v4 model patching from POM path in repo (reconstructs some missing info from loss of <extends/>).

o This application has been tested and should be ready to run. Will try to arrange test with a copy of the ibiblio-v1 repo on beaver.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163602 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 22:56:42 +00:00
Brett Leslie Porter 5f424a5ac0 multi-module support
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163528 13f79535-47bb-0310-9956-ffa450edef68
2005-03-11 01:06:48 +00:00
Brett Leslie Porter cc95065bb7 fox reet ilimint
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163526 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 21:57:31 +00:00
Brett Leslie Porter 5d79596fd7 fix typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163524 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 18:36:35 +00:00
Brett Leslie Porter a44b6f9726 flip pom format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163511 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 01:35:25 +00:00
Brett Leslie Porter 758a822cc2 resources changes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163509 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 21:05:50 +00:00
Brett Leslie Porter a43ec059a4 typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163508 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 06:54:32 +00:00
Brett Leslie Porter 262e7085a5 more fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163507 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 06:53:46 +00:00
Brett Leslie Porter d23845bbcb fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163506 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 06:52:23 +00:00
Brett Leslie Porter a40e474437 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163503 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 06:49:56 +00:00