Commit Graph

1053 Commits

Author SHA1 Message Date
John Dennis Casey 10b55add40 o Created non-abstract base class for DefaultArtifactFactory to extend, called ArtifactConstructionSupport, which provides centralized means for constructing artifacts consistently without all the maven-core specific methods. These maven-core specifics not delegate to the generic methods provided in this new class.
o Adjusted the maven-archetype stuff to work with the new artifact creation/resolution/etc. methods in maven-artifact and maven-core.
o Removed all direct construction of DefaultArtifact and replaced with ArtifactConstructionSupport where it would have involved putting the DefaultArtifactFactory in the plexus.xml, and where the code doesn't need dependency-oriented methods.
o Archetype works now, using the example provided in plexus/plexus-site/src/site/apt/building-plexus-applications.apt


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163615 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 22:02:09 +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
Brett Leslie Porter 82d693b967 add zip, jar, and some notes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163613 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 12:36:49 +00:00
Brett Leslie Porter 6bba64b60d correct type
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163612 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 11:43:58 +00:00
Brett Leslie Porter 7072ba8dac fix parse error that cause continuum grief
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163611 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 11:32:39 +00:00
Jason van Zyl ec606c77e9 o remove commit to wrong location
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163610 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 06:42:35 +00:00
Jason van Zyl a53bf28c86 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163607 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 06:41:16 +00:00
Brett Leslie Porter df6e78a104 work around issue
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163606 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 01:14:11 +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 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
Brett Leslie Porter 99b5fe6d9f flesh out assemble mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163603 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 23:59:07 +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
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 17b770a2ab Fix NPE in later code when mavenRepoLocal was defined
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163600 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 20:20:49 +00:00
Carlos Sanchez Gonzalez 75951aa79d Mojo to manage repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163599 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 15:02:46 +00:00
Carlos Sanchez Gonzalez f060bd43a0 Renamed artifactId
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163598 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 14:56:07 +00:00
Carlos Sanchez Gonzalez c4516447bf Trying to use ChecksumObserver to validate the checksum
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163597 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 14:47:15 +00:00
Emmanuel Venisse c86390960d Add support for proxy in bootstrap.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163596 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 06:11:17 +00:00
Emmanuel Venisse 23b0c1d4fb Fix settings finder for windows.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163595 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 06:07:46 +00:00
Jason van Zyl b2d8f801a2 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163592 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 03:43:27 +00:00
Brett Leslie Porter 403255afc4 remove prereq
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163591 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 02:48:40 +00:00
Brett Leslie Porter dbe55b7d83 another issue with re-initialising the phases in the reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163590 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 02:26:19 +00:00
Brett Leslie Porter 829e2051f6 PR: MNG-207
scope must be considered globally - redefining it weaker must not win.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163589 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 02:04:35 +00:00
Trygve Laugstol 764181f925 o Adding modello goals.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163588 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 01:34:24 +00:00
Brett Leslie Porter 2628261b75 PR: MNG-207
fix scope issue in a conflict


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163587 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 00:17:26 +00:00
Brett Leslie Porter 08df9d163d PR: MNG-209
re-initialise lifecycle on each execution. Make it threadsafe.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163586 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 23:19:00 +00:00
Brett Leslie Porter e32b20b5cf make debug bootstrap work
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163585 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 23:17:38 +00:00
John Dennis Casey 1cc2abaaa4 o Added duplicate declaration of settings builder and artifact repo factory, to allow embedding of maven inside plexus-based apps that already have a plexus.xml (and therefore cannot use maven's plexus.xml).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163584 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 19:06:08 +00:00
John Dennis Casey 9363c35399 o Adding junit dependency to enable building with m2.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163583 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 17:40:02 +00:00
Brett Leslie Porter 143f33b701 comment on placement issue
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163582 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 07:36:01 +00:00
Brett Leslie Porter fea9f2ac53 project cache repairs - must not cache models that are already interpolated, translated, etc.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163581 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 06:56:03 +00:00
Brett Leslie Porter d880a9520a put plugins in the right place
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163580 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 06:55:36 +00:00
Brett Leslie Porter abe5a2ce99 set the correct packaging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163579 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 06:55:21 +00:00
John Dennis Casey e9a9323812 o Changed maven-user-model/UserModel/UserModelBuilder to maven-settings/MavenSettings/MavenSettingsBuilder.
This supports a change to a simpler local configuration file (~/.m2/settings.xml by default), which has the general format of:

<settings>
  <profiles>
    <profile>
      <active>true</active> <!-- not needed if this is the only profile -->
      <localRepository>/path/to/repo</localRepository>
    </profile>
    .
    .
    .
  </profiles>
  <servers>
    <server>
      <id>myserver</id>
      <username>me</username>
      <password>mypass</password>
      <privateKey>/path/to/key</privateKey>
      <passphrase>key-passphrase</passphrase>
    </server>
    .
    .
    .
  </servers>
  <proxies>
    <proxy>
      <active>true</active> <!-- not needed if this is the only proxy -->
      .
      .
      .
    </proxy>
    .
    .
    .
  </proxies>
</settings>

o Added special parameter named '#settings' which simply injects the current MavenSettings from the MavenSession into the request parameters.
o Adjusted the it-verifier and mboot2 accordingly.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163578 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 06:29:35 +00:00
Brett Leslie Porter de262b4236 o refactor usage of build methods
o do not do path resolution for repository POMs
o source poms override repository poms in the cache


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163577 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 05:08:50 +00:00
Brett Leslie Porter c865afbae9 project sorting can be a static method
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163576 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 04:28:34 +00:00
Brett Leslie Porter 64eb3c2ddd project sorting can be a static method
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163575 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 04:21:03 +00:00
Brett Leslie Porter 83c5474b1f super project never has dependencies to resolve
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163574 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 04:18:06 +00:00
Brett Leslie Porter e616a7b1c9 PR: MNG-204
DAG needs to account for the project's inherited parent


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163573 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 03:58:18 +00:00
Brett Leslie Porter ba992be685 PR: MNG-205
Add a non-recursive mode to disable processing of modules


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163572 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 03:48:30 +00:00
Brett Leslie Porter dda9fa50fb cache POMs within the reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163571 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 03:39:54 +00:00
Brett Leslie Porter 38add00ed4 cleanup
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163570 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:43:09 +00:00
Brett Leslie Porter 4eb5de7cc8 correct modello plugin reference for building outside of mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163569 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:42:22 +00:00
Brett Leslie Porter 2f89f1e94d handle POMs correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163568 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:27:37 +00:00
Brett Leslie Porter 39e571068d handle POM properly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163567 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:26:32 +00:00
Brett Leslie Porter 0f42ee716d updated to match deploy plugin, until it can be removed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163566 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:19:19 +00:00
Brett Leslie Porter b342ded8de complete inheritence of distributionManagement
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163565 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:00:32 +00:00
Brett Leslie Porter 88b5c0ee66 PR: MNG-187
add getCollectedProjects to MavenProject for post processing


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163564 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 23:36:28 +00:00
Brett Leslie Porter e5ab9191bd PR: MNG-191
collect proejcts and modules first, then execute reactor


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163563 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 23:31:23 +00:00
Brett Leslie Porter 5c1f5b1e57 PR: MNG-52
change type of maven plugins to "maven-plugin" instead of plugin.
This should allow other products to have different plugin types, if necessary.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163562 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 22:31:54 +00:00