/[Apache-SVN]
ViewVC logotype

Revision 215919


Jump to revision: Previous Next
Author: jdcasey
Date: Tue Jul 12 04:13:40 2005 UTC (19 years, 4 months ago)
Changed paths: 17
Log Message:
Resolving:

MNG-511
MNG-513

Working on:

MNG-449

o Added code to stop the version manager from prompting the user for unregistered plugins; it will simply register them with the resolved version.

o Added failover fourth plugin-version resolution option, which is a plugin-specific artifact metadata called LATEST.version.txt, and will be published with each install/deployment

o Added MavenProject.get/setArtifact(..) to handle a single artifact instance for a project (allows injection of artifact metadata without having to handle it all within the install/deploy mojos).

o Changed plugin-version resolution to only use MavenMetadataSource rather than resolving the whole plugin artifact.

o Changed the install and deploy mojos to only use ${project.artifact} rather than constructing their own, so they can take advantage of metadata added elsewhere in the build.

o Factored the "RELEASE".equals(..) check in the DefaultRepositoryLayout to use new metadata method storedInArtifactDirectory() instead, since RELEASE and LATEST both share this characteristic.


NOTE: I'm not going to resolve MNG-449 yet, because I'm not sure what else Brett had in mind related to the plugin-development-without-release use case...



Changed paths

Path Details
Directorymaven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/metadata/AbstractArtifactMetadata.java modified , text changed
Directorymaven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadata.java modified , text changed
Directorymaven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java modified , text changed
Directorymaven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java modified , text changed
Directorymaven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/metadata/LatestArtifactMetadata.java added
Directorymaven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/metadata/ReleaseArtifactMetadata.java modified , text changed
Directorymaven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/transform/LatestArtifactTransformation.java added
Directorymaven/components/trunk/maven-artifact-manager/src/main/java/org/apache/maven/artifact/transform/ReleaseArtifactTransformation.java modified , text changed
Directorymaven/components/trunk/maven-artifact-manager/src/main/resources/META-INF/plexus/components.xml modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionManager.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml modified , text changed
Directorymaven/components/trunk/maven-plugins/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployMojo.java modified , text changed
Directorymaven/components/trunk/maven-plugins/maven-install-plugin/src/main/java/org/apache/maven/plugin/install/InstallMojo.java modified , text changed
Directorymaven/components/trunk/maven-plugins/maven-plugin-plugin/pom.xml modified , text changed
Directorymaven/components/trunk/maven-plugins/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/metadata/AddPluginArtifactMetadataMojo.java added
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java modified , text changed
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/MavenProject.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26