Commit Graph

1165 Commits

Author SHA1 Message Date
Brett Leslie Porter dab33490a5 most basic of field based plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163627 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 03:49:17 +00:00
Brett Leslie Porter e452a9ca52 don't show if empty
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163626 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 01:48:44 +00:00
Brett Leslie Porter 51bb8c2193 switch to per-lookup as a first step
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163625 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 01:17:15 +00:00
Brett Leslie Porter b80f5242b2 setup a simple, backwards compatible mechanism to start implementing the new plugin instantiation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163624 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 01:02:36 +00:00
Brett Leslie Porter 5a296f03c8 clean up old tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163623 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 01:01:35 +00:00
Brett Leslie Porter 8e9ec9c892 move log to AbstractPlugin, out of request. Request now contains only parameters (will move to fields) and marmalade context (can move to marmalade mojo wrapper)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163622 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 00:07:39 +00:00
Brett Leslie Porter a593e7df88 change the plugin execution response to be an exception instead since it only handled failures.
any returns from success will be conveyed by the request, soon to be converted into fields on the plugin. These will eventually be extracted using OGNL, but this is all post alpha-1 work


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163621 13f79535-47bb-0310-9956-ffa450edef68
2005-03-20 23:22:01 +00:00
Carlos Sanchez Gonzalez 6e21de0ed2 Moved to sandbox
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163620 13f79535-47bb-0310-9956-ffa450edef68
2005-03-20 17:03:53 +00:00
Brett Leslie Porter b164176ca9 implement interface change
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163619 13f79535-47bb-0310-9956-ffa450edef68
2005-03-19 03:00:06 +00:00
Brett Leslie Porter f5605e5327 override with goal configuration if it exists
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163618 13f79535-47bb-0310-9956-ffa450edef68
2005-03-19 00:22:28 +00:00
Brett Leslie Porter 2e7b575246 repair formatting mishap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163617 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 23:34:44 +00:00
Brett Leslie Porter 49552c8688 make sure paths are processed after plugin configuration is merged
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163616 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 23:32:37 +00:00
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