Commit Graph

79 Commits

Author SHA1 Message Date
Emmanuel Venisse 1d7750baa2 Move maven-ear-plugin to maven-plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209082 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 14:09:46 +00:00
Emmanuel Venisse 1b69341a19 Fix version check.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209076 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 13:49:35 +00:00
Emmanuel Venisse e57cac7fc9 Adding supports for encoding doctype/xschema declaration and the new provided scope.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209016 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 06:04:27 +00:00
Emmanuel Venisse a029d766ce Update all versions to beta-1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@202001 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 15:29:14 +00:00
John Dennis Casey e84dc8c753 Fixing reporting problem due to inlining the old per-artifact reports into the repository report. Turned a couple of ERROR's to WARNING's.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189788 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 18:47:37 +00:00
John Dennis Casey 8095007690 Fixing nested iterator confusion that was leading to NoSuchElementException
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189787 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 18:41:31 +00:00
John Dennis Casey d1e7f4d5ad Solving MRM-4. If the source pom doesn't exist, it'll check for the existence of the target pom before writing the skeleton.
It'll always try to verify/patch the MD5/SHA1 for the target pom.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189785 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 18:19:21 +00:00
John Dennis Casey 0db2b646d2 JIRA issues fixed:
MRM-1
MRM-7
MRM-3
MRM-5
o Pipelining all logging through a single Reporter now, to repository.report.txt
o Disabled WARNING reports by default, add 'reportWarnings=true' to config file to enable them.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189629 13f79535-47bb-0310-9956-ffa450edef68
2005-06-08 20:19:41 +00:00
Brett Leslie Porter 420d9a5fca remove old cvs ignore files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188697 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 05:24:51 +00:00
Brett Leslie Porter 8a69c2bdc0 PR: MNG-148
Submitted by: Stephane Nicoll
Reviewed by:  Brett Porter, Emmanuel Venisse
Implementation of an EAR plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171221 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 15:09:22 +00:00
John Dennis Casey 8833620278 o Added support to RewritePhase of repoclean to copy -SNAPSHOT.version.txt and -RELEASE.version.txt (or whatever it's called) using ArtifactMetadata, where these files exist in the source repo.
o Reformatted mojo annotation doco to tabular format.
o Committed a start to the plugin-overview (developer's PoV on this)...it's just an outline with an incomplete introduction for now, but it's still a start.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169873 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 18:59:54 +00:00
Brett Leslie Porter bc95d8eb35 move reports to top level
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169841 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 16:22:39 +00:00
Brett Leslie Porter 0c6a30ab10 unifyf generated site directory, add default site descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169776 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 06:01:56 +00:00
Emmanuel Venisse 748d500ab3 Fix copyResources calls
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169531 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 22:56:03 +00:00
Brett Leslie Porter d47f6c7dd6 move the Log interface to o.a.m.plugin.logging in maven-plugin-api, breaking the dependency on maven-monitor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169431 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 07:39:33 +00:00
Emmanuel Venisse 7040851876 Improve rendering.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169385 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 00:20:29 +00:00
Emmanuel Venisse eda19653d8 Fix NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169384 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 23:55:48 +00:00
John Dennis Casey 7eda955b1d o Cleaned up a couple of things in repoclean that broke with the last update.
o Added concept of ErrorDiagnoser to help interpret errors and provide user feedback
o Added PluginParameterException to provide richer information than simply PluginConfigurationException (it's derived from PluginConfigurationException)
o Added implementations of ErrorDiagnoser for artifact resolution and plugin configuration handling.
o Modified DefaultMaven's logFailure(..) method to use errorDiagnosers Map (injected via Plexus)

I approached the plugin parameter expression/name feedback in this way, as it seems like a general pattern for interpreting errors without embedding this logic deep within the app itself. Feel free to rollback if this causes issues.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169379 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 23:30:01 +00:00
Emmanuel Venisse f3fa32eebe o Fix html generation
o Categorize reports in "Project Info" and "Project Reports"
o Generate overview page for "Project Info" and "Project Reports" pages

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169372 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 22:47:34 +00:00
John Dennis Casey 17c195e01d o Fixed NPE in LegacyArtifactDiscoverer when the resulting Artifact from the buildArtifact() method is null (was an errant debug statement)
o Removed requirement and attempt at copying wagon-http-lightweight when ./install.sh runs.
o Cleaned up the output from ./repoclean.sh to remove a couple debug lines
o Fixed components.xml to comply with the new component refactorings (simplified RepositoryCleaner using two new processing phases: DiscoveryPhase and RewritePhase, with NO common interface)

We should be ready to process mixed bags of m1 and m2 poms in the same source repo now!

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169330 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 15:36:32 +00:00
Emmanuel Venisse 71bb78fb08 Update to new reporting-api
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169079 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 13:42:42 +00:00
Emmanuel Venisse dd5f4fed12 Update to new reporting-api
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169078 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 13:30:01 +00:00
John Dennis Casey 4e19394875 Adding the phases as promised.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169042 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 05:45:57 +00:00
John Dennis Casey 099c5383c2 o Refactored RepositoryCleaner to use DiscoveryPhase and RewritePhase.
o Added the ability to read a pom and figure out whether it's a v4 pom (based on presence of modelVersion)
o Added a more accurate counter for artifacts that are actually rewritten successfully, rather than just the ones that enter the rewriting process.
o Probably need to add the phases still...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169041 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 05:45:20 +00:00
Emmanuel Venisse ecc12bd005 o Use sink for generate the report
o Define some default properties that use by checkstyle config file

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168671 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 22:09:58 +00:00
John Dennis Casey 6dbf18fceb Fixed handling of <id>ant+optional</id> in pom-level info as well as dependencies.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168631 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 17:41:40 +00:00
Brett Leslie Porter 3e936447a5 upgrade to PMD 3.0, improve error handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168513 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 03:57:22 +00:00
Emmanuel Venisse 77b905b112 Initial version of Checkstyle Plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168490 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 01:44:15 +00:00
Emmanuel Venisse 404a07b391 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168477 13f79535-47bb-0310-9956-ffa450edef68 2005-05-06 00:25:43 +00:00
Emmanuel Venisse aca1a272b8 Rename getFiles method to getFilesToProcess
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168475 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:16:12 +00:00
Emmanuel Venisse e194597243 Remove unused file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168473 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 23:51:46 +00:00
Emmanuel Venisse 079c0d7f50 Initial PMD plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168471 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 23:49:06 +00:00
Emmanuel Venisse 21592f058c o Add Mailing List Report
o Add a simple report generator mojo for dependencies and mailing list

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168217 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 00:17:49 +00:00
John Dennis Casey 1755900b98 Cleaned up the sysout stuff to make the logs quieter when things are basically alright.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168062 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 03:14:35 +00:00
Emmanuel Venisse e9a7f3ce85 Initial version of site generation with repots.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168031 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 00:47:01 +00:00
Emmanuel Venisse 0cae92051b Add Dependencies Report
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165233 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:44:59 +00:00
John Dennis Casey e7d6dcf398 Fixed email problem (misuse of API); fixed digest generation and handling; updated the plexus-container-default dependency version to 1.0-alpha-3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164943 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 04:00:29 +00:00
John Dennis Casey 6e51d420ed o fixed conditions under which error emails should be sent
o fixed emailing to contain a link to the report
o reformatted using IDEA
o removed directory tracking from transactions, b/c undo order is too tricky for now
o adjusted code to maven-artifact (post maven-project creation) changes.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164705 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 01:32:07 +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 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
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
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
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