/[Apache-SVN]
ViewVC logotype

Revision 233013


Jump to revision: Previous Next
Author: jdcasey
Date: Tue Aug 16 16:31:02 2005 UTC (19 years, 3 months ago)
Changed paths: 27
Log Message:
Working on: MNG-483

Fixing profile application to separate profiles discovered in and around POM from those in settings.xml, and apply them separately in the order: 

for-each-project-in-inheritance:{POM, profiles.xml}, settings.xml

Added common interface for accumulating, explicitly activating and deactivating, and retrieving profiles to be applied to a given project. This manager interface (ProfileManager) is general enough to be applicable to both the project-level and settings-level profiles.

Added 'performRelease'-keyed profile to super-POM which will be used by the release plugin and anyone using a parallel process, and which will enable '-DupdateReleaseInfo=true' for the deploy mojo, along with enabling the source attachment for the project.

Added 'attach' parameter to JarSourceMojo to allow local POM to turn off source attachments, overriding release profile in super-pom.

Updated the release:perform mojo to use '-DperformRelease=true' for switching on the new release profile, rather than just using '-DupdateReleaseInfo=true'...



Changed paths

Path Details
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/DefaultMaven.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml modified , text changed
Directorymaven/components/trunk/maven-mboot2/src/main/java/MBoot.java modified , text changed
Directorymaven/components/trunk/maven-plugins/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java modified , text changed
Directorymaven/components/trunk/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PerformReleaseMojo.java modified , text changed
Directorymaven/components/trunk/maven-plugins/maven-source-plugin/src/main/java/org/apache/maven/plugin/source/JarSourceMojo.java modified , text changed
Directorymaven/components/trunk/maven-profile/pom.xml modified , text changed
Directorymaven/components/trunk/maven-profile/src/main/java/org/apache/maven/profiles/AlwaysOnActivation.java
(Copied from maven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/AlwaysOnActivation.java, r232858)
added
Directorymaven/components/trunk/maven-project/pom.xml modified , text changed
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/AlwaysOnActivation.java deleted
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java added
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/ProfileManager.java added
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/activation/DetectedProfileActivator.java modified , text changed
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/activation/ExplicitListingProfileActivator.java deleted
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/activation/ProfileActivationCalculator.java deleted
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/activation/ProfileActivationException.java added
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/profiles/activation/ProfileActivationUtils.java deleted
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
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/MavenProjectBuilder.java modified , text changed
Directorymaven/components/trunk/maven-project/src/main/resources/META-INF/plexus/components.xml modified , text changed
Directorymaven/components/trunk/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml modified , text changed
Directorymaven/components/trunk/maven-project/src/test/java/org/apache/maven/project/MavenProjectTestCase.java modified , text changed
Directorymaven/components/trunk/maven-project/src/test/resources/org/apache/maven/project/ProjectClasspathTest.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26