Commit Graph

274 Commits

Author SHA1 Message Date
Brett Leslie Porter 78d46ab057 fix broken link
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191809 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 11:47:44 +00:00
John Dennis Casey bea9eca2f6 Resolving issue: MNG-493
o Changed getExecutionsAsMap() in Plugin (within maven.mdo) to throw an IllegalStateException if two PluginExecutions are detected with the same id. This method should always be called during inheritance assembly...

o Changed PluginExecution's id field to have a defaultValue of 'default' within maven.mdo.

NOTE: It may be necessary to double-check the id-collision within MavenProjectBuilder, in case there is no inheritance of plugins...I'll add this, and follow this commit momentarily.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191620 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 03:57:17 +00:00
John Dennis Casey fda77afb12 Resolving issue: MNG-339
o Added checksumPolicy to artifact repository construction, which meant changing all the places where the factory was called.

o Added two command-line switches (-C=strict-checksum-checking, -c=lax-checksum-checking, or warning)

o Added checksum policy to all repository definitions (profiles.mdo, settings.mdo, maven.mdo)

o Changed the maven-artifact-ant stuff to use a Repository definition with checksumPolicy added to it

NOTE: I just realized that I haven't touched the inheritance/conversion of repository stuff from profiles/settings.xml to the model. I'll do this, and commit the additional changes.

Currently, the default checksum policy is to warn, since there are still bad checksums out there that prevent bootstrapping. Once we chase these down, we can change to default-strict checking. When verifying checksums, SHA-1 is attempted first, with MD5 acting as a backup verification method. If the checksum verification fails legitimately (not related to the process of retrieving/reading the checksum file), then the verification process is repeated ONCE ONLY.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191536 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 18:53:53 +00:00
Brett Leslie Porter 53820cd3cb update to use executions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191381 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 03:18:43 +00:00
Brett Leslie Porter a9f174c834 Clean up of the lifecycle executor, simplify configuration and push back into the plugin manager.
This fixed a couple of bugs along the way.

One change that this has brought to bear from the document is you now must specify a goal for it to be bound to the LC
(see it0008)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191285 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 13:01:26 +00:00
John Dennis Casey fdfb9d5a2d Changing <reporter/> to <plugin/> in the reporting section.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191266 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 04:23:20 +00:00
John Dennis Casey 60750dede2 Working on issue: MNG-469
o Changed <reports/> in the Model to <reporting/>, to accommodate the <reports/> inside of <reportSet/>.

o Changed the report-plugin class <plugins/> inside of <report[ing]/> to <reporters/>, which means using a new class called Reporter (this is meant to be a Plugin-like model for reports, with reportSets rather than executions...)

o Changed the MavenProject to reflect these two model changes

o Added support to the inheritance assembler to perform deep inheritance of the reporting model (complete with calculations based on the <inherit/> attributes on Reporter and ReportSet).

o Updated DoxiaMojo, Pom, and DefaultPluginVersionManager to reflect the new model classes and MavenProject methods.

This is only round one of the changes for this issue. The next step is to start binding report configuration to the plugin manager via the lifecycle executor (it will traverse the reporting section, and verifyPlugin() to enable direct calls to the report's mojo).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191239 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 00:43:00 +00:00
Emmanuel Venisse 4aeca8e8a9 Add TODO for address taf in notifiers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190907 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 13:12:38 +00:00
John Dennis Casey 1fc7419f03 o Added <properties/> for profiles configured in the pom.xml
o Split ModelNormalizationUtils into two utility classes in the maven-profile and maven-settings projects, to be used for converting Profile instances from the settings.xml and profiles.xml into maven-model instances.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190344 13f79535-47bb-0310-9956-ffa450edef68
2005-06-13 04:21:27 +00:00
John Dennis Casey d2e1f3c975 o Adding support for <executions/>, which means multiple runs of the same goal/set-of-goals with different configs.
o Adding @phase declarations for those mojos that seem to be part of the main build, just for completeness
o Added two ITs, to test that <executions/> doesn't mess up the normal operation, and to test multi-execution for a goal.

Should resolve: MNG-172.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190335 13f79535-47bb-0310-9956-ffa450edef68
2005-06-13 02:47:57 +00:00
John Dennis Casey 8a257be6fc Fixed problems with merging profile-defined properties into the project, and fixed the ITs testing profile definitions in the process.
This should finally resolve MNG-421


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189768 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 15:53:31 +00:00
John Dennis Casey 30b1434723 Resolving: MNG-421
o External profiles (from settings.xml, profiles.xml) are now available before the main MavenProject is constructed, which allows repositories defined in external profiles to be used to resolve project parents and dependencies.

NOTE: I need to double-check whether the profile-defined repos are actually used to resolve the parent project(s)...there may be another commit following on the heels of this one.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189667 13f79535-47bb-0310-9956-ffa450edef68
2005-06-08 23:34:35 +00:00
John Dennis Casey 921d4ced59 o Started maven-projecthelp-plugin to help with build analysis (this helped me to visualize profile stuff)
current goals:
     projecthelp:active-profiles
     projecthelp:effective-pom

o Added source attribute to the Profile model class in maven-model, along with code in the normalization utilities (converters from profiles.xml and settings.xml models to maven-model instances) to identify the source of a particular profile.

o Added a activeProfiles cache of the Profiles in effect for the current project, on the MavenProject class



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189612 13f79535-47bb-0310-9956-ffa450edef68
2005-06-08 17:54:11 +00:00
Brett Leslie Porter b1ed3d90a6 update modello plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189526 13f79535-47bb-0310-9956-ffa450edef68
2005-06-08 05:22:30 +00:00
John Dennis Casey a58b76e2e4 Adding profiles.xml and settings.xml support for profiles, along with integration tests for each.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189510 13f79535-47bb-0310-9956-ffa450edef68
2005-06-08 03:27:43 +00:00
John Dennis Casey 29878afcc6 o pom-level profiles are working now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189464 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 22:36:44 +00:00
Brett Leslie Porter d6d65fc75a add quick support for exclusions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188779 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 14:22:38 +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 63ee875b13 improved descriptions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@180238 13f79535-47bb-0310-9956-ffa450edef68
2005-06-06 06:18:45 +00:00
Brett Leslie Porter 57642d207a forgot CDATA
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179699 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 02:24:03 +00:00
Brett Leslie Porter 1a962903da add a link to the better description
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179692 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 01:18:35 +00:00
Brett Leslie Porter 83b6e17c2d cut release
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179552 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 07:53:09 +00:00
Brett Leslie Porter 347d361a77 generate both so it can be used in maven 1.0 as well
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179541 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 07:17:52 +00:00
Brett Leslie Porter 1af2ee3f6d reduce what is in <build> in a profile according to John's previous change
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179496 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 03:29:34 +00:00
Brett Leslie Porter 112fccd46e o refactor common elements to a base class
o fix some typos in versions related to profiles


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179493 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 03:01:16 +00:00
John Dennis Casey 9d7e54c042 o Added model and builder support for Profiles specified in settings.xml, profiles.xml, and the POM.
o Changed MBoot and Verifier accordingly.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179233 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 16:24:34 +00:00
Emmanuel Venisse 4e6b33d359 o upgrade plexus-container to alpha-4-SNAPSHOT
o upgrade plexus-utils to alpha-3 until xpp stuff is fix in 1.0.0

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179122 13f79535-47bb-0310-9956-ffa450edef68
2005-05-30 18:24:32 +00:00
John Dennis Casey fda1ed95c9 o changed the inheritanceApplied flag to be set by default, and unset if the plugin is merged to the child without <inherit/> being specified...this makes it work with isolated POMs.
o changed the semantics of when the unsetInheritanceApplied() method is called...it's now only when <inherit/> is NOT set.
o changed the default inheritByDefault attribute on MojoDescriptor to be true
o added inheritByDefault to PluginDescriptor (even though we don't have tools supporting it yet), with semantics identical to MojoDescriptor
o added generator/builder support for the inheritByDefault attribute of PluginDescriptor
o added calculation of inheritanceApplied || inheritByDefault to lifecycle executor before allowing plugins/mojos to bind.
o Everything builds, but we need some sort of IT to test the finer points.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178836 13f79535-47bb-0310-9956-ffa450edef68
2005-05-27 23:05:09 +00:00
John Dennis Casey 6ca4de295d Added inheritance of Plugins according to the rules we decided upon. This consists of:
- inheritanceApplied flag on Plugin and Goal (NOT fields, just a code-only flag)
- flushGoalMap/flushPluginMap to clear caching of these calculated attributes
- ModelUtils.mergePluginLists() and ModelUtils.mergePluginDefinitions() for use in both
    * DefaultModelInheritanceAssembler (Plugin/PluginManagement lists)
    * DefaultModelDefaultsInjector (PluginManagement -> Plugin merges)

- Also added a few unit tests for basic Plugin inheritance stuff. This could be more thoroughly tested...

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178825 13f79535-47bb-0310-9956-ffa450edef68
2005-05-27 21:47:12 +00:00
John Dennis Casey 239439bb04 o Added inherited field to the Plugin and Goal classes in maven.mdo
o Added annotation inheritedByDefault (looks like: @inheritedByDefault true|false) for java mojos
o Added support for inheritedByDefault to MojoDescriptor, descriptor generator and builder
o Factored the plugin combinatorial logic into ModelUtils in o.a.m.project, for later reuse in a plugin-aware model inheritance builder
o Refactored the DefaultModelDefaultsInjector to use the new ModelUtils for plugin merging (this is factored into a utility for reuse in inheritance assembly)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178733 13f79535-47bb-0310-9956-ffa450edef68
2005-05-27 03:27:55 +00:00
Brett Leslie Porter fd49b1e857 remove default excludes, the directory scanner has it built in
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178571 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 03:08:27 +00:00
Emmanuel Venisse 551ab886d7 Add tag to scm part
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178317 13f79535-47bb-0310-9956-ffa450edef68
2005-05-24 23:24:30 +00:00
Brett Leslie Porter aae12fa37a add additional contributor fields and default goal
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170711 13f79535-47bb-0310-9956-ffa450edef68
2005-05-18 05:33:59 +00:00
Brett Leslie Porter 89b475c171 update to match m1 code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170308 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 05:09:11 +00:00
Brett Leslie Porter 7ed8a746d3 update to released versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169961 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 07:01:57 +00:00
Brett Leslie Porter 9f05a45c66 improve intro page
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169782 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 06:52:00 +00:00
Brett Leslie Porter b4bbf3071d extend not present in 4.0.0
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169602 13f79535-47bb-0310-9956-ffa450edef68
2005-05-11 08:17:06 +00:00
Brett Leslie Porter 8fc3e7a305 PR: MNG-338
Helpful error message for non-redistributable JARs, eg jdbc

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169577 13f79535-47bb-0310-9956-ffa450edef68
2005-05-11 04:29:44 +00:00
Brett Leslie Porter acfba80edc consolidate defaults injection
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168152 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 17:34:52 +00:00
Brett Leslie Porter 9ba38545ea update to latest modello plugin versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168134 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:41:33 +00:00
Brett Leslie Porter 24c6328ad3 declare the desired "prefix" inside the plugin descriptor instead of pulling apart the artifact ID (though that is how the default is created).
Currently, the reverse is not handled in anyway, so a non-default prefix may not work, but this makes the code easier to isolate.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168099 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 08:17:39 +00:00
Brett Leslie Porter b5670bdcaa start to clean up the plugin vs. goal name handling so the hardcoding can be reduced, and eventually removed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168040 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 01:20:49 +00:00
Brett Leslie Porter 23835350c8 fixes related to changing the path of parent poms, though the actual functionality is not implemented
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164346 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 06:24:08 +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 08eaf5c94f PR: MNG-222
Submitted by:	Dennis Lundberg
Reviewed by:	Brett Porter
correction of typos, spelling and grammar


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163889 13f79535-47bb-0310-9956-ffa450edef68
2005-04-09 02:07:15 +00:00
Brett Leslie Porter e62f087f24 some POM enhancements
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163862 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 07:50:53 +00:00
John Dennis Casey 20620b4e09 o Changed the repository to test.maven.codehaus.org for testing of the new repository and layout.
o Added <layout/> element to <repository/> elements in the maven.mdo
o Added pluginRepository configuration to the super-POM.
o Tested it all.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163791 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 01:28: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 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
Brett Leslie Porter eabafcc093 implement snapshot policies: default is to only check once a day (after crossing midnight), or if --update-snapshots (-U) is specified on the command line
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163711 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 03:30:08 +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
Brett Leslie Porter b84d4bc35e revert <includes> and <excludes> in MDO to old format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163666 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 14:26:28 +00:00
Brett Leslie Porter e0e405fe68 clean up plugin configuration handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163652 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 10:46:55 +00:00
Brett Leslie Porter b63fd801d2 patch MDO for CI until proper removal is in place
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163650 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 09:58:19 +00:00
Trygve Laugstol e54ce35409 o Changing the default notifier type from 'email' to 'mail'.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163640 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 14:38:59 +00:00
Brett Leslie Porter a97c024f3b ability to build standalone
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163605 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 01:13:31 +00:00
John Dennis Casey 84c5379bd8 o Added back <aspectSourceDirectory/> and <integrationUnitTestSourceDirectory/>
o Added CDATA notation to some code segments that were causing trouble.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163601 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 22:53:12 +00:00
Brett Leslie Porter 1c8e6e19a0 put back modules, removed in previous commit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163531 13f79535-47bb-0310-9956-ffa450edef68
2005-03-11 02:23:13 +00:00
Brett Leslie Porter 7b9c465866 fix typos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163530 13f79535-47bb-0310-9956-ffa450edef68
2005-03-11 02:15:41 +00:00
John Dennis Casey 2cf60ca093 o updated model documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163529 13f79535-47bb-0310-9956-ffa450edef68
2005-03-11 01:52:18 +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
John Dennis Casey f6c2684903 o Moved the default plugin stuff to <pluginManagement/>. Plugin config will be pulled from here and injected into <plugins/> as needed to satisfy type-handlers at runtime.
o Added the ability for DefaultMaven to load only the super-pom in the event that no pom.xml exists to initiate the assembly.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163527 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 23:01:38 +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 b31db60bff tests and repairs for scope
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163486 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 05:34:52 +00:00
Brett Leslie Porter 1d615cd239 turn on logging, resolve some issues surrounding test dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163473 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 23:02:43 +00:00
Brett Leslie Porter 47da41f68e refactor source roots to be lists
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163470 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 20:56:23 +00:00
John Dennis Casey 2513cb25aa o Added <pluginManagement/>
o Removed goal decoration.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163468 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 19:03:19 +00:00
Brett Leslie Porter 8c6292c23f remove <file>, add <scope>
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163463 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 08:15:26 +00:00
Brett Leslie Porter 5eb67a452f add private key, passphrase until we have them in the user configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163459 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 05:02:31 +00:00
Brett Leslie Porter bd54ac838b allow plugins to be disabled (to override inheritence)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163425 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 22:34:01 +00:00
Brett Leslie Porter d5d05a51c5 start to enhance the lifecycle. Need to pre-process plugins as currently goals are only executed if added to a phase after the current goal. Also need plugin configuration to activate these changes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163419 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 05:39:55 +00:00
Brett Leslie Porter 87b3e49afd add file to dependency, and handle in injection
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163399 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 04:16:18 +00:00
Brett Leslie Porter 59952f0db2 removed unused source directories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163397 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 04:01:14 +00:00
Brett Leslie Porter ad64a10685 source modification was incorrectly inheriting fields
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163386 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 05:55:52 +00:00
Brett Leslie Porter 6de8e8c5eb remove override - we can eventually use dependencyManagement for that.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163385 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 05:25:21 +00:00
Brett Leslie Porter a8dcdec844 clean up MDO
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163384 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 05:13:22 +00:00
Brett Leslie Porter 88d5980430 clean up MDO
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163383 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 04:12:09 +00:00
Brett Leslie Porter cdad649568 backwards compat. ability to have multiple archives
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163374 13f79535-47bb-0310-9956-ffa450edef68
2005-02-22 05:26:59 +00:00
Brett Leslie Porter e480dd8d3e o add basic auth to model and lightweight wagon
o add proxy configuration in lightweight wagon
o not yet wiring in the properties from maven.properties into the repository


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163334 13f79535-47bb-0310-9956-ffa450edef68
2005-02-03 11:39:27 +00:00
Brett Leslie Porter 1d4ef2bc37 previous behaviour of Version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163327 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 09:00:54 +00:00
John Dennis Casey da47c49f4f o Revised the defaults section to <dependencyManagement>, all builds and is happy.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163325 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 02:23:12 +00:00
John Dennis Casey e687cfed61 o Added dependencyDefaults section to POM.
The nested <dependencyDefault> element closely mirrors the <dependency> element specification.
  It provides the ability to set url, artifact, properties, version for a dependency that matches on
  {groupId, artifactId, type}. Url, artifact, and version will only override the dependency's values if
  the dependency doesn't provide the value, and (in the case of url and artifact) the dependency
  doesn't provide a version (url and artifact are assumed to be version-specific).

  Properties will only be overwritten, and only in the case where the dependency
  doesn't specify them.

  Dependencies are validated after merging with defaults, since version is not required
  on either <dependency> or <dependencyDefault> but is required between the two.

o Added component interface/default impl for injecting project defaults.
o Added unit and integration tests.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163323 13f79535-47bb-0310-9956-ffa450edef68
2005-02-01 22:43:03 +00:00
Brett Leslie Porter 74c9b91b5a add cvs.apache.org repository for snapshot dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163256 13f79535-47bb-0310-9956-ffa450edef68
2004-12-20 18:40:14 +00:00
Brett Leslie Porter 7b70cbc7a2 add CDATAs to description
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163255 13f79535-47bb-0310-9956-ffa450edef68
2004-12-17 13:15:30 +00:00
Brett Leslie Porter a893bb4498 add maven 1.x build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163254 13f79535-47bb-0310-9956-ffa450edef68
2004-12-17 13:09:54 +00:00
Brett Leslie Porter 64196260bc remove old stuff
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163253 13f79535-47bb-0310-9956-ffa450edef68
2004-12-16 09:36:34 +00:00
Brett Leslie Porter 8378e66c2b has been absorbed into main file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163248 13f79535-47bb-0310-9956-ffa450edef68
2004-12-14 09:58:18 +00:00
Jason van Zyl 6ec6f3d88b o adding in the per goal/mojo configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163182 13f79535-47bb-0310-9956-ffa450edef68
2004-10-03 19:25:15 +00:00
Jason van Zyl b6ba62ae98 o sketch of plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163180 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 16:39:52 +00:00
Jason van Zyl 3ec86ab1ea o adding <plugins/> element to the model that will be used for configuring
plugins (i am getting tired of the -Dfoo=bar mucking).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163178 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 14:36:23 +00:00
Emmanuel Venisse ed31ac5175 Fix mapStyle attribute. The correct name is xml.mapStyle
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163176 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 12:35:20 +00:00
Emmanuel Venisse 78de36fa72 We use now the new modello.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163160 13f79535-47bb-0310-9956-ffa450edef68
2004-09-26 13:29:06 +00:00
Emmanuel Venisse 9eccf7e139 Fix parent field.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163159 13f79535-47bb-0310-9956-ffa450edef68
2004-09-24 15:34:11 +00:00
Emmanuel Venisse bea17db376 The new model for the new modello. Not tested for the moment.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163158 13f79535-47bb-0310-9956-ffa450edef68
2004-09-24 14:57:07 +00:00
Brett Leslie Porter cd6f43bcf1 add type to key in v3
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163130 13f79535-47bb-0310-9956-ffa450edef68
2004-09-21 13:48:47 +00:00
Brett Leslie Porter 1f36126287 crappy temporary build stuff for the maven 1.1 model
should be replaced really soon with:
- correction of properties bug in modello
- addition of a --package command to modello
- maven plugin for modello


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163129 13f79535-47bb-0310-9956-ffa450edef68
2004-09-21 11:05:54 +00:00
Brett Leslie Porter 425d44a54b clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163128 13f79535-47bb-0310-9956-ffa450edef68
2004-09-21 10:57:57 +00:00
Brett Leslie Porter 5d4897ddba add equals/hashcode for dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163118 13f79535-47bb-0310-9956-ffa450edef68
2004-09-19 06:12:37 +00:00
Brett Leslie Porter e25114e87f remove handling done inside project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163117 13f79535-47bb-0310-9956-ffa450edef68
2004-09-19 04:12:46 +00:00
Brett Leslie Porter 2fbbfa6274 add some legacy dependency stuff for v3.0.0
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163115 13f79535-47bb-0310-9956-ffa450edef68
2004-09-19 01:30:53 +00:00
Brett Leslie Porter 7b0fdd7222 v3 consistency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163095 13f79535-47bb-0310-9956-ffa450edef68
2004-09-17 21:42:40 +00:00
Brett Leslie Porter c13e8c7629 PR: MNG-74
remove maven.properties use everywhere except classworlds conf


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163024 13f79535-47bb-0310-9956-ffa450edef68
2004-09-02 12:34:19 +00:00
John Dennis Casey 24ce8263d9 o Changed to depend on plexus-0.17 instead of -0.16
o Changed the embedder/container used to be the new artifact-aware container (plexus-artifact-container-1.0-alpha-1)
o Added new dependency to maven-core for artifact-container.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163006 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 01:18:19 +00:00
Trygve Laugstol 57922db9c9 o Making it easier to change the model file.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162913 13f79535-47bb-0310-9956-ffa450edef68
2004-08-09 15:40:26 +00:00
Trygve Laugstol 4f12e1cfa6 o Adding the new modello model using associations.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162911 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 02:49:38 +00:00
Trygve Laugstol 560f659099 o Adding the pre associations modello model as a reference.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162910 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 02:49:08 +00:00
Emmanuel Venisse 2ef9ee0656 Rollback default Value of tests includes, It's now inherited from parent if it isn't define.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162896 13f79535-47bb-0310-9956-ffa450edef68
2004-07-27 15:40:04 +00:00
Emmanuel Venisse 94418f0102 Add **/*Test.java as default value of test includes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162891 13f79535-47bb-0310-9956-ffa450edef68
2004-07-27 11:49:27 +00:00
John Dennis Casey 10b6aaaed6 added maven.xsd to ignored list for maven-model.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162862 13f79535-47bb-0310-9956-ffa450edef68
2004-07-19 02:26:15 +00:00
Brett Leslie Porter cf719faeda make most scripts exit on error
tested only on cygwin - if it causes issues on linux, feel free to rollback


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162859 13f79535-47bb-0310-9956-ffa450edef68
2004-07-18 01:22:49 +00:00
Trygve Laugstol cb0c6ad6c4 o Adding <modelVersion> to the poms.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162855 13f79535-47bb-0310-9956-ffa450edef68
2004-07-05 20:12:50 +00:00
Trygve Laugstol 44530d6430 o Adding type+version to the dependency id so that it matches the project.id
o Changed the ArtifactCollector so that it resolves version conflicts again.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162847 13f79535-47bb-0310-9956-ffa450edef68
2004-06-29 15:08:22 +00:00
Trygve Laugstol 848a7dd433 o Adding the type to getId() of a pom v4.0.0.
o Changing the artifact list in MavenProject to a Set.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162845 13f79535-47bb-0310-9956-ffa450edef68
2004-06-27 18:46:52 +00:00
Trygve Laugstol 472d180a19 o Adding nagEmailAddress to the ciManagement part.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162841 13f79535-47bb-0310-9956-ffa450edef68
2004-06-27 07:03:31 +00:00
Michal Maczka 27c0d5f0cc Pushing back my changes to model.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162834 13f79535-47bb-0310-9956-ffa450edef68
2004-06-23 18:03:06 +00:00
Jason van Zyl 4c5fcb62d4 o rolling back changes that are breaking the build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162833 13f79535-47bb-0310-9956-ffa450edef68
2004-06-23 15:13:53 +00:00
Michal Maczka d313ec01db removed conflicted code (my fault!)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162832 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 19:53:33 +00:00
Michal Maczka 61ead8784f more excludes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162831 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 19:28:54 +00:00
Michal Maczka dac191ef44 reorganization of some elements of POM
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162830 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 19:25:54 +00:00
Emmanuel Venisse 2fe989371b Add some default excludes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162817 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 14:01:19 +00:00
Emmanuel Venisse afba825dbb Add toString method for dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162816 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 12:48:23 +00:00
Jason van Zyl bb5ec46562 o we now have distributionManagement so we don't want the old crap in
the v4 POM.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162811 13f79535-47bb-0310-9956-ffa450edef68
2004-06-19 18:58:59 +00:00
Jason van Zyl 302c0c9c64 o adding distributionManagement element to the project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162810 13f79535-47bb-0310-9956-ffa450edef68
2004-06-19 18:55:16 +00:00
Jason van Zyl 944b65451b o added project.build.output which takes a default value of
target/classes and is the location for compiled application classes

o added project.build.testOutput which takes a default value of
  target/test-classes and is the location for compiled test classes

  After chatting with Michal we decided that we want a single place
  where we can control these values and provide a single place for
  a user to override them if they wish to.

  The build directory, the directory where compiled app classes go, and
  the directory where compiled test classes go can now all be accessed
  in a consistent fashion.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162756 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 23:21:23 +00:00
Jason van Zyl 8430b7b9cf o the addition the the build.directory element
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162743 13f79535-47bb-0310-9956-ffa450edef68
2004-06-11 22:04:26 +00:00
Jason van Zyl dd4fc3384f o moving core deps into top-level pom.xml to be shared by all the
component builds.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162741 13f79535-47bb-0310-9956-ffa450edef68
2004-06-10 20:27:50 +00:00
Jason van Zyl 60af082ea2 o doing the pom.xml thing
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162739 13f79535-47bb-0310-9956-ffa450edef68
2004-06-09 03:10:50 +00:00
Michal Maczka 62659b716c Added support for repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162738 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 18:16:53 +00:00
Jason van Zyl fa1c1cdf4d o generate the sources for the v3 model
o generate the sources for the v3 xpp3 reader/writer

  both of these necessary in order to adapt the v3 POM into a v4 POM
  so that m2 can slurp up v3 POMs to build m1 projects transparently.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162736 13f79535-47bb-0310-9956-ffa450edef68
2004-06-06 05:52:30 +00:00
Jason van Zyl 1a13142117 o tweak the model for v3 and v4 generation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162735 13f79535-47bb-0310-9956-ffa450edef68
2004-06-06 05:50:24 +00:00
Jason van Zyl ec786ecb3c o give 3.0.0 Branch.tag a version.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162734 13f79535-47bb-0310-9956-ffa450edef68
2004-06-06 05:26:37 +00:00
Jason van Zyl d9d92a0dfb o nuke the target directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162733 13f79535-47bb-0310-9956-ffa450edef68
2004-06-06 04:49:37 +00:00
Jason van Zyl 555932d95f o generate sources to target/generated-sources
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162730 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 16:55:51 +00:00
Jason van Zyl 87c56fd58b *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162727 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 15:05:24 +00:00
Jason van Zyl 15d5de1217 o information for continuous integration, pretty much the same
format as the issueManagement element.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162685 13f79535-47bb-0310-9956-ffa450edef68
2004-04-29 22:39:05 +00:00
Jason van Zyl 84092036cd *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162682 13f79535-47bb-0310-9956-ffa450edef68
2004-04-17 17:15:58 +00:00
Jason van Zyl 2256dae4cf o add versions so that the 4.0.0 version of the model is used to
output the source, xpp3 reader/writer, xdoc and XSD.

o more tweaks to the model for correct output.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162680 13f79535-47bb-0310-9956-ffa450edef68
2004-04-17 15:13:31 +00:00
Jason van Zyl 2b42e39161 o cleaning up all the versions
o can now generate distinct versions of the model


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162679 13f79535-47bb-0310-9956-ffa450edef68
2004-04-17 04:22:52 +00:00
Jason van Zyl a7c579dabf o adding versions to all fields and elements so that I can output distinct
versions of the model.

o adding required elements where appropriate so the generated XSD is
  correct.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162678 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 21:48:24 +00:00
Jason van Zyl 065edb8918 o url will do
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162669 13f79535-47bb-0310-9956-ffa450edef68
2004-04-15 14:31:27 +00:00
Jason van Zyl 96b61b2000 o adding some versions to elements to experiment with output for a specific version. Working on the v3 -> v4 converter.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162668 13f79535-47bb-0310-9956-ffa450edef68
2004-04-15 02:03:54 +00:00
Jason van Zyl 8ceb14aa0f o adding type element to the project. so now the groupId, artifactId and type of a project match that of a dependency.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162667 13f79535-47bb-0310-9956-ffa450edef68
2004-04-15 01:59:20 +00:00
Jason van Zyl 74c42ed9e7 o change the <repository/> to the <scm/>.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162665 13f79535-47bb-0310-9956-ffa450edef68
2004-04-13 03:19:09 +00:00
Jason van Zyl ba5e58a2e8 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162659 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 19:17:56 +00:00
Jason van Zyl 8c9fabae82 o Committing changes submitted by Trygve Laugst��l to accomodate the new form
of specifying a parent model to use which is of the form:

<parent>
  <groupId/>
    <artifactId/>
      <version/>
      </parent>

      This allows us to work consistently from the local repository or the
unified
source root where missing models are downloaded now that we have the required
information within the <parent/> element.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162657 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 14:41:05 +00:00
Jason van Zyl 99f4437ac7 install post build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162631 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 03:22:53 +00:00
Jason van Zyl c5ccb6de89 o cleanup
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162628 13f79535-47bb-0310-9956-ffa450edef68
2004-04-08 02:45:58 +00:00
Jason van Zyl 1bea7e4e00 o place generated xdoc in the xdocs directory
o add navigation.xml


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162627 13f79535-47bb-0310-9956-ffa450edef68
2004-04-08 02:02:06 +00:00
Jason van Zyl 6e7235ce06 using parent pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162626 13f79535-47bb-0310-9956-ffa450edef68
2004-04-07 20:28:31 +00:00
Jason van Zyl 8889ee6f4b o adding some comments
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162605 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 19:05:39 +00:00