Commit Graph

1487 Commits

Author SHA1 Message Date
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
Brett Leslie Porter b6b3dafd00 add ability to build a JAR with its dependencies unpacked inside.
Currently ignores META-INF in dependencies, though should probably merge things like components.xml


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163966 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 07:07:58 +00:00
Brett Leslie Porter 335af74bb5 add missing delegation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163965 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 04:27:02 +00:00
Brett Leslie Porter 319c135c45 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163962 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 04:12:34 +00:00
Emmanuel Venisse 81ac2805a4 Add my name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163961 13f79535-47bb-0310-9956-ffa450edef68
2005-04-17 12:35:15 +00:00
Carlos Sanchez Gonzalez 6c32a0653c Fix issue when JAVA_HOME contains spaces
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163960 13f79535-47bb-0310-9956-ffa450edef68
2005-04-16 04:16:29 +00:00
Brett Leslie Porter 67f2147deb shouldn't check timestamp at all
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163959 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 12:44:05 +00:00
Brett Leslie Porter e2c9a495e7 be more forceful on the no-cache
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163958 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 12:35:21 +00:00
Brett Leslie Porter d3c5de773f fix incorrect table
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163957 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 12:23:27 +00:00
Brett Leslie Porter 8f0d5c7ac6 never use cache
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163956 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 12:06:11 +00:00
Brett Leslie Porter 6055b99a56 documentation enhancements, and added transitive dependencies document
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163955 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 11:08:16 +00:00
Brett Leslie Porter 2a143e22e6 update wagon
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163954 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 08:33:19 +00:00
Brett Leslie Porter e054a2fa5a resolve outstanding issues with scoping regarding tests. Algorithm to be documented in user's guide.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163953 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 07:31:40 +00:00
Brett Leslie Porter 912898c716 PR: MNG-285
fix bug in plugin management inheritence


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163952 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 06:16:47 +00:00
Brett Leslie Porter 8ace38fbce PR: MNG-281
show id if name is null in reactor


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163951 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 05:46:13 +00:00
Brett Leslie Porter 91467d5de3 properly test basedir alignment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163950 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 05:29:44 +00:00
Brett Leslie Porter f4bf6c145d allow the expression evaluator to align strings to a base directory, for the purposes of the file converter
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163949 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 05:29:00 +00:00
Brett Leslie Porter 1166e16562 integration test fix, mmld temporarily out of order
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163948 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 05:00:05 +00:00
Brett Leslie Porter b2e4433615 utilise the container for populating all mojo configuration, including expressions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163947 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 04:52:31 +00:00
Brett Leslie Porter e282435cb9 revert version of plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163946 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 00:54:42 +00:00
Carlos Sanchez Gonzalez e2f08f52db Updated opensymphony info
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163945 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 16:27:25 +00:00
Brett Leslie Porter 6fc674ab8f add required docs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163944 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 06:28:59 +00:00
Brett Leslie Porter fe377f236f remove unused classes, identical to others in configurator
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163943 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 06:28:12 +00:00
Brett Leslie Porter 378cc229a3 convert #component expressions to <requirements/>
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163942 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 03:27:35 +00:00
John Dennis Casey f0e391dba7 Adding maven-plugin back to the exclude filter for artifact download temporarily, until the plugins are fixed...feel free to roll this back if it's a horrible idea.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163941 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 18:44:13 +00:00