Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0
-
None
-
Apache Maven 2.2.1 and 3.0.3
Description
My distribution management section looks like:
<distributionManagement> <site> <id>${acme-corporate-pom.siteRepositoryId}</id> <url>${acme-corporate-pom.siteRepositoryUrl}</url> </site> </distributionManagement>
Where the default property values are defined in the pom:
<properties>
<acme-corporate-pom.siteRepositoryId>acme-site</acme-corporate-pom.siteRepositoryId>
<acme-corporate-pom.siteRepositoryUrl>scp://sites.intranet.acme.com/var/www</acme-corporate-pom.siteRepositoryUrl>
</properties>
I'm able redefine properties from command line, the provided repository is used instead default one:
mvn site:site site:deploy -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites -Dacme-corporate-pom.siteRepositoryId=somehost
But when I redefine properties in the profile in settings.xml, they are ignored. The profile is activated in <activeProfiles element.
It looks, than only m-site-p ignores properties defined in the settings.xml file. m-deploy-p recognizes properties as I expected (distribution management section for articats deployment is configured in similar way to site deployment).
–
Marcin Kuthan
Maven For Enterprise - http://code.google.com/p/m4enterprise/
Attachments
Attachments
Issue Links
- depends upon
-
DOXIASITETOOLS-145 when called from Maven 3, SiteTool.getParentProject() should just return project.getParent()
- Closed
- is duplicated by
-
MSITE-725 site deploy, distributionManagement and pom inheritance : fail to resolve settings.xml properties
- Closed
-
MSITE-611 property interpolation in systemPath during site build is not working
- Closed
- is related to
-
MSITE-783 Bad modules links when 'distributionManagement.site.url' comes from settings.xml
- Closed
-
MSITE-501 Properties overwritten by settings.xml are ignored when creating parent-links
- Closed
-
MSITE-585 site-deploy: empty deploy protocol when properties are used
- Closed
-
MSITE-617 Variable substitution in the site url doesn't work
- Closed
- relates to
-
MSITE-733 Properties from settings.xml are not resolved in site.xml
- Closed
-
MSITE-632 <site> from child module ignored
- Closed