[jira] (MANTTASKS-237) artifact:dependencies/ Task only checks Maven Repo Servers
[ https://jira.codehaus.org/browse/MANTTASKS-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325528#comment-325528 ] Thomas Pasch commented on MANTTASKS-237: I was fuzzy with point 2. Here's an more detailed description what should be done: 2. a) For Release dependencies: Check local cache. If dependency is not there, download it from remote repository server(s) to the cache. b) For SNAPSHOT dependencies: Check local cache and remote repository server(s) to find out which SHAPSHOT build is the newest. If the newest build is in cache, use it. Else, download it from server to cache and use it. The problem with Maven 2.x Ant Tasks Version 2.1.3 is that only the remote server(s) are queried about dependencies. Hence, it there is a local cached SNAPSHOT build that is newer than the one on the server(s), it will _not_ be used. artifact:dependencies/ Task only checks Maven Repo Servers Key: MANTTASKS-237 URL: https://jira.codehaus.org/browse/MANTTASKS-237 Project: Maven 2.x Ant Tasks Issue Type: Bug Components: dependencies task Affects Versions: 2.1.3 Environment: Ubuntu Raring/13.04 64bit, but most probably OS independant Reporter: Thomas Pasch Priority: Minor artifact:dependencies/ Task only checks Maven Repo Servers. This is wrong and best seen with SNAPSHOT dependencies. The dependency task should (also) take into account (in this proper sequence): 1. The current maven reactor, i.e. the modules to build currently. (This should be none, as the dependency task rather will build nothing.) 2. The local maven artifact cache (normally situated under ~/.m2/repository. 3. The repo servers defined in the pom.xml (and the default repo servers). (This is the only thing done currently.) -- 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] (MANTTASKS-234) artifact:dependencies does not download latest version SNAPSHOT dependency if already present locally
[ https://jira.codehaus.org/browse/MANTTASKS-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325529#comment-325529 ] Thomas Pasch commented on MANTTASKS-234: This is a little different from my own findings in MANTTASKS-237, where I concluded that more recent SNAPSHOT builds in cache are _never_ considered. However, I would agree that there is something wrong with artifact:dependencies... artifact:dependencies does not download latest version SNAPSHOT dependency if already present locally - Key: MANTTASKS-234 URL: https://jira.codehaus.org/browse/MANTTASKS-234 Project: Maven 2.x Ant Tasks Issue Type: Bug Components: dependencies task Affects Versions: 2.1.3 Environment: Windows Reporter: Justin Rowe We are using artifact:dependencies to trigger download of an artifact from a remote repo to the local repo. When the dependency is a SNAPSHOT dependency, it only seems to check that the dependency exists in the local repo, it does not check that there is a more recent snapshot in the remote repo. So the snapshot artifact does not get updated with the latest version. My workaround is to call this artifact:dependencies, delete the artifact that is referred to in the property that gets set by this task, and then call artifact:dependencies again to ensure that we have the correct version. -- 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] (MANTTASKS-237) artifact:dependencies/ Task only checks Maven Repo Servers
[ https://jira.codehaus.org/browse/MANTTASKS-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325532#comment-325532 ] Thomas Pasch commented on MANTTASKS-237: MANTTASKS-234 also reports problems with artifact:dependencies/ but has different findings. MANTTASKS-233 suggests to use a more recent version of the maven-dependency-plugin (and mvn3). MANTTASKS-232 suggests to use mvn3 (instead of mvn2). I would consent to both (and I guess that the problem reported here would be gone with this change(s)). As a workaround one could use the [dependency:copy|https://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html] task from the maven-dependency-plugin directly. But this is more or less the advice to abstain from using Maven 2.x Ant Tasks completely. artifact:dependencies/ Task only checks Maven Repo Servers Key: MANTTASKS-237 URL: https://jira.codehaus.org/browse/MANTTASKS-237 Project: Maven 2.x Ant Tasks Issue Type: Bug Components: dependencies task Affects Versions: 2.1.3 Environment: Ubuntu Raring/13.04 64bit, but most probably OS independant Reporter: Thomas Pasch Priority: Minor artifact:dependencies/ Task only checks Maven Repo Servers. This is wrong and best seen with SNAPSHOT dependencies. The dependency task should (also) take into account (in this proper sequence): 1. The current maven reactor, i.e. the modules to build currently. (This should be none, as the dependency task rather will build nothing.) 2. The local maven artifact cache (normally situated under ~/.m2/repository. 3. The repo servers defined in the pom.xml (and the default repo servers). (This is the only thing done currently.) -- 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] (MPLUGINTESTING-27) ClassDefNotFound exception
Artur Keska created MPLUGINTESTING-27: - Summary: ClassDefNotFound exception Key: MPLUGINTESTING-27 URL: https://jira.codehaus.org/browse/MPLUGINTESTING-27 Project: Maven 2.x Plugin Testing Issue Type: Bug Components: plugin-testing-harness Affects Versions: 2.1 Environment: Maven 3.0.4, JDK 1.7, MacOSx Reporter: Artur Keska I'm trying to extend an existing project using p.-t.-hatness. So I added to my project dependency: dependency groupIdorg.apache.maven.plugin-testing/groupId artifactIdmaven-plugin-testing-harness/artifactId version2.1/version scopetest/scope /dependency And extended the test class follow the quick start guide. On the first run I have following exception: rg.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null java.lang.reflect.InvocationTargetException 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:601) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) Caused by: java.lang.NoClassDefFoundError: org/sonatype/aether/RepositorySystemSession at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) at java.lang.Class.getMethod0(Class.java:2685) at java.lang.Class.getMethod(Class.java:1620) at org.apache.maven.surefire.common.junit3.JUnit3Reflector.createInstanceFromSuiteMethod(JUnit3Reflector.java:152) at org.apache.maven.surefire.common.junit3.JUnit3Reflector.constructTestObject(JUnit3Reflector.java:121) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:71) at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:117) at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:94) ... 9 more Caused by: java.lang.ClassNotFoundException: org.sonatype.aether.RepositorySystemSession at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 18 more It loks like the Aether classes are not found. So I simply added dependency: dependency groupIdcom.rempl/groupId artifactIdrempl-cli/artifactId version1.1.3/version classifierbin/classifier scopetest/scope /dependency And now I have exception: Caused by: java.lang.ClassNotFoundException: org.apache.maven.execution.MavenExecutionRequest That's funny because MavenExecutionRequest is a part of the Maven core and should be just available. Anyway I checked what's happend if I will add maven-core manually. When adding dependency: dependency groupIdorg.apache.maven/groupId artifactIdmaven-core/artifactId version${maven-version}/version scopetest/scope /dependency I have another error: Caused by: java.lang.ClassNotFoundException: org.apache.maven.execution.MavenExecutionResult Hmmm... This is also a part of maven-core. This brings me to the conclusion, that trying to add dependencies manually was was a bad idea and there must be another solution. I will appreciative for any idea what can I do. -- 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] (MCHECKSTYLE-42) checkstyle does not take into account proxy settings from settings.xml
[ https://jira.codehaus.org/browse/MCHECKSTYLE-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arlo Louis O'Keeffe updated MCHECKSTYLE-42: --- Attachment: fix-proxy-usage.patch I created a simple patch that uses cargo's approach for applying the proxy settings. It's not beautiful but it works. checkstyle does not take into account proxy settings from settings.xml -- Key: MCHECKSTYLE-42 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-42 Project: Maven 2.x Checkstyle Plugin Issue Type: Bug Affects Versions: 2.0 Reporter: Frederic Attachments: fix-proxy-usage.patch I've been hesitating wether to report it as bug or as improvement, but at the moment I'd rate it as a bug. It took me quite some time to figure out why this was going wrong. In my settings.xml I've defined our company proxysettings. These settings are used by Maven when connecting to the remote repository. However when using the checkstyle plugin as part of the site generation I can not obtain our checkstyle.xml which is available via http. I found a solution by adding the following parameters on the command line when continuum launches maven: -Dhttp.proxyHost=myproxy -Dhttp.proxyPort=80 Wouldn't it be possible for the maven checkstyle plugin to use the settings defined in settings.xml, so I've only to define those once? FYI the error generated: [INFO] Generate Dependencies report. [INFO] Generate Issue Tracking report. [INFO] Generate Project License report. [INFO] Generate Mailing Lists report. [INFO] Generate Source Repository report. [INFO] Generate Project Team report. [INFO] Generate Maven Surefire Report report. [INFO] Generate Checkstyle report. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error during report generation Embedded error: Unable to find configuration file location. http://spirou.mycompany.be/javadev/install/checkstyle/mycompany-checkstyle-1.5.xml [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error during report generation at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error during report generation at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:389) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) ... 16 more Caused by: org.apache.maven.reporting.MavenReportException: Unable to find configuration file location. at org.apache.maven.plugin.checkstyle.CheckstyleReport.getConfigFile(CheckstyleReport.java:879) at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(CheckstyleReport.java:466) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98) at org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802) at
[jira] (MSITE-669) site:stage creates incorrect structure when module paths contains sets of ../
[ https://jira.codehaus.org/browse/MSITE-669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325571#comment-325571 ] Lennart Jorelid commented on MSITE-669: --- OK; I have tested the newly released m-s-p with the new features regarding the topSiteURL property. Some thoughts on the matter: # Staging and stage-deploying a site now mainly works as expected for nonstandard reactors. Some navigational problems might be addressed in future releases. (Breadcrumbs, sitemap) # The documentation in the m-s-p in regards to how the topSiteURL property should be used - and how it should relate to the distributionManagement/site/url could be clearer by an example (and also within the documentation of the topSiteURL property itself). I will submit a patch with this. ... but this is a great release; m-s-p is now useable for our reactors. site:stage creates incorrect structure when module paths contains sets of ../ --- Key: MSITE-669 URL: https://jira.codehaus.org/browse/MSITE-669 Project: Maven 2.x and 3.x Site Plugin Issue Type: Bug Components: multi module, relative links, site:stage(-deploy) Affects Versions: 3.1, 3.2 Reporter: Lennart Jorelid Assignee: Lukas Theussl Attachments: msite_669.patch, msite_669_v2.patch, msite_669_v3.patch, msite_669_v4.patch, nazgul_tools_project_dependencies.png, nazgul_tools_reactor_structure.png, sample.zip Given the module definitions given below, the site:stage goal produces sets of maps relative to the staging directory - i.e. outside of the target directory. {code:xml} modules module../../validation/validation-api/module module../../validation/validation-aspect/module module../parent/module /modules {code} The staged site should be fully included within the staging directory. It would appear that relativization of links for site:stage should take special links into consideration. -- 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-501) Properties overwritten by settings.xml are ignored when creating parent-links
[ https://jira.codehaus.org/browse/MSITE-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Herve Boutemy updated MSITE-501: Description: Our Parent has a url defined by {code:xml}url${site.access.url}/url{code} where {code:xml}properties site.access.urlhttp://testdoku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url /properties{code} this site.access-url is overwritten by settings.xml on our production server to the production-server: {code:xml}site.access.urlhttp://doku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url{code} (this is for security reasons to avoid productive-changes on misconfigured testing-systems) Unfortunately on our production-server links to the parentPom are generated only by the properties of the parentPom ignoring the settings.xml (which is used everywhere else). Therefore the parent-links are pointing to the testing system and not to production system! As we are not generating releasePoms (as we need some properties to be present in order to allow changing by children) we have no chance to generate correct links without putting them directly in the pom :-( Steps to Reproduce: Generate a parentPom: {code:xml}properties site.access.urlhttp://testdoku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url /properties url${site.access.url}/url{code} Generate a second project using the parent put in your settings.xml: {code:xml}site.access.urlhttp://doku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url{code} an run site for the child - the parentLink is wrong! was: Our Parent has a url defined by url${site.access.url}/url where properties site.access.urlhttp://testdoku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url /properties this site.access-url is overwritten by settings.xml on our production server to the production-server: site.access.urlhttp://doku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url (this is for security reasons to avoid productive-changes on misconfigured testing-systems) Unfortunately on our production-server links to the parentPom are generated only by the properties of the parentPom ignoring the settings.xml (which is used everywhere else). Therefore the parent-links are pointing to the testing system and not to production system! As we are not generating releasePoms (as we need some properties to be present in order to allow changing by children) we have no chance to generate correct links without putting them directly in the pom :-( Steps to Reproduce: Generate a parentPom: properties site.access.urlhttp://testdoku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url /properties url${site.access.url}/url Generate a second project using the parent put in your settings.xml: site.access.urlhttp://doku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url an run site for the child - the parentLink is wrong! Properties overwritten by settings.xml are ignored when creating parent-links - Key: MSITE-501 URL: https://jira.codehaus.org/browse/MSITE-501 Project: Maven 2.x and 3.x Site Plugin Issue Type: Bug Components: property interpolation Affects Versions: 2.1.1 Environment: Maven 2.2.1, Site-Plugin 2.1.1, Linux x86_64 Reporter: Michael Wenig Our Parent has a url defined by {code:xml}url${site.access.url}/url{code} where {code:xml}properties site.access.urlhttp://testdoku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url /properties{code} this site.access-url is overwritten by settings.xml on our production server to the production-server: {code:xml}site.access.urlhttp://doku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url{code} (this is for security reasons to avoid productive-changes on misconfigured testing-systems) Unfortunately on our production-server links to the parentPom are generated only by the properties of the parentPom ignoring the settings.xml (which is used everywhere else). Therefore the parent-links are pointing to the testing system and not to production system! As we are not generating releasePoms (as we need some properties to be present in order to allow changing by children) we have no chance to generate correct links without putting them directly in the pom :-( Steps to Reproduce: Generate a parentPom: {code:xml}properties site.access.urlhttp://testdoku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url /properties url${site.access.url}/url{code} Generate a second project using the parent put in your settings.xml:
[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-tabpanelfocusedCommentId=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} distributionManagement site id${acme-corporate-pom.siteRepositoryId}/id url${acme-corporate-pom.siteRepositoryUrl}/url /site /distributionManagement {code} Where the default property values are defined in the pom: {code} properties acme-corporate-pom.siteRepositoryIdacme-site/acme-corporate-pom.siteRepositoryId acme-corporate-pom.siteRepositoryUrlscp://sites.intranet.acme.com/var/www/acme-corporate-pom.siteRepositoryUrl /properties {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 {{activeProfiles}} element. It looks, than only m-site-p ignores properties defined in the {{settings.xml}} file. m-deploy-p recognizes properties as I expected (distribution management section for articats deployment is configured in similar way to site deployment). -- Marcin Kuthan Maven For Enterprise - http://code.google.com/p/m4enterprise/ -- 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-501) Properties overwritten by settings.xml are ignored when creating parent-links
[ https://jira.codehaus.org/browse/MSITE-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325584#comment-325584 ] Herve Boutemy commented on MSITE-501: - can you provide a test zip? I can't reproduce (and will be forced to close the issue as cannot reproduce) Properties overwritten by settings.xml are ignored when creating parent-links - Key: MSITE-501 URL: https://jira.codehaus.org/browse/MSITE-501 Project: Maven 2.x and 3.x Site Plugin Issue Type: Bug Components: property interpolation Affects Versions: 2.1.1 Environment: Maven 2.2.1, Site-Plugin 2.1.1, Linux x86_64 Reporter: Michael Wenig Our Parent has a url defined by {code:xml}url${site.access.url}/url{code} where {code:xml}properties site.access.urlhttp://testdoku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url /properties{code} this site.access-url is overwritten by settings.xml on our production server to the production-server: {code:xml}site.access.urlhttp://doku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url{code} (this is for security reasons to avoid productive-changes on misconfigured testing-systems) Unfortunately on our production-server links to the parentPom are generated only by the properties of the parentPom ignoring the settings.xml (which is used everywhere else). Therefore the parent-links are pointing to the testing system and not to production system! As we are not generating releasePoms (as we need some properties to be present in order to allow changing by children) we have no chance to generate correct links without putting them directly in the pom :-( Steps to Reproduce: Generate a parentPom: {code:xml}properties site.access.urlhttp://testdoku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url /properties url${site.access.url}/url{code} Generate a second project using the parent put in your settings.xml: {code:xml}site.access.urlhttp://doku.ourdomain.de/mvn-sites/${groupId}/${artifactId}/${version}/site.access.url{code} an run site for the child - the parentLink is wrong! -- 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-672) Interpolation of site deploy URL not done in child
[ https://jira.codehaus.org/browse/MSITE-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Herve Boutemy closed MSITE-672. --- Resolution: Cannot Reproduce Assignee: Herve Boutemy Interpolation of site deploy URL not done in child -- Key: MSITE-672 URL: https://jira.codehaus.org/browse/MSITE-672 Project: Maven 2.x and 3.x Site Plugin Issue Type: Bug Components: site:deploy Affects Versions: 3.0 Environment: Debian Linux OpenJDK 7 mvn 3.0.4 Reporter: Fred Cooke Assignee: Herve Boutemy I have my parent distribution site config filled out like so: {{urlscp://private-site/home/private/site/releases/$\{project.groupId}/$\{project.artifactId}/$\{project.version}//url}} When the child tries to release:perform or {{site:deploy}} it tries to upload with the parent arifactId, groupId and version instead of the current project values. These should be interpolated like any other variables in the POM to prevent needless duplication in all children. -- 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-632) site from child module ignored
[ https://jira.codehaus.org/browse/MSITE-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325585#comment-325585 ] Herve Boutemy commented on MSITE-632: - I don't understand the issue, I can't reproduce: can you attach a sample zip, effective result and expected result? site from child module ignored Key: MSITE-632 URL: https://jira.codehaus.org/browse/MSITE-632 Project: Maven 2.x and 3.x Site Plugin Issue Type: Bug Components: site:deploy Affects Versions: 3.0 Reporter: Kohsuke Kawaguchi In trying to deploy https://github.com/kohsuke/windows-package-checker/tree/4658075119d6ce9e4d6b9975342bbbef477d5f50 , I noticed that the site I specified in this POM is ignored and the one specified in the parent is used instead. The same site deploys as expected with Maven2 with the site plugin 2.0-beta-7. Looking at the source code, I see that {{SiteDeployMojo.getDeployRepositoryURL()}} uses {{getRootSite}} to determine the site to deploy, which explains why my site definition is getting ignored. I believe the fix is to use the nearest site definition, not the one that's closest to the root of the inheritance chain. That is, the {{getRootSite()}} should be changed from: {code} protected Site getRootSite( MavenProject project ) throws MojoExecutionException { Site site = getSite( project ); MavenProject parent = project; while ( parent.getParent() != null ) { // MSITE-585, MNG-1943 parent = siteTool.getParentProject( parent, reactorProjects, localRepository ); try { site = getSite( parent ); } catch ( MojoExecutionException e ) { break; } } return site; } {code} to {code} protected Site getRootSite( MavenProject project ) throws MojoExecutionException { Site site = getSite( project ); MavenProject parent = project; while ( site ==null parent.getParent() != null ) { // MSITE-585, MNG-1943 parent = siteTool.getParentProject( parent, reactorProjects, localRepository ); try { site = getSite( parent ); } catch ( MojoExecutionException e ) { break; } } return site; } {code} -- 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-672) Interpolation of site deploy URL not done in child
[ https://jira.codehaus.org/browse/MSITE-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fred Cooke reopened MSITE-672: -- Sorry for the delay in replying, but closing this is absolutely not acceptable to me. Marking it as cannot reproduce is just plain inaccurate. Won't fix might be appropriate, but would still have resulted in my reopening with en emphatic Then I will! comment. *Some* solution *must* be found for this. My previous comment was written after a few glasses of wine, which may have been a contributing factor to me confusing the behaviour of m-site-p with that of m-release-p, which does in fact screw with the variable and differ from the effective-pom output. Your first link mentions nothing about such arbitrary transformations as far as I can tell, and I note that it's been updated today, and as such looked extra hard. Blind? Your second link states that Default value is: parent value [+ path adjustment] + artifactId for the site URL. If the parent does NOT contain a value, but ONLY a variable, then you should honour that variable being interpolated in the child as with all others. Variables, in Maven, as you well know, being a core committer, and infinitely more important than I, are universally interpolated at the lowest level. Trying to do otherwise is difficult in most cases. Here it's *impossible to get the right result without wholesale duplication of configuration. If my parent had an actual URL, then I'd be quite happy for the process you describe to take place, BUT IT DOESN'T have a URL, only a variable, intended to be determined in the child. Interpolation of site deploy URL not done in child -- Key: MSITE-672 URL: https://jira.codehaus.org/browse/MSITE-672 Project: Maven 2.x and 3.x Site Plugin Issue Type: Bug Components: site:deploy Affects Versions: 3.0 Environment: Debian Linux OpenJDK 7 mvn 3.0.4 Reporter: Fred Cooke Assignee: Herve Boutemy I have my parent distribution site config filled out like so: {{urlscp://private-site/home/private/site/releases/$\{project.groupId}/$\{project.artifactId}/$\{project.version}//url}} When the child tries to release:perform or {{site:deploy}} it tries to upload with the parent arifactId, groupId and version instead of the current project values. These should be interpolated like any other variables in the POM to prevent needless duplication in all children. -- 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] (MSHARED-270) Add Implementation-URL to DefaultImplementationEntries
[ https://jira.codehaus.org/browse/MSHARED-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325588#comment-325588 ] Michael Osipov commented on MSHARED-270: Fixed with http://svn.apache.org/r1486160 Add Implementation-URL to DefaultImplementationEntries -- Key: MSHARED-270 URL: https://jira.codehaus.org/browse/MSHARED-270 Project: Maven Shared Components Issue Type: Improvement Components: maven-archiver Affects Versions: maven-archiver-2.5 Reporter: Michael Osipov Assignee: Michael Osipov Original Estimate: 0 minutes Remaining Estimate: 0 minutes Add {{Implementation-URL}} to {{DefaultImplementationEntries}} section. By default this is also specified by Oracle: http://docs.oracle.com/javase/1.5.0/docs/guide/jar/jar.html The value could default to {{$\{project.url\}}}. This would be one-liner in http://maven.apache.org/shared/maven-archiver/xref/org/apache/maven/archiver/MavenArchiver.html#373 -- 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] (MSHARED-270) Add Implementation-URL to DefaultImplementationEntries
[ https://jira.codehaus.org/browse/MSHARED-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov closed MSHARED-270. -- Resolution: Fixed Add Implementation-URL to DefaultImplementationEntries -- Key: MSHARED-270 URL: https://jira.codehaus.org/browse/MSHARED-270 Project: Maven Shared Components Issue Type: Improvement Components: maven-archiver Affects Versions: maven-archiver-2.5 Reporter: Michael Osipov Assignee: Michael Osipov Original Estimate: 0 minutes Remaining Estimate: 0 minutes Add {{Implementation-URL}} to {{DefaultImplementationEntries}} section. By default this is also specified by Oracle: http://docs.oracle.com/javase/1.5.0/docs/guide/jar/jar.html The value could default to {{$\{project.url\}}}. This would be one-liner in http://maven.apache.org/shared/maven-archiver/xref/org/apache/maven/archiver/MavenArchiver.html#373 -- 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] (MSHARED-270) Add Implementation-URL to DefaultImplementationEntries
[ https://jira.codehaus.org/browse/MSHARED-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov updated MSHARED-270: --- Assignee: Michael Osipov Remaining Estimate: 0 minutes Original Estimate: 0 minutes Add Implementation-URL to DefaultImplementationEntries -- Key: MSHARED-270 URL: https://jira.codehaus.org/browse/MSHARED-270 Project: Maven Shared Components Issue Type: Improvement Components: maven-archiver Affects Versions: maven-archiver-2.5 Reporter: Michael Osipov Assignee: Michael Osipov Original Estimate: 0 minutes Remaining Estimate: 0 minutes Add {{Implementation-URL}} to {{DefaultImplementationEntries}} section. By default this is also specified by Oracle: http://docs.oracle.com/javase/1.5.0/docs/guide/jar/jar.html The value could default to {{$\{project.url\}}}. This would be one-liner in http://maven.apache.org/shared/maven-archiver/xref/org/apache/maven/archiver/MavenArchiver.html#373 -- 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] (MSHARED-270) Add Implementation-URL to DefaultImplementationEntries
[ https://jira.codehaus.org/browse/MSHARED-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov updated MSHARED-270: --- Fix Version/s: maven-archiver-2.6 Add Implementation-URL to DefaultImplementationEntries -- Key: MSHARED-270 URL: https://jira.codehaus.org/browse/MSHARED-270 Project: Maven Shared Components Issue Type: Improvement Components: maven-archiver Affects Versions: maven-archiver-2.5 Reporter: Michael Osipov Assignee: Michael Osipov Fix For: maven-archiver-2.6 Original Estimate: 0 minutes Remaining Estimate: 0 minutes Add {{Implementation-URL}} to {{DefaultImplementationEntries}} section. By default this is also specified by Oracle: http://docs.oracle.com/javase/1.5.0/docs/guide/jar/jar.html The value could default to {{$\{project.url\}}}. This would be one-liner in http://maven.apache.org/shared/maven-archiver/xref/org/apache/maven/archiver/MavenArchiver.html#373 -- 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] (MSKINS-80) Upgrade to Bootstrap 2.3 breaks design
[ https://jira.codehaus.org/browse/MSKINS-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325589#comment-325589 ] Michael Osipov commented on MSKINS-80: -- I'd like to propose to revert back to Bootstrap 2.2 because 1. no one has updated the site.vm and custom.css to Bootstrap 2.3 or does not yet knows the real changes in the model 2. such a change must not happen in a patch version This should be moved to a branch where changes can be safely examined. Upgrade to Bootstrap 2.3 breaks design -- Key: MSKINS-80 URL: https://jira.codehaus.org/browse/MSKINS-80 Project: Maven Skins Issue Type: Improvement Components: Fluido Skin Affects Versions: fluido-1.3.1 Reporter: Michael Osipov Attachments: bootstrap 2.2.png, bootstrap-2.2-to-2.3.patch, bootstrap 2.3.png Tried 1.3.1-SNAPSHOT from trunk. Bootstrap 2.3 is so different from 2.2 that many CSS styles aren't applied anymore because site.vm hasn't been adjusted for. Either go back to 2.2 or update site.vm accordingly. One example is li.divider, class is not applied due to changes. See attached screenshots. I guess there are more cases, this is one I have found on the first sight. At least for the given example it might be a bug in Bootstrap 2.3. -- 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] (MNG-3525) Settings.xml allowing mirror definitions inside profiles
[ https://jira.codehaus.org/browse/MNG-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325590#comment-325590 ] Mariusz Smykula commented on MNG-3525: -- Very useful option... Settings.xml allowing mirror definitions inside profiles Key: MNG-3525 URL: https://jira.codehaus.org/browse/MNG-3525 Project: Maven 2 3 Issue Type: Improvement Components: Profiles Affects Versions: 2.0.9 Environment: N/A Reporter: Paul Grove Fix For: Issues to be reviewed for 3.x I currently use Maven in 2 places 1. At work 2. Not at work At work we have a repository manager thus we have mirror properties in the settings.xml for the whole teams global settings. We also have a defined a number of repositories in our work profile so we can mirror these to different repo's managed by Archiva. Now when I work from home I have to comment out the mirror definitions and activate a home profile which does not define any repos so Maven just goes out to the WWW as normal. So the pain is having to comment out and un-comment the mirror settings every time I go from work to home and visa-versa. Can we not have the option to add mirrors inside profiles? -- 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-672) Interpolation of site deploy URL not done in child
[ https://jira.codehaus.org/browse/MSITE-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325598#comment-325598 ] Herve Boutemy edited comment on MSITE-672 at 5/24/13 7:29 PM: -- bq. Your first link mentions nothing about such arbitrary transformations as far as I can tell, and I note that it's been updated today, and as such looked extra hard. Blind? not blind, it has been published yesterday (notice the LATEST in the link, the content varies in time) bq. I'd be quite happy for the process you describe to take place, BUT IT DOESN'T have a URL, only a variable, intended to be determined in the child. You make a difference between a value that's an effective URL and a value that's a variable, but Maven model-builder doesn't make such difference: it works at String-level, the fact that parent value contains ${} doesn't change the fact that the actual artifactId is added during inheritance assembly (and before model interpolation, ie replacement of ${} with actual value) IIUC, we would require to be able to avoid default child urls calculation, consistently in project.url and project.distributionManagement.site.url, but probably not project.scm.[connection+developerConnection+url] (AFAIK, but perhaps someone will find a case where something similar in project.scm is useful: there was a discussion in case of git, if I remember correctly) Notice that it would be a Maven core change (to track with a MNG Jira issue): we need to be extremely clear before changing core, because it will be harder to change in time (not a plugin version, that can be different in every project) Notice that I understand the need to avoid copy/paste too: we're facing the exact same issue in Maven components since we introduced svnpubsub. The solution we found in Maven is: 1. introduce a maven.site.path property, that can contain references to artifactId property if needed, or fixed value if we don't want its value to change in child pom 2. copy/paste fixed url+project.distributionManagement.site.url value in every pom I know it's not ideal, but for the moment, I didn't find any solution that would be general, only hack was (Author: hboutemy): bq. Your first link mentions nothing about such arbitrary transformations as far as I can tell, and I note that it's been updated today, and as such looked extra hard. Blind? not blind, it has been published yesterday (notice the LATEST in the link, the content varies in time) bq. I'd be quite happy for the process you describe to take place, BUT IT DOESN'T have a URL, only a variable, intended to be determined in the child. You make a difference between a value that's an effective URL and a value that's a variable, but Maven model-builder doesn't make such difference: it works at String-level, the fact that parent value contains ${} doesn't change the fact that the actual artifactId is added during inheritance assembly (and before model interpolation, ie replacement of ${...} with actual value) IIUC, we would require to be able to avoid default child urls calculation, consistently in project.url and project.distributionManagement.site.url, but probably not project.scm.[connection+developerConnection+url] (AFAIK, but perhaps someone will find a case where something similar in project.scm is useful: there was a discussion in case of git, if I remember correctly) Notice that it would be a Maven core change (to track with a MNG Jira issue): we need to be extremely clear before changing core, because it will be harder to change in time (not a plugin version, that can be different in every project) Notice that I understand the need to avoid copy/paste too: we're facing the exact same issue in Maven components since we introduced svnpubsub. The solution we found in Maven is: 1. introduce a maven.site.path property, that can contain references to artifactId property if needed, or fixed value if we don't want its value to change in child pom 2. copy/paste fixed url+project.distributionManagement.site.url value in every pom I know it's not ideal, but for the moment, I didn't find any solution that would be general, only hack Interpolation of site deploy URL not done in child -- Key: MSITE-672 URL: https://jira.codehaus.org/browse/MSITE-672 Project: Maven 2.x and 3.x Site Plugin Issue Type: Bug Components: site:deploy Affects Versions: 3.0 Environment: Debian Linux OpenJDK 7 mvn 3.0.4 Reporter: Fred Cooke Assignee: Herve Boutemy I have my parent distribution site config filled out like so: {{urlscp://private-site/home/private/site/releases/$\{project.groupId}/$\{project.artifactId}/$\{project.version}//url}} When the child tries to
[jira] (MSITE-672) Interpolation of site deploy URL not done in child
[ https://jira.codehaus.org/browse/MSITE-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325598#comment-325598 ] Herve Boutemy commented on MSITE-672: - bq. Your first link mentions nothing about such arbitrary transformations as far as I can tell, and I note that it's been updated today, and as such looked extra hard. Blind? not blind, it has been published yesterday (notice the LATEST in the link, the content varies in time) bq. I'd be quite happy for the process you describe to take place, BUT IT DOESN'T have a URL, only a variable, intended to be determined in the child. You make a difference between a value that's an effective URL and a value that's a variable, but Maven model-builder doesn't make such difference: it works at String-level, the fact that parent value contains ${} doesn't change the fact that the actual artifactId is added during inheritance assembly (and before model interpolation, ie replacement of ${...} with actual value) IIUC, we would require to be able to avoid default child urls calculation, consistently in project.url and project.distributionManagement.site.url, but probably not project.scm.[connection+developerConnection+url] (AFAIK, but perhaps someone will find a case where something similar in project.scm is useful: there was a discussion in case of git, if I remember correctly) Notice that it would be a Maven core change (to track with a MNG Jira issue): we need to be extremely clear before changing core, because it will be harder to change in time (not a plugin version, that can be different in every project) Notice that I understand the need to avoid copy/paste too: we're facing the exact same issue in Maven components since we introduced svnpubsub. The solution we found in Maven is: 1. introduce a maven.site.path property, that can contain references to artifactId property if needed, or fixed value if we don't want its value to change in child pom 2. copy/paste fixed url+project.distributionManagement.site.url value in every pom I know it's not ideal, but for the moment, I didn't find any solution that would be general, only hack Interpolation of site deploy URL not done in child -- Key: MSITE-672 URL: https://jira.codehaus.org/browse/MSITE-672 Project: Maven 2.x and 3.x Site Plugin Issue Type: Bug Components: site:deploy Affects Versions: 3.0 Environment: Debian Linux OpenJDK 7 mvn 3.0.4 Reporter: Fred Cooke Assignee: Herve Boutemy I have my parent distribution site config filled out like so: {{urlscp://private-site/home/private/site/releases/$\{project.groupId}/$\{project.artifactId}/$\{project.version}//url}} When the child tries to release:perform or {{site:deploy}} it tries to upload with the parent arifactId, groupId and version instead of the current project values. These should be interpolated like any other variables in the POM to prevent needless duplication in all children. -- 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-672) Interpolation of site deploy URL not done in child
[ https://jira.codehaus.org/browse/MSITE-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Herve Boutemy updated MSITE-672: Issue Type: Wish (was: Bug) Interpolation of site deploy URL not done in child -- Key: MSITE-672 URL: https://jira.codehaus.org/browse/MSITE-672 Project: Maven 2.x and 3.x Site Plugin Issue Type: Wish Components: site:deploy Affects Versions: 3.0 Environment: Debian Linux OpenJDK 7 mvn 3.0.4 Reporter: Fred Cooke Assignee: Herve Boutemy I have my parent distribution site config filled out like so: {{urlscp://private-site/home/private/site/releases/$\{project.groupId}/$\{project.artifactId}/$\{project.version}//url}} When the child tries to release:perform or {{site:deploy}} it tries to upload with the parent arifactId, groupId and version instead of the current project values. These should be interpolated like any other variables in the POM to prevent needless duplication in all children. -- 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-672) Interpolation of site deploy URL not done in child
[ https://jira.codehaus.org/browse/MSITE-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325599#comment-325599 ] Herve Boutemy commented on MSITE-672: - changed the issue type from bug to wish Interpolation of site deploy URL not done in child -- Key: MSITE-672 URL: https://jira.codehaus.org/browse/MSITE-672 Project: Maven 2.x and 3.x Site Plugin Issue Type: Wish Components: site:deploy Affects Versions: 3.0 Environment: Debian Linux OpenJDK 7 mvn 3.0.4 Reporter: Fred Cooke Assignee: Herve Boutemy I have my parent distribution site config filled out like so: {{urlscp://private-site/home/private/site/releases/$\{project.groupId}/$\{project.artifactId}/$\{project.version}//url}} When the child tries to release:perform or {{site:deploy}} it tries to upload with the parent arifactId, groupId and version instead of the current project values. These should be interpolated like any other variables in the POM to prevent needless duplication in all children. -- 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-672) Interpolation of site deploy URL not done in child
[ https://jira.codehaus.org/browse/MSITE-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325598#comment-325598 ] Herve Boutemy edited comment on MSITE-672 at 5/24/13 7:33 PM: -- bq. Your first link mentions nothing about such arbitrary transformations as far as I can tell, and I note that it's been updated today, and as such looked extra hard. Blind? not blind, it has been published yesterday (notice the LATEST in the link, the content varies in time) bq. I'd be quite happy for the process you describe to take place, BUT IT DOESN'T have a URL, only a variable, intended to be determined in the child. You make a difference between a value that's an effective URL and a value that's a variable, but Maven model-builder doesn't make such difference: it works at String-level, the fact that parent value contains ${} doesn't change the fact that the actual artifactId is added during inheritance assembly (and before model interpolation, ie replacement of ${} with actual value) IIUC, we would require to be able to avoid default child urls calculation, consistently in project.url and project.distributionManagement.site.url, but probably not project.scm.[connection+developerConnection+url] (AFAIK, but perhaps someone will find a case where something similar in project.scm is useful: there was a discussion in case of git, if I remember correctly) Notice that it would be a Maven core change (to track with a MNG Jira issue): we need to be extremely clear before changing core, because it will be harder to change in time (not a plugin version, that can be different in every project) Notice that I understand the need to avoid copy/paste too: we're facing the exact same issue in Maven components since we introduced svnpubsub. The solution we found in Maven is: 1. introduce a maven.site.path property, that can contain references to artifactId property if needed, or fixed value if we don't want its value to change in child pom 2. copy/paste fixed url+project.distributionManagement.site.url value in every pom, with fixed value that references previous maven.site.path property I know it's not ideal, but for the moment, I didn't find any solution that would be general, only hack was (Author: hboutemy): bq. Your first link mentions nothing about such arbitrary transformations as far as I can tell, and I note that it's been updated today, and as such looked extra hard. Blind? not blind, it has been published yesterday (notice the LATEST in the link, the content varies in time) bq. I'd be quite happy for the process you describe to take place, BUT IT DOESN'T have a URL, only a variable, intended to be determined in the child. You make a difference between a value that's an effective URL and a value that's a variable, but Maven model-builder doesn't make such difference: it works at String-level, the fact that parent value contains ${} doesn't change the fact that the actual artifactId is added during inheritance assembly (and before model interpolation, ie replacement of ${} with actual value) IIUC, we would require to be able to avoid default child urls calculation, consistently in project.url and project.distributionManagement.site.url, but probably not project.scm.[connection+developerConnection+url] (AFAIK, but perhaps someone will find a case where something similar in project.scm is useful: there was a discussion in case of git, if I remember correctly) Notice that it would be a Maven core change (to track with a MNG Jira issue): we need to be extremely clear before changing core, because it will be harder to change in time (not a plugin version, that can be different in every project) Notice that I understand the need to avoid copy/paste too: we're facing the exact same issue in Maven components since we introduced svnpubsub. The solution we found in Maven is: 1. introduce a maven.site.path property, that can contain references to artifactId property if needed, or fixed value if we don't want its value to change in child pom 2. copy/paste fixed url+project.distributionManagement.site.url value in every pom I know it's not ideal, but for the moment, I didn't find any solution that would be general, only hack Interpolation of site deploy URL not done in child -- Key: MSITE-672 URL: https://jira.codehaus.org/browse/MSITE-672 Project: Maven 2.x and 3.x Site Plugin Issue Type: Wish Components: site:deploy Affects Versions: 3.0 Environment: Debian Linux OpenJDK 7 mvn 3.0.4 Reporter: Fred Cooke Assignee: Herve Boutemy I have my parent distribution site config filled out like so:
[jira] (MSITE-672) Interpolation of site deploy URL not done in child
[ https://jira.codehaus.org/browse/MSITE-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=325598#comment-325598 ] Herve Boutemy edited comment on MSITE-672 at 5/24/13 7:36 PM: -- bq. Your first link mentions nothing about such arbitrary transformations as far as I can tell, and I note that it's been updated today, and as such looked extra hard. Blind? not blind, it has been published yesterday (notice the LATEST in the link, the content varies in time) bq. I'd be quite happy for the process you describe to take place, BUT IT DOESN'T have a URL, only a variable, intended to be determined in the child. You make a difference between a value that's an effective URL and a value that's a variable, but Maven model-builder doesn't make such difference: it works at String-level, the fact that parent value contains ${} doesn't change the fact that the actual artifactId is added during inheritance assembly (and before model interpolation, ie replacement of ${} with actual value) IIUC, we would require to be able to avoid default child urls calculation, consistently in project.url and project.distributionManagement.site.url, but probably not project.scm.[connection+developerConnection+url] (AFAIK, but perhaps someone will find a case where something similar in project.scm is useful: there was a discussion in case of git, if I remember correctly) Notice that it would be a Maven core change (to track with a MNG Jira issue): we need to be extremely clear before changing core, because it will be harder to change in time (not a plugin version, that can be different in every project) Notice that I understand the need to avoid copy/paste too: we're facing the exact same issue in Maven components since we introduced svnpubsub. The solution we found in Maven is: 1. introduce a maven.site.path property, that can contain references to artifactId property if needed, or fixed value if we don't want its value to change in child pom 2. copy/paste fixed url+project.distributionManagement.site.url value in every pom, with fixed value that references previous maven.site.path property (see [maven-site-plugin pom|http://svn.apache.org/viewvc/maven/plugins/tags/maven-site-plugin-3.3/pom.xml?revision=1480826view=markup#l185] for example) I know it's not ideal, but for the moment, I didn't find any solution that would be general, only hack was (Author: hboutemy): bq. Your first link mentions nothing about such arbitrary transformations as far as I can tell, and I note that it's been updated today, and as such looked extra hard. Blind? not blind, it has been published yesterday (notice the LATEST in the link, the content varies in time) bq. I'd be quite happy for the process you describe to take place, BUT IT DOESN'T have a URL, only a variable, intended to be determined in the child. You make a difference between a value that's an effective URL and a value that's a variable, but Maven model-builder doesn't make such difference: it works at String-level, the fact that parent value contains ${} doesn't change the fact that the actual artifactId is added during inheritance assembly (and before model interpolation, ie replacement of ${} with actual value) IIUC, we would require to be able to avoid default child urls calculation, consistently in project.url and project.distributionManagement.site.url, but probably not project.scm.[connection+developerConnection+url] (AFAIK, but perhaps someone will find a case where something similar in project.scm is useful: there was a discussion in case of git, if I remember correctly) Notice that it would be a Maven core change (to track with a MNG Jira issue): we need to be extremely clear before changing core, because it will be harder to change in time (not a plugin version, that can be different in every project) Notice that I understand the need to avoid copy/paste too: we're facing the exact same issue in Maven components since we introduced svnpubsub. The solution we found in Maven is: 1. introduce a maven.site.path property, that can contain references to artifactId property if needed, or fixed value if we don't want its value to change in child pom 2. copy/paste fixed url+project.distributionManagement.site.url value in every pom, with fixed value that references previous maven.site.path property I know it's not ideal, but for the moment, I didn't find any solution that would be general, only hack Interpolation of site deploy URL not done in child -- Key: MSITE-672 URL: https://jira.codehaus.org/browse/MSITE-672 Project: Maven 2.x and 3.x Site Plugin Issue Type: Wish Components: site:deploy Affects Versions: 3.0 Environment: Debian Linux OpenJDK 7 mvn 3.0.4
[jira] [Closed] (MPOM-43) Prevent dependency with too recent bytecode from creeping in unnoticed
[ https://issues.apache.org/jira/browse/MPOM-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hervé Boutemy closed MPOM-43. - Resolution: Fixed Fix Version/s: MAVEN-24 Assignee: Hervé Boutemy Prevent dependency with too recent bytecode from creeping in unnoticed -- Key: MPOM-43 URL: https://issues.apache.org/jira/browse/MPOM-43 Project: Maven POMs Issue Type: Improvement Components: maven Affects Versions: MAVEN-23 Reporter: Hervé Boutemy Assignee: Hervé Boutemy Fix For: MAVEN-24 As a followup to http://www.mail-archive.com/dev@maven.apache.org/msg96659.html here's a patch that configures an additional enforcer rule to prevent using dependencies that were compiled with a compiler more recent than the maximum allowed. see https://jira.codehaus.org/browse/MNG-5481 -- 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] [Resolved] (MPOM-42) prepare svnpubsub documentation publication to /plugins-archives/artifactId-LATEST
[ https://issues.apache.org/jira/browse/MPOM-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hervé Boutemy resolved MPOM-42. --- Resolution: Fixed prepare svnpubsub documentation publication to /plugins-archives/artifactId-LATEST Key: MPOM-42 URL: https://issues.apache.org/jira/browse/MPOM-42 Project: Maven POMs Issue Type: Improvement Components: maven-plugins Affects Versions: MAVEN-PLUGINS-24 Reporter: Hervé Boutemy Assignee: Hervé Boutemy Fix For: MAVEN-PLUGINS-25 site staging for each plugin will simply be done with mvn -Preporting site-deploy if a svn commit issue happens, restarting svnpubsub publication: mvn scm-publish:publish-scm then release staging: svn cp https://svn.apache.org/repos/infra/websites/production/maven/content/plugins-archives/[artifactId]-LATEST https://svn.apache.org/repos/infra/websites/production/maven/content/plugins-archives/[artifactId]-[version] -m 'staging [artifactId] [version] documentation' then final release documentation publication: svnmucc -U https://svn.apache.org/repos/infra/websites/production/maven/content rm plugins/[artifactId] cp HEAD plugins-archives/[artifactId]-[version] plugins/[artifactId] -m 'publishing [artifactId] [version] documentation' -- 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] [Resolved] (MPOM-41) add run-its profile to release plugin execution
[ https://issues.apache.org/jira/browse/MPOM-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hervé Boutemy resolved MPOM-41. --- Resolution: Fixed add run-its profile to release plugin execution --- Key: MPOM-41 URL: https://issues.apache.org/jira/browse/MPOM-41 Project: Maven POMs Issue Type: Improvement Components: maven-plugins Affects Versions: MAVEN-PLUGINS-24 Reporter: Hervé Boutemy Assignee: Hervé Boutemy Fix For: MAVEN-PLUGINS-25 actually, ITs are not run during release, then invoker report is empty (not shown at all) I tested this configuration during maven-site-plugin 3.3, maven-dependency-plugin 2.8 and maven-project-info-reports 2.7 releases with success -- 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] [Closed] (MPOM-36) Declare maven-dependency-plugin in pluginManagement
[ https://issues.apache.org/jira/browse/MPOM-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hervé Boutemy closed MPOM-36. - Resolution: Fixed Fix Version/s: ASF-14 Assignee: Hervé Boutemy done in r1484062 Declare maven-dependency-plugin in pluginManagement --- Key: MPOM-36 URL: https://issues.apache.org/jira/browse/MPOM-36 Project: Maven POMs Issue Type: Improvement Components: asf Affects Versions: ASF-10 Reporter: Stevo Slavic Assignee: Hervé Boutemy Priority: Minor Fix For: ASF-14 Attachments: MPOM-36.patch [Apache v10 pom|http://repo1.maven.org/maven2/org/apache/apache/10/apache-10.pom] declares common plugins and their versions in pluginManagement for reproducibility, but not [maven-dependency-plugin|http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/]. -- 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] [Commented] (MPOM-10) Apache Parent POM 9 apache-release profile issues
[ https://issues.apache.org/jira/browse/MPOM-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13666869#comment-13666869 ] Hervé Boutemy commented on MPOM-10: --- this is related to apache-source-release-assembly-descriptor, see http://maven.apache.org/apache-resource-bundles/apache-source-release-assembly-descriptor/ , which doesn't have any issue tracking at the moment Apache Parent POM 9 apache-release profile issues - Key: MPOM-10 URL: https://issues.apache.org/jira/browse/MPOM-10 Project: Maven POMs Issue Type: Bug Components: asf Reporter: Sebb The apache-release profile creates a zip archive of all the contents of the current directory tree (excluding SVN and target). This includes some files that should not be present in the zip, e.g. .pmd, .fbprefs, and DOAP files. These should be excluded from the archive. Also, the profile does not create a tar.gz version of source archive. -- 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