[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=359663#comment-359663 ] Michael Osipov commented on MSITE-604: -- Did not get you today on IRC, will try tomorrow. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-it.patch, > MSITE-604-it.patch, MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, > MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=359607#comment-359607 ] Herve Boutemy commented on MSITE-604: - I'll need help, because it is tricky: if you're interested, ping me on irc to have a discussion on my actual findings and thoughts on how to go from there > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-it.patch, > MSITE-604-it.patch, MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, > MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=359514#comment-359514 ] Michael Osipov commented on MSITE-604: -- Hervé, do you think we can make any progress here? > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-it.patch, > MSITE-604-it.patch, MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, > MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355445#comment-355445 ] Herve Boutemy commented on MSITE-604: - tracked the bug up to http://maven.apache.org/doxia/doxia-tools/doxia-integration-tools/xref/org/apache/maven/doxia/tools/DefaultSiteTool.html#L582 the parent pom is loaded without profiles, then without interpolated values still need to investigate how to fix this mess: Doxia Integration Tool is trying to redo the work usually done by Maven core... > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-it.patch, > MSITE-604-it.patch, MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, > MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354657#comment-354657 ] wesson commented on MSITE-604: -- Same problem for me. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-it.patch, > MSITE-604-it.patch, MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, > MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354260#comment-354260 ] Jörg Schaible commented on MSITE-604: - Yes, compare it with the previous errors I've reported. Maven is always complaining about the non-absolute base URI and the value has been URL encoded before the property substitution took place. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-it.patch, > MSITE-604-it.patch, MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, > MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354243#comment-354243 ] Herve Boutemy edited comment on MSITE-604 at 10/12/14 5:06 AM: --- thank you [~joehni]: I can reproduce a failure with the patched IT: {noformat}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy failed: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy failed: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy failed: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.IllegalArgumentException: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent at org.apache.maven.doxia.site.decoration.inheritance.URIPathDescriptor.(URIPathDescriptor.java:73) at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.getTopLevelProject(AbstractDeployMojo.java:827) at org.apache.maven.plugins.site.deploy.SiteDeployMojo.determineDeploySite(SiteDeployMojo.java:67) at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.getDeploySite(AbstractDeployMojo.java:235) at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.execute(AbstractDeployMojo.java:166) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) ... 20 more{noformat} is it the failure everybody is experiencing in real world? was (Author: hboutemy): thank you Jörg: I can reproduce a failure with the patched IT: {noformat}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy failed: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354243#comment-354243 ] Herve Boutemy edited comment on MSITE-604 at 10/12/14 5:04 AM: --- thank you Jörg: I can reproduce a failure with the patched IT: {noformat}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy failed: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy failed: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy failed: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.IllegalArgumentException: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent at org.apache.maven.doxia.site.decoration.inheritance.URIPathDescriptor.(URIPathDescriptor.java:73) at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.getTopLevelProject(AbstractDeployMojo.java:827) at org.apache.maven.plugins.site.deploy.SiteDeployMojo.determineDeploySite(SiteDeployMojo.java:67) at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.getDeploySite(AbstractDeployMojo.java:235) at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.execute(AbstractDeployMojo.java:166) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) ... 20 more{noformat} is it the failure everybody is experiencing in real world? was (Author: hboutemy): thank you Jörg: I can reproduce a failure with the patched IT: {noformat}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy failed: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNA
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354243#comment-354243 ] Herve Boutemy commented on MSITE-604: - thank you Jörg: I can reproduce a failure with the patched IT: {noformat}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy failed: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy failed: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy failed: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: java.lang.IllegalArgumentException: Base URI is not absolute: $%7bmsite604.siteRepositoryRoot%7d/$%7bmsite604.siteRepositoryBase%7d/parent at org.apache.maven.doxia.site.decoration.inheritance.URIPathDescriptor.(URIPathDescriptor.java:73) at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.getTopLevelProject(AbstractDeployMojo.java:827) at org.apache.maven.plugins.site.deploy.SiteDeployMojo.determineDeploySite(SiteDeployMojo.java:67) at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.getDeploySite(AbstractDeployMojo.java:235) at org.apache.maven.plugins.site.deploy.AbstractDeployMojo.execute(AbstractDeployMojo.java:166) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) ... 20 more{noformat} is it the failure everybody see in real world? > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-it.patch, > MSITE-604-it.patch, MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, > MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRep
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörg Schaible updated MSITE-604: Attachment: MSITE-604-it.patch Gotcha! The problem occurs if the pom has a parent with substitutions. The attempt to calculate a relative URL for the child fails badly. Patch for IT updated. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-it.patch, > MSITE-604-it.patch, MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, > MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörg Schaible updated MSITE-604: Attachment: MSITE-604-it.patch New MSITE-604-it.patch against svn rev 1630660. IT executed with: {noformat} rm -rf target/it mvn integration-test -Prun-its -Dinvoker.test=MSITE-604 {noformat} The patch modifies the IT to reflect my local setup. However, the embarrassing part is, that it succeeds. My setup: {noformat} $ mvn -version Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T22:58:10+02:00) Maven home: /usr/share/maven-bin-3.2 Java version: 1.7.0_67, vendor: Oracle Corporation Java home: /opt/oracle-jdk-bin-1.7.0.67/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.14.14-gentoo", arch: "amd64", family: "unix" {noformat} Nevertheless, I still have this error in my real projects: {noformat} [INFO] --- maven-site-plugin:3.4:deploy (default-cli) @ scalaris-commons-xam --- [INFO] Parent project loaded from repository: com.scalaris.buildsystem.maven2:master:pom:273 [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 25.222 s [INFO] Finished at: 2014-10-10T14:07:46+02:00 [INFO] Final Memory: 61M/603M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:deploy (default-cli) on project scalaris-commons-xam: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.4:deploy failed: Base URI is not absolute: $%7bscalaris.site.url.base%7d -> [Help 1] {noformat} In contrast to the IT, the site plugin generated some real reports before. Maybe the classpath is poluted with an old version of the component handling the substitutions in the URL? Can someone tell me, which component is internally actual responsible for it? > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-it.patch, > MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörg Schaible updated MSITE-604: Comment: was deleted (was: {color:red} Sorry, forget this, the error is in the path. I'll try to build another one. {color} New MSITE-604-it.patch against svn rev 1630660. IT executed with: rm -rf target/it mvn integration-test -Prun-its -Dinvoker.test=MSITE-604 Build fails, extract from build.log: {noformat} [INFO] --- maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) @ MSITE-604 --- [DEBUG] Configuring mojo org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT, parent: sun.misc.Launcher$AppClassLoader@2bb0bf9a] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy' with basic configurator --> [DEBUG] (f) chmod = true [DEBUG] (f) chmodMode = g+w,a+rX [DEBUG] (f) chmodOptions = -Rf [DEBUG] (f) inputDirectory = /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/target/site [DEBUG] (f) inputEncoding = UTF-8 [DEBUG] (f) localRepository = id: local url: file:///home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/local-repo/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] [DEBUG] (f) mavenSession = org.apache.maven.execution.MavenSession@75f3e0c5 [DEBUG] (f) project = MavenProject: org.apache.maven.plugins.site.its:MSITE-604:1.0-SNAPSHOT @ /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/pom.xml [DEBUG] (f) reactorProjects = [MavenProject: org.apache.maven.plugins.site.its:MSITE-604:1.0-SNAPSHOT @ /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/pom.xml] [DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter@7233d91f [DEBUG] (f) siteDirectory = /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/src/site [DEBUG] (f) skipDeploy = false [DEBUG] -- end configuration -- [DEBUG] Deploying to '${msite604.siteRepository.Root}/settingsRepositoryUrl/', Using credentials from server id 'settingsId' [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.506 s [INFO] Finished at: 2014-10-10T13:26:43+02:00 [INFO] Final Memory: 19M/214M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Wagon protocol '' doesn't support directory copying -> [Help 1] {noformat} As you can see, one of the properties of settings.xml has been substituted, the other one (containing the protocol) has not. {noformat} $ mvn -version Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T22:58:10+02:00) Maven home: /usr/share/maven-bin-3.2 Java version: 1.7.0_67, vendor: Oracle Corporation Java home: /opt/oracle-jdk-bin-1.7.0.67/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.14.14-gentoo", arch: "amd64", family: "unix" {noformat}) > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörg Schaible updated MSITE-604: Attachment: (was: MSITE-604-it.patch) > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354159#comment-354159 ] Jörg Schaible edited comment on MSITE-604 at 10/10/14 6:44 AM: --- {color:red} Sorry, forget this, the error is in the path. I'll try to build another one. {color} New MSITE-604-it.patch against svn rev 1630660. IT executed with: rm -rf target/it mvn integration-test -Prun-its -Dinvoker.test=MSITE-604 Build fails, extract from build.log: {noformat} [INFO] --- maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) @ MSITE-604 --- [DEBUG] Configuring mojo org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT, parent: sun.misc.Launcher$AppClassLoader@2bb0bf9a] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy' with basic configurator --> [DEBUG] (f) chmod = true [DEBUG] (f) chmodMode = g+w,a+rX [DEBUG] (f) chmodOptions = -Rf [DEBUG] (f) inputDirectory = /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/target/site [DEBUG] (f) inputEncoding = UTF-8 [DEBUG] (f) localRepository = id: local url: file:///home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/local-repo/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] [DEBUG] (f) mavenSession = org.apache.maven.execution.MavenSession@75f3e0c5 [DEBUG] (f) project = MavenProject: org.apache.maven.plugins.site.its:MSITE-604:1.0-SNAPSHOT @ /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/pom.xml [DEBUG] (f) reactorProjects = [MavenProject: org.apache.maven.plugins.site.its:MSITE-604:1.0-SNAPSHOT @ /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/pom.xml] [DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter@7233d91f [DEBUG] (f) siteDirectory = /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/src/site [DEBUG] (f) skipDeploy = false [DEBUG] -- end configuration -- [DEBUG] Deploying to '${msite604.siteRepository.Root}/settingsRepositoryUrl/', Using credentials from server id 'settingsId' [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.506 s [INFO] Finished at: 2014-10-10T13:26:43+02:00 [INFO] Final Memory: 19M/214M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Wagon protocol '' doesn't support directory copying -> [Help 1] {noformat} As you can see, one of the properties of settings.xml has been substituted, the other one (containing the protocol) has not. {noformat} $ mvn -version Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T22:58:10+02:00) Maven home: /usr/share/maven-bin-3.2 Java version: 1.7.0_67, vendor: Oracle Corporation Java home: /opt/oracle-jdk-bin-1.7.0.67/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.14.14-gentoo", arch: "amd64", family: "unix" {noformat} was (Author: joehni): New MSITE-604-it.patch against svn rev 1630660. IT executed with: rm -rf target/it mvn integration-test -Prun-its -Dinvoker.test=MSITE-604 Build fails, extract from build.log: {noformat} [INFO] --- maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) @ MSITE-604 --- [DEBUG] Configuring mojo org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT, parent: sun.misc.Launcher$AppClassLoader@2bb0bf9a] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy' with basic configurator --> [DEBUG] (f) chmod = true [DEBUG] (f) chmodMode = g+w,a+rX [DEBUG] (f) chmodOptions = -Rf [DEBUG] (f) inputDirectory = /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/target/site [DEBUG] (f) inputEncoding = UTF-8 [DEBUG] (f) localRepository = id: local url: file:///home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/local-repo/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] [DEBUG] (f) mavenSession = org.apache.maven.execution.MavenSession@75f3e0c5 [DEBUG] (f) project = MavenProject: org.apache.maven.plugins.site.its:MSITE-604:1.0-SNAPSHOT @ /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/pom.xml [DEBUG] (f) reactorProjects = [MavenProject: org.apache.maven.plugins.site.its:MSITE-604:1.0-SNAPSHOT @ /home/jos/src/Apache/Maven/Plu
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörg Schaible updated MSITE-604: Attachment: MSITE-604-it.patch New MSITE-604-it.patch against svn rev 1630660. IT executed with: rm -rf target/it mvn integration-test -Prun-its -Dinvoker.test=MSITE-604 Build fails, extract from build.log: {noformat} [INFO] --- maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) @ MSITE-604 --- [DEBUG] Configuring mojo org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT, parent: sun.misc.Launcher$AppClassLoader@2bb0bf9a] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy' with basic configurator --> [DEBUG] (f) chmod = true [DEBUG] (f) chmodMode = g+w,a+rX [DEBUG] (f) chmodOptions = -Rf [DEBUG] (f) inputDirectory = /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/target/site [DEBUG] (f) inputEncoding = UTF-8 [DEBUG] (f) localRepository = id: local url: file:///home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/local-repo/ layout: default snapshots: [enabled => true, update => always] releases: [enabled => true, update => always] [DEBUG] (f) mavenSession = org.apache.maven.execution.MavenSession@75f3e0c5 [DEBUG] (f) project = MavenProject: org.apache.maven.plugins.site.its:MSITE-604:1.0-SNAPSHOT @ /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/pom.xml [DEBUG] (f) reactorProjects = [MavenProject: org.apache.maven.plugins.site.its:MSITE-604:1.0-SNAPSHOT @ /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/pom.xml] [DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter@7233d91f [DEBUG] (f) siteDirectory = /home/jos/src/Apache/Maven/Plugins/maven-site-plugin/target/it/MSITE-604/src/site [DEBUG] (f) skipDeploy = false [DEBUG] -- end configuration -- [DEBUG] Deploying to '${msite604.siteRepository.Root}/settingsRepositoryUrl/', Using credentials from server id 'settingsId' [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.506 s [INFO] Finished at: 2014-10-10T13:26:43+02:00 [INFO] Final Memory: 19M/214M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4.1-SNAPSHOT:deploy (default-cli) on project MSITE-604: Wagon protocol '' doesn't support directory copying -> [Help 1] {noformat} As you can see, one of the properties of settings.xml has been substituted, the other one (containing the protocol) has not. {noformat} $ mvn -version Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T22:58:10+02:00) Maven home: /usr/share/maven-bin-3.2 Java version: 1.7.0_67, vendor: Oracle Corporation Java home: /opt/oracle-jdk-bin-1.7.0.67/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.14.14-gentoo", arch: "amd64", family: "unix" {noformat} > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-it.patch, > MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354113#comment-354113 ] Herve Boutemy edited comment on MSITE-604 at 10/10/14 1:04 AM: --- @wesson MSITE-683 is fixed in m-site-p 3.3, so I don't see how the problem is worse with MSITE-683 and if you look at my previous question: I can't reproduce your problem if I can't see any problem, I can't fix anything was (Author: hboutemy): @wesson MSITE-683 is fixed in m-site-p 3.3, so I don't see how the problem is worse with MSITE-683 and if yçou look at my previous question: I can't reproduce your problem no problem, no fix > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354113#comment-354113 ] Herve Boutemy commented on MSITE-604: - @wesson MSITE-683 is fixed in m-site-p 3.3, so I don't see how the problem is worse with MSITE-683 and if yçou look at my previous question: I can't reproduce your problem no problem, no fix > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=353935#comment-353935 ] wesson edited comment on MSITE-604 at 10/8/14 5:34 AM: --- Hi guys, any news here, what's the status? The problem is getting bigger and bigger, with https://jira.codehaus.org/browse/MSITE-683 we are not able to use maven > 3.1. We use the plugin in version 3.0-beta-3 and can't update to > 3.3 because of this bug. was (Author: wesson): Hi guys, any news here, what's the status? The problem is getting bigger and bigger, with https://jira.codehaus.org/browse/MSITE-683 we are not able to use maven > 3.1. We use the plugin in version 3.0-beta-3 and can't update to 3.3 because of this bug. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=353935#comment-353935 ] wesson commented on MSITE-604: -- Hi guys, any news here, what's the status? The problem is getting bigger and bigger, with https://jira.codehaus.org/browse/MSITE-683 we are not able to use maven > 3.1. We use the plugin in version 3.0-beta-3 and can't update to 3.3 because of this bug. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=352067#comment-352067 ] Herve Boutemy commented on MSITE-604: - Jörg, please provide a patch for the IT that shows the failure: I really don't have time to figure out how to reproduce your case > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=351303#comment-351303 ] Jörg Schaible commented on MSITE-604: - @Herve: The code that you are using for the IT in Subversion is not the one provided in the attachment. As long as you distribution site url starts with "file://" your test will not fail. See the real IT to reproduce the problem. We're now in the situation that we cannot release anymore at all. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=350816#comment-350816 ] Jeremie BOUSQUET commented on MSITE-604: Same issue here with m-site-p 3.3 and maven 3.1.0. In my case there is no overriding : property is defined only in settings.xml, not in pom.xml at all. Property is then not replaced at all in child links in generated html, you get "${property}", url-encoded, in the child modules links urls. In effective pom everything is correct though. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=325583#comment-325583 ] Herve Boutemy commented on MSITE-604: - MSITE-604 IT in maven-site-plugin is working perfectly: property defined in settings.xml is overriding value defined in pom.xml (even if I didn't expect it) see http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/MSITE-604/ I don't understand what is not working for you: if you can patch the actual IT to show something that is not working, I can work on it > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=325020#comment-325020 ] Jörg Schaible commented on MSITE-604: - Is there anything else we can do to bring this forward? We have now a release 3.3 and we're still, stuck with version 3.0-beta-3, since we cannot deploy our reports with any newer version! We do exactly, what Herve and Vincent said in their last comments: All properties used in the distribution URL are defined in the settings.xml, but instead of being interpolated they are URL escaped: {noformat} [INFO] --- maven-site-plugin:3.3:deploy (default-cli) @ scalaris-commons-xam --- [INFO] Parent project loaded from repository: com.scalaris.buildsystem.maven2:master:pom:261 [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 18.083s [INFO] Finished at: Tue May 14 08:58:55 CEST 2013 [INFO] Final Memory: 47M/385M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:deploy (default-cli) on project scalaris-commons-xam: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.3:deploy failed: Base URI is not absolute: $%7bscalaris.site.url.base%7d -> [Help 1] {noformat} An IT is available, a patch is available and all of it simply bit rots! > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312657#comment-312657 ] Jörg Schaible commented on MSITE-604: - bq. yes, you should force users to define the value in their settings.xml, and cannot provide a default value in pom for those that didn't do their config This is exactly what we do, but it does no longer work with anything newer than 3.0-beta-3. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312635#comment-312635 ] Herve Boutemy commented on MSITE-604: - yes, you should force users to define the value in their settings.xml, and cannot provide a default value in pom for those that didn't do their config (for the doc, I'm writing things I'm learning year after year on Maven internals, then doc is improving version after version: see http://maven.apache.org/ref/3.1-SNAPSHOT/ for latest improvements) > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312602#comment-312602 ] Vincent Latombe commented on MSITE-604: --- I think according to what Hervé said (I didn't know about the Model Interpolation link that you provided, thank you!), the property should be removed from pom.xml to get the property defined in settings.xml picked up instead. By the way, it is actually what I did in the IT I provided. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312600#comment-312600 ] Jörg Schaible commented on MSITE-604: - Actually I simply want a *solution*. Depending on the development machine, the distribution area is reachable with different URLs ranging from different mount mounts even to different protocols and the distribution URL *is* dependent on the local environment, therefore the only reasonable location for this value *is* settings.xml. Once deployed the distribution URL is no longer of any use anyway. Herve, you're right in general, but in the context of the site plugin the case is different at deployment time. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312600#comment-312600 ] Jörg Schaible edited comment on MSITE-604 at 10/30/12 5:55 AM: --- Actually I simply want a *solution*. Depending on the development machine, the distribution area is reachable with different URLs ranging from different mount points even to different protocols and the distribution URL *is* dependent on the local environment, therefore the only reasonable location for this value *is* settings.xml. Once deployed the distribution URL is no longer of any use anyway. Herve, you're right in general, but in the context of the site plugin the case is different at deployment time. was (Author: joehni): Actually I simply want a *solution*. Depending on the development machine, the distribution area is reachable with different URLs ranging from different mount mounts even to different protocols and the distribution URL *is* dependent on the local environment, therefore the only reasonable location for this value *is* settings.xml. Once deployed the distribution URL is no longer of any use anyway. Herve, you're right in general, but in the context of the site plugin the case is different at deployment time. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312598#comment-312598 ] Herve Boutemy edited comment on MSITE-604 at 10/30/12 5:39 AM: --- I think we're going forward and backward from deciding if poms should be interpolated by Maven core (= what has been done with MSITE-585) or not interpolated and tweaked like it seems expected here because Maven core interpolation rules are clear (see variable order in [Model Interpolation|http://maven.apache.org/ref/3.0.4/maven-model-builder/]): pom properties are used before settings properties, and CLI properties are used before pom properties just use mvn help:effective-pom and see IMHO, setting a property in pom and hoping to override its value with settings is a nonsense: if it worked once upon a time, this was pure hazard (and probably broke a lot of things because using non-interpolated pom: we did the ITs since then just to avoid re-doing the same mistakes again) was (Author: hboutemy): I think we're going forward and backward from deciding if projects should be interpolated by Maven (= what has been done with MSITE-585) core or not interpolated and tweaked like it seems expected here because Maven core interpolation rules are clear (see variable order in [Model Interpolation|http://maven.apache.org/ref/3.0.4/maven-model-builder/]): pom properties are used before settings properties, and CLI properties are used before pom properties just use mvn help:effective-pom and see IMHO, setting a property in pom and hoping to override its value with settings is a nonsense: if it worked once upon a time, this was pure hazard (and probably broke a lot of things because using non-interpolated pom: we did the ITs since then just to avoid re-doing the same mistakes over and over) > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312598#comment-312598 ] Herve Boutemy commented on MSITE-604: - I think we're going forward and backward from deciding if projects should be interpolated by Maven (= what has been done with MSITE-585) core or not interpolated and tweaked like it seems expected here because Maven core interpolation rules are clear (see variable order in [Model Interpolation|http://maven.apache.org/ref/3.0.4/maven-model-builder/]): pom properties are used before settings properties, and CLI properties are used before pom properties just use mvn help:effective-pom and see IMHO, setting a property in pom and hoping to override its value with settings is a nonsense: if it worked once upon a time, this was pure hazard (and probably broke a lot of things because using non-interpolated pom: we did the ITs since then just to avoid re-doing the same mistakes over and over) > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312291#comment-312291 ] Vincent Latombe commented on MSITE-604: --- I managed to do some additional tests, and it seems that my patch also fixes MSITE-632. I'm able to redefine distributionManagement in my child module and it overrides correctly the entry declared in the parent POM. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312289#comment-312289 ] Vincent Latombe edited comment on MSITE-604 at 10/25/12 8:46 AM: - I've managed to find some time to reproduce the issue, and I have updated the IT accordingly (see MSITE-604-it.patch). This IT fails if MSITE-604-maven3-2.patch isn't applied. Basically, the build will fail if the site url starts with an expression, which is only defined in settings.xml (not at pom.xml level). Also, it happens if the site definition is actually done in a parent pom, not in the pom itself. was (Author: vlatombe): I've managed to find some time to reproduce the issue, and I have updated the IT accordingly. This IT fails if MSITE-604-maven3-2.patch isn't applied. Basically, the build will fail if the site url starts with an expression, which is only defined in settings.xml (not at pom.xml level). Also, it happens if the site definition is actually done in a parent pom, not in the pom itself. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312289#comment-312289 ] Vincent Latombe commented on MSITE-604: --- I've managed to find some time to reproduce the issue, and I have updated the IT accordingly. This IT fails if MSITE-604-maven3-2.patch isn't applied. Basically, the build will fail if the site url starts with an expression, which is only defined in settings.xml (not at pom.xml level). Also, it happens if the site definition is actually done in a parent pom, not in the pom itself. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vincent Latombe updated MSITE-604: -- Attachment: MSITE-604-it.patch > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-it.patch, MSITE-604-maven3-2.patch, > MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311763#comment-311763 ] Joerg Schaible commented on MSITE-604: -- bq. What am I missing? Don't know. I even tried to modify the IT with: {noformat} Index: src/it/MSITE-604/invoker.properties === --- src/it/MSITE-604/invoker.properties (revision 1399549) +++ src/it/MSITE-604/invoker.properties (working copy) @@ -1 +1 @@ -invoker.profiles = msite604 +#invoker.profiles = msite604 Index: src/it/MSITE-604/pom.xml === --- src/it/MSITE-604/pom.xml(revision 1399549) +++ src/it/MSITE-604/pom.xml(working copy) @@ -33,14 +33,15 @@ UTF-8 +scpexe:// defaultId defaultRepositoryUrl ${msite604.siteRepositoryId} - file://@project.build.directory@/it/MSITE-604/target/${msite604.siteRepositoryUrl} + ${msite604.siteProtocol}@project.build.directory@/it/MSITE-604/target/${msite604.siteRepositoryUrl} Index: src/it/settings.xml === --- src/it/settings.xml (revision 1399549) +++ src/it/settings.xml (working copy) @@ -63,9 +63,13 @@ msite604 +file:// settingsId settingsRepositoryUrl + +msite604 + {noformat} but it runs still... However, even with version 3.2 we get in our real projects: {noformat} $ mvn clean site site:deploy ... [INFO] --- maven-site-plugin:3.2:deploy (default-cli) @ acmepro-report-parent --- [INFO] Parent project loaded from repository: buildsystem.maven:master:pom:x-SNAPSHOT [INFO] [INFO] Reactor Summary: [INFO] [INFO] acmepro Report Parent Project . FAILURE [13.295s] [INFO] acmepro Report Providers .. SKIPPED [INFO] acmepro Report EAR SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 15.701s [INFO] Finished at: Thu Oct 18 09:01:49 CEST 2012 [INFO] Final Memory: 26M/265M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.2:deploy (default-cli) on project acmepro-report-parent: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.2:deploy failed: Base URI is not absolute: $%7bacmepro.site.url.base%7d -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException {noformat} Since it retrieves the parent from the repository (which contains also an URL for the site with that property), it does probably complain about that one? > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, > MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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 > Mave
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Lundberg updated MSITE-604: -- Fix Version/s: (was: 3.1) backlog > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: backlog > > Attachments: MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, > MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297096#comment-297096 ] Lukas Theussl commented on MSITE-604: - I have [added an IT|http://svn.apache.org/viewvc?view=revision&revision=1329606], following the original description of the problem. It passes without your patch applied. What am I missing? > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: 3.1 > > Attachments: MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, > MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vincent Latombe updated MSITE-604: -- Attachment: MSITE-604-maven3-2.patch Second patch only on site-plugin, still limited to Maven 3 > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: 3.1 > > Attachments: MSITE-604-maven3-2.patch, MSITE-604-maven3.patch, > MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vincent Latombe updated MSITE-604: -- Attachment: MSITE-604-maven3.patch Attempt of fix for Maven 3. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: 3.1 > > Attachments: MSITE-604-maven3.patch, MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296956#comment-296956 ] Vincent Latombe commented on MSITE-604: --- It seems like in Doxia's DefaultSite#getParentProject the returned project isn't interpolated. In Maven 3, MNG-1943 is actually fixed so this method could return directly the result from MavenProject#getParent and it would solve this issue, at least in Maven 3 context. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: 3.1 > > Attachments: MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296956#comment-296956 ] Vincent Latombe edited comment on MSITE-604 at 4/22/12 7:09 AM: It seems like in Doxia's DefaultSiteTool#getParentProject the returned project isn't interpolated. In Maven 3, MNG-1943 is actually fixed so this method could return directly the result from MavenProject#getParent and it would solve this issue, at least in Maven 3 context. was (Author: vlatombe): It seems like in Doxia's DefaultSite#getParentProject the returned project isn't interpolated. In Maven 3, MNG-1943 is actually fixed so this method could return directly the result from MavenProject#getParent and it would solve this issue, at least in Maven 3 context. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: 3.1 > > Attachments: MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296746#comment-296746 ] Dennis Lundberg commented on MSITE-604: --- If I apply the proposed patch in MSITE-632 this issue goes away, but unfortunately the patch has other problems. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: 3.1 > > Attachments: MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=291371#comment-291371 ] Mykel Alvis commented on MSITE-604: --- Add'l test on (closed) duplicate issue MSITE-630 > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: 3.1 > > Attachments: MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290463#comment-290463 ] Joerg Schaible edited comment on MSITE-604 at 2/1/12 5:23 AM: -- We face the same problems. In our case we deploy the site documentation to our intranet and depending on the environment the base URL is a file protocol with different paths or scpexe. Therefore we have to use a property from settings.xml. The attached test project MSITE-604.tgz demonstrates the effect. Since our property contains the protocol, we get this "{{Wagon protocol '' doesn't support directory copying}}" error. However, it seems that the usage of a parent located in the repository is part of the problem. You may test the project with the call {noformat} mvn -s settings.xml clean package site site:deploy {noformat} Have a look at the README.txt for simple preparation and alternate calls to select the site-plugin version from command-line. M3 fails with site-plugin 3.0, but succeeds with 3.0-beta-3 and will generate no HTMLs for site-plugin version 2.x. M221 fails with site-plugin versions 3.0 and 2.3. I've also linked this issue to MNG-617, MNG-585 and MNG-501 that seem to be related. was (Author: joehni): We face the same problems. In our case we deploy the site documentation to our intranet and depending on the environment the base URL is a file protocol with different paths or scpexe. Therefore we have to use a property from settings.xml. The attached test project demonstrates the effect. Since our property contains the protocol, we get this "{{Wagon protocol '' doesn't support directory copying}}" error. However, it seems that the usage of a parent located in the repository is part of the problem. You may test the project with the call mvn -s settings.xml clean package site site:deploy Have a look at the README.txt for simple preparation and alternate calls to select the site-plugin version from command-line. M3 fails with site-plugin 3.0, but succeeds with 3.0-beta-3 and will generate no HTMLs for site-plugin version 2.x. M221 fails with site-plugin versions 3.0 and 2.3. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: 3.1 > > Attachments: MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290463#comment-290463 ] Joerg Schaible edited comment on MSITE-604 at 2/1/12 5:23 AM: -- We face the same problems. In our case we deploy the site documentation to our intranet and depending on the environment the base URL is a file protocol with different paths or scpexe. Therefore we have to use a property from settings.xml. The attached test project MSITE-604.tgz demonstrates the effect. Since our property contains the protocol, we get this "{{Wagon protocol '' doesn't support directory copying}}" error. However, it seems that the usage of a parent located in the repository is part of the problem. You may test the project with the call {noformat} mvn -s settings.xml clean package site site:deploy {noformat} Have a look at the README.txt for simple preparation and alternate calls to select the site-plugin version from command-line. M3 fails with site-plugin 3.0, but succeeds with 3.0-beta-3 and will generate no HTMLs for site-plugin version 2.x. M221 fails with site-plugin versions 3.0 and 2.3. I've also linked this issue to MSITE-617, MSITE-585 and MSITE-501 that seem to be related. was (Author: joehni): We face the same problems. In our case we deploy the site documentation to our intranet and depending on the environment the base URL is a file protocol with different paths or scpexe. Therefore we have to use a property from settings.xml. The attached test project MSITE-604.tgz demonstrates the effect. Since our property contains the protocol, we get this "{{Wagon protocol '' doesn't support directory copying}}" error. However, it seems that the usage of a parent located in the repository is part of the problem. You may test the project with the call {noformat} mvn -s settings.xml clean package site site:deploy {noformat} Have a look at the README.txt for simple preparation and alternate calls to select the site-plugin version from command-line. M3 fails with site-plugin 3.0, but succeeds with 3.0-beta-3 and will generate no HTMLs for site-plugin version 2.x. M221 fails with site-plugin versions 3.0 and 2.3. I've also linked this issue to MNG-617, MNG-585 and MNG-501 that seem to be related. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: 3.1 > > Attachments: MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joerg Schaible updated MSITE-604: - Attachment: MSITE-604.tgz We face the same problems. In our case we deploy the site documentation to our intranet and depending on the environment the base URL is a file protocol with different paths or scpexe. Therefore we have to use a property from settings.xml. The attached test project demonstrates the effect. Since our property contains the protocol, we get this "{{Wagon protocol '' doesn't support directory copying}}" error. However, it seems that the usage of a parent located in the repository is part of the problem. You may test the project with the call mvn -s settings.xml clean package site site:deploy Have a look at the README.txt for simple preparation and alternate calls to select the site-plugin version from command-line. M3 fails with site-plugin 3.0, but succeeds with 3.0-beta-3 and will generate no HTMLs for site-plugin version 2.x. M221 fails with site-plugin versions 3.0 and 2.3. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > Fix For: 3.1 > > Attachments: MSITE-604.tgz > > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ 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/ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira