Commit Graph

2570 Commits

Author SHA1 Message Date
Brett Leslie Porter f3b2f5a419 add correct plugin repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225662 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 00:51:36 +00:00
Vincent Siveton 120ade04b0 MNG-663: adding a link for the URL of the organization for developer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225654 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 23:35:12 +00:00
Brett Leslie Porter 067b9b623f no latest on this, consistent with bootstrap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225547 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 16:24:45 +00:00
Brett Leslie Porter c757e62b3a PR: MNG-633
avoid leaking checksum temporary files

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225540 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 16:05:45 +00:00
Brett Leslie Porter 84696bc3e4 fix incorrect key construction that hosed the build
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225537 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 15:59:38 +00:00
Brett Leslie Porter 3288b82caa PR: MNG-664
license should be inherited

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225534 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 15:07:47 +00:00
Brett Leslie Porter 24e9ecf4a0 PR: MNG-226
make sure to merge in extension field (eg pluginManagement)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225530 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 14:46:54 +00:00
Brett Leslie Porter eedd050414 PR: MNG-649
add classifier to dependency. it becomes part of the dependency key along with type when not null

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225524 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 14:17:41 +00:00
Emmanuel Venisse 3fb0852fdf Allow the creation of external reports. html files are now generated only by external reports and not by doxia mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225521 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 14:07:04 +00:00
Brett Leslie Porter fb33a71f0a add a hook to test properly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225515 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 14:01:50 +00:00
Brett Leslie Porter 04a4dde5bb optimize imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225506 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 12:57:53 +00:00
Brett Leslie Porter ee4e4bc629 PR: MNG-642
add getters/setters for all fields so they can be programmatically manipulated.
convert to native types rather than using strings.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225504 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 12:48:52 +00:00
Brett Leslie Porter 5d46a03299 allow version spec/release version of an extension
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225480 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 08:27:48 +00:00
Brett Leslie Porter 826413b74a PR: MNG-598
allow type handlers to be specified by plugin extensions



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225477 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 08:03:33 +00:00
Brett Leslie Porter fc1cbaeb1e fix typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225474 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 07:27:08 +00:00
Emmanuel Venisse c8a4f996dd Plexus lifecycle move back to Plexus.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225471 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 06:43:26 +00:00
Brett Leslie Porter b42c7d3c66 PR: MNG-479
child repositories have precedence over parents with the same ID

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225465 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 06:20:40 +00:00
Brett Leslie Porter 740f7ad838 clean up and reformatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225464 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 06:14:59 +00:00
Brett Leslie Porter 8b01ca10f7 PR: MNG-226
implement extension mechanism

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225463 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 06:14:20 +00:00
Brett Leslie Porter 527c6b4990 ignore target
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225462 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 06:10:00 +00:00
Vincent Siveton 7670af82a1 Fix a typo for bottom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225450 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 04:09:34 +00:00
Vincent Siveton 5125817f61 MNG-599: Using the organization name and the inception year in the Velocity template
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225446 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 03:12:55 +00:00
John Dennis Casey 31ac06f7e2 Working on: MNG-521
o Cleaned up output from discovery of MavenProjectBuilder instance in MavenProjectTestCase.
o Added <relativePath/> to parent in maven.mdo (default value is '../pom.xml')
o Added filesystem parent-POM search using <relativePath/>...if discovered pom doesn't match the parent specification (g🅰️v), then it's not used - the parent is resolved - and search for ancestor POMs on disk goes no further.

NOTE: Next thing is to reactor-ize the release plugin, then MNG-521 should be implemented.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225379 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 19:45:45 +00:00
Emmanuel Venisse 5a23f868e9 move plexus packaging back
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225376 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 19:12:01 +00:00
Brett Leslie Porter 3cb2e3e2ec these use the it plugin, also need plugin repository setting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225332 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 15:42:33 +00:00
Brett Leslie Porter c577901fb4 cleanup
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225326 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 15:24:35 +00:00
Brett Leslie Porter 971fdc43b0 fix in case of a non-existant local repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225322 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 15:11:21 +00:00
John Dennis Casey 89371bb7fd Adding null checks for lists of artifacts before mapping them...now methods will simply return empty Map instances if null lists are passed in.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225321 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 15:00:36 +00:00
Brett Leslie Porter 17991ceea7 cleanup
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225317 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 14:41:35 +00:00
Brett Leslie Porter eeafd40d9e snapshots have moved
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225316 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 14:24:38 +00:00
Brett Leslie Porter 3c68ec366c no need for the manager - it is stored in the artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225315 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 14:22:13 +00:00
Brett Leslie Porter 2d666f57a7 move main J2EE packaging definitions back to being built in
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225311 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 14:00:23 +00:00
Brett Leslie Porter 443a67df1d better error message for missing deployment repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225296 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 12:51:04 +00:00
Vincent Siveton cbb5657526 MNG-588: Throw an exception if two index files already exist
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225290 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 12:33:12 +00:00
Brett Leslie Porter 4b36d0a017 remove deprecation that was intended to happen, but the other changes got backed out
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225285 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 12:14:27 +00:00
Vincent Massol 9f5fbe1f72 MNG-628: No more clover.html + no more site resources generated. Done this time by extending AbstractMavenReport and overriding it's main methods (generate() and execute()). AbstractMavenReport would need to add native support for external reports to have something clean (see MNG-645)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225271 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 10:44:31 +00:00
Vincent Siveton 524a4602c4 MNG-477: Trying to unpack none jar file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225270 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 10:44:06 +00:00
Vincent Massol c692568a42 Do not extend AbstractMavenReport as it does not support externally generated HTML report files (see MNG-645). Indeed, in our case it is Clover which generates the report files.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225267 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 09:48:04 +00:00
Brett Leslie Porter e78bef0429 PR: MNG-598
implement ability to retrieve packaging handlers (lifecycle mappings) from extension plugins. Remove plugin mapping
metadata for the same
integration tests are in place for type handlers but commented out until implemented (41)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225263 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 09:04:32 +00:00
Brett Leslie Porter 999f9393eb more ignores
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225243 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 06:39:02 +00:00
Brett Leslie Porter e55dfab2c9 ignore!
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225242 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 06:38:10 +00:00
Brett Leslie Porter d948fb0322 doesn't accept -D args
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225237 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 06:11:52 +00:00
Brett Leslie Porter 8aeb62e580 use a file that has to be there :)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225236 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 05:57:26 +00:00
Brett Leslie Porter 26f56f9f99 allow passing of integration test numbers to run from the CLI
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225235 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 05:56:35 +00:00
John Dennis Casey 73e549b231 o Fixing resolution of LATEST in plugin-versions, when <useLatest/> is enabled in plugin-registry.xml, or when --check-plugin-latest is specified on the command line.
o Fixing core-library resolution for expression: ${plugin.artifacts} and ${plugin.artifactMap} (latter is keyed by g:a)

o Modified maven-core-it-plugin to accept something like "-DartifactToFile=org.apache.maven:maven-artifact"...it'll lookup that artifact in ${plugin.artifactMap}, and touch a file that's a mutation of the abs. path for that artifact.

o Added pomArtifact to ResolutionGroup, since the MavenMetadataSource ALWAYS creates a new Artifact for a pom...this allows us to retrieve the resolved Artifact for that pom.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225234 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 05:54:24 +00:00
Brett Leslie Porter 96dfb0ba8f lines may have spaces - use setLine instead of setValue
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225233 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 05:13:27 +00:00
John Dennis Casey 4b1038de53 Working on: MNG-607
o Added '-f' CLI option, to allow use of non-standard pom files, or spawning of a build from outside of the project dir.
o Added preferential processing of release-pom.xml over pom.xml if it exists (assumes that the current checkout is a release of the software)
o Moved all file discovery from MavenCli to DefaultMaven, to allow embedders to have access to this logic.
o Modified MavenExecutionRequest to add a flag for reactor-activation and the name of a non-standard pom to use, if appropriate.
o Removed getFiles() and getProjectFiles() from MavenExecutionRequest, since file discovery is now done in the DefaultMaven.
o Added integration tests to check preference of release-pom.xml in standalone and '-r' mode
o Added integration tests to check usage of '-f' option within and outside of the project directory
o Added processing for cli-options.txt to maven-core-it-verifier (Verifier.java) to allow specification of '-f' and '-r' in tests


NOTE: the release plugin still doesn't correctly remove the release-pom.xml from HEAD/trunk, since I don't have access to the SCM remove command from maven-scm. I'm waiting for Emmanuel to finish some API changes before moving to the new maven-scm version, and implementing this final step.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225226 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 03:55:37 +00:00
John Dennis Casey 3251b41d8e Correcting core-library resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225208 13f79535-47bb-0310-9956-ffa450edef68
2005-07-25 23:50:13 +00:00
John Dennis Casey cfccde2596 Fixing minor typo in license
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225181 13f79535-47bb-0310-9956-ffa450edef68
2005-07-25 20:59:16 +00:00
Brett Leslie Porter 086463b5b4 PR: MNG-456
allow separate snapshot and release repositories
deprecate existing snapshotPolicy and checksumPolicy in favour of updatePolicy and checksumPolicy within the <releases> and <snapshots> elements in the <repository> element.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@224707 13f79535-47bb-0310-9956-ffa450edef68
2005-07-25 09:51:12 +00:00