Re: Releasing plugin-tools soon
I'll let this slide towards (and maybe over) the weekend and I'll ping you guys about status then. Kristian 2012/10/29 Dennis Lundberg denn...@apache.org: Hi I'd like to take a look at MPLUGIN-223, if I can only find some time for it. I'm currently knee-deep in Assembly plugin. On 2012-10-29 18:21, Kristian Rosenvold wrote: I'm fixing MPLUGIN-229. If anyone else wants to hack away at something, now is the time to start ;) I'll start the release in a day or so unless someone wants more time. Kristian - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org -- Dennis Lundberg - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: MSITE-604 - Properties from settings.xml are not recognized in site distribution management
Hi, First: thanks for working on this! I have had a brief look and have a few comments: 1) your patch of IT MSITE-604 seems to address a different issue than the one originally described in the JIRA. If this is the case you should open a separate ticket. 2) I am wondering about the validity of the use case. You are putting the following property into a profile inside settings.xml: msite604.siteRepositoryUrlfile://@project.build.directory@/it/MSITE-604/target/settingsRepositoryUrl/msite604.siteRepositoryUrl However, the settings guide [1] states that only system and environment variables can be interpolated in settings.xml and furthermore, properties defined in profiles within the settings.xml cannot be used for interpolation at all. 3) Finally, the syntax @project.build.directory@ is known and used only by the invoker plugin (AFAIK) [2], the site plugin shouldn't be concerned with interpolating this. It is not clear to me how this would be relevant in a stand-alone project, maybe you can attach a small test project to reproduce the issue. I'd also appreciate the opinion of other devs with better property/interpolation knowledge, I confess I am confused by this issue... Cheers, -Lukas [1] http://maven.apache.org/settings.html [2] http://maven.apache.org/plugins/maven-invoker-plugin/examples/filtering.html On Mon, Oct 29, 2012 at 5:38 PM, Vincent Latombe vincent.lato...@gmail.com wrote: Hello, I think I have an acceptable IT + fix for this issue [1] (at least in Maven 3 context), so I would be really grateful if someone with karma could take a look at it and let me know about it :) Cheers, [1] http://jira.codehaus.org/browse/MSITE-604 -- Vincent - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: MSITE-604 - Properties from settings.xml are not recognized in site distribution management
Hi, thank you for your feedback! 1) Several issues are actually interleaved, I believe the patch I propose also fix MSITE-632, and maybe other related issues, I haven't reviewed them all. Overall, the root cause seems to be that the parent is returned without being interpolated (see my comment [1]). 2)3) I believe @...@ are replaced by maven-invoker-plugin before calling the IT itself, so from the IT, this is an absolute path. To sum up : - a parent pom is declaring the site url (including protocol) in a property that is provided *only* by settings.xml - the parent pom's site is correctly built/deployed - but, if you declare a child pom, it retrieves the site declaration from parent, not interpolated, so the plugin will complain about the missing protocol [2] Vincent [1] http://jira.codehaus.org/browse/MSITE-604?focusedCommentId=296956page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-296956 [2] http://jira.codehaus.org/browse/MSITE-604?focusedCommentId=290463page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-290463 2012/10/30 Lukas Theussl ltheu...@apache.org Hi, First: thanks for working on this! I have had a brief look and have a few comments: 1) your patch of IT MSITE-604 seems to address a different issue than the one originally described in the JIRA. If this is the case you should open a separate ticket. 2) I am wondering about the validity of the use case. You are putting the following property into a profile inside settings.xml: msite604.siteRepositoryUrlfile://@project.build.directory@ /it/MSITE-604/target/settingsRepositoryUrl/msite604.siteRepositoryUrl However, the settings guide [1] states that only system and environment variables can be interpolated in settings.xml and furthermore, properties defined in profiles within the settings.xml cannot be used for interpolation at all. 3) Finally, the syntax @project.build.directory@ is known and used only by the invoker plugin (AFAIK) [2], the site plugin shouldn't be concerned with interpolating this. It is not clear to me how this would be relevant in a stand-alone project, maybe you can attach a small test project to reproduce the issue. I'd also appreciate the opinion of other devs with better property/interpolation knowledge, I confess I am confused by this issue... Cheers, -Lukas [1] http://maven.apache.org/settings.html [2] http://maven.apache.org/plugins/maven-invoker-plugin/examples/filtering.html On Mon, Oct 29, 2012 at 5:38 PM, Vincent Latombe vincent.lato...@gmail.com wrote: Hello, I think I have an acceptable IT + fix for this issue [1] (at least in Maven 3 context), so I would be really grateful if someone with karma could take a look at it and let me know about it :) Cheers, [1] http://jira.codehaus.org/browse/MSITE-604 -- Vincent - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Maven Shared Utils 0.1, Take 2
isn't the vote supposed to include the SCM tag details? On 29 October 2012 14:39, Kristian Rosenvold kristian.rosenv...@gmail.comwrote: Hi, This is the first version of maven-shared-utils, a replacement for plexus-utils. This version has been tested extensively with the current maven code base, so as version numbers come 0.1 is slightly arbitrary; we expect to add a feature or two (and a relase or two) before calling it 1.0. Here is a link to Jira with 5 issues solved; obviously this is only about 1% of the work that has happened in this project: https://jira.codehaus.org/secure/ReleaseNote.jspa?version=18849styleName=HtmlprojectId=11761 There are no issues in Jira, but here's a link for future use: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+MSHARED+AND+component+%3D+maven-shared-utils+AND+status+%3D+Open Staging repo: https://repository.apache.org/content/repositories/maven-175/ https://repository.apache.org/content/repositories/maven-175/org/apache/maven/shared/maven-shared-utils/0.1/maven-shared-utils-0.1-source-release.zip Staging sites: https://maven.apache.org/shared/maven-shared-utils/ (sync pending for revised site with a massive frontpage!) Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 And here's my +1. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Maven Shared Utils 0.1, Take 2
The release guidelines say reference staged zip (http://maven.apache.org/developers/release/maven-project-release-procedure.html), so if we decide to switch we should update the guideline. I'd personally prefer the scm url, but I just followed the guide ;) Kristian 2012/10/30 Stephen Connolly stephen.alan.conno...@gmail.com: isn't the vote supposed to include the SCM tag details? On 29 October 2012 14:39, Kristian Rosenvold kristian.rosenv...@gmail.comwrote: Hi, This is the first version of maven-shared-utils, a replacement for plexus-utils. This version has been tested extensively with the current maven code base, so as version numbers come 0.1 is slightly arbitrary; we expect to add a feature or two (and a relase or two) before calling it 1.0. Here is a link to Jira with 5 issues solved; obviously this is only about 1% of the work that has happened in this project: https://jira.codehaus.org/secure/ReleaseNote.jspa?version=18849styleName=HtmlprojectId=11761 There are no issues in Jira, but here's a link for future use: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+MSHARED+AND+component+%3D+maven-shared-utils+AND+status+%3D+Open Staging repo: https://repository.apache.org/content/repositories/maven-175/ https://repository.apache.org/content/repositories/maven-175/org/apache/maven/shared/maven-shared-utils/0.1/maven-shared-utils-0.1-source-release.zip Staging sites: https://maven.apache.org/shared/maven-shared-utils/ (sync pending for revised site with a massive frontpage!) Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 And here's my +1. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Maven Shared Utils 0.1, Take 2
Indeed, http://maven.apache.org/developers/release/maven-project-release-procedure.html does not mention the tag. If someone wants both the source package *and* tag, someone should edit that. On Tue, Oct 30, 2012 at 6:32 AM, Kristian Rosenvold kristian.rosenv...@gmail.com wrote: The release guidelines say reference staged zip (http://maven.apache.org/developers/release/maven-project-release-procedure.html), so if we decide to switch we should update the guideline. I'd personally prefer the scm url, but I just followed the guide ;) Kristian 2012/10/30 Stephen Connolly stephen.alan.conno...@gmail.com: isn't the vote supposed to include the SCM tag details? On 29 October 2012 14:39, Kristian Rosenvold kristian.rosenv...@gmail.comwrote: Hi, This is the first version of maven-shared-utils, a replacement for plexus-utils. This version has been tested extensively with the current maven code base, so as version numbers come 0.1 is slightly arbitrary; we expect to add a feature or two (and a relase or two) before calling it 1.0. Here is a link to Jira with 5 issues solved; obviously this is only about 1% of the work that has happened in this project: https://jira.codehaus.org/secure/ReleaseNote.jspa?version=18849styleName=HtmlprojectId=11761 There are no issues in Jira, but here's a link for future use: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+MSHARED+AND+component+%3D+maven-shared-utils+AND+status+%3D+Open Staging repo: https://repository.apache.org/content/repositories/maven-175/ https://repository.apache.org/content/repositories/maven-175/org/apache/maven/shared/maven-shared-utils/0.1/maven-shared-utils-0.1-source-release.zip Staging sites: https://maven.apache.org/shared/maven-shared-utils/ (sync pending for revised site with a massive frontpage!) Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 And here's my +1. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Maven Shared Utils 0.1, Take 2
I think we should have both... but it may take me a while to actually get around to committing the change ;-) On 30 October 2012 10:45, Benson Margulies bimargul...@gmail.com wrote: Indeed, http://maven.apache.org/developers/release/maven-project-release-procedure.html does not mention the tag. If someone wants both the source package *and* tag, someone should edit that. On Tue, Oct 30, 2012 at 6:32 AM, Kristian Rosenvold kristian.rosenv...@gmail.com wrote: The release guidelines say reference staged zip ( http://maven.apache.org/developers/release/maven-project-release-procedure.html ), so if we decide to switch we should update the guideline. I'd personally prefer the scm url, but I just followed the guide ;) Kristian 2012/10/30 Stephen Connolly stephen.alan.conno...@gmail.com: isn't the vote supposed to include the SCM tag details? On 29 October 2012 14:39, Kristian Rosenvold kristian.rosenv...@gmail.comwrote: Hi, This is the first version of maven-shared-utils, a replacement for plexus-utils. This version has been tested extensively with the current maven code base, so as version numbers come 0.1 is slightly arbitrary; we expect to add a feature or two (and a relase or two) before calling it 1.0. Here is a link to Jira with 5 issues solved; obviously this is only about 1% of the work that has happened in this project: https://jira.codehaus.org/secure/ReleaseNote.jspa?version=18849styleName=HtmlprojectId=11761 There are no issues in Jira, but here's a link for future use: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+MSHARED+AND+component+%3D+maven-shared-utils+AND+status+%3D+Open Staging repo: https://repository.apache.org/content/repositories/maven-175/ https://repository.apache.org/content/repositories/maven-175/org/apache/maven/shared/maven-shared-utils/0.1/maven-shared-utils-0.1-source-release.zip Staging sites: https://maven.apache.org/shared/maven-shared-utils/ (sync pending for revised site with a massive frontpage!) Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 And here's my +1. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Maven Shared Utils 0.1, Take 2
+1 2012/10/29 Kristian Rosenvold kristian.rosenv...@gmail.com: Hi, This is the first version of maven-shared-utils, a replacement for plexus-utils. This version has been tested extensively with the current maven code base, so as version numbers come 0.1 is slightly arbitrary; we expect to add a feature or two (and a relase or two) before calling it 1.0. Here is a link to Jira with 5 issues solved; obviously this is only about 1% of the work that has happened in this project: https://jira.codehaus.org/secure/ReleaseNote.jspa?version=18849styleName=HtmlprojectId=11761 There are no issues in Jira, but here's a link for future use: http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+MSHARED+AND+component+%3D+maven-shared-utils+AND+status+%3D+Open Staging repo: https://repository.apache.org/content/repositories/maven-175/ https://repository.apache.org/content/repositories/maven-175/org/apache/maven/shared/maven-shared-utils/0.1/maven-shared-utils-0.1-source-release.zip Staging sites: https://maven.apache.org/shared/maven-shared-utils/ (sync pending for revised site with a massive frontpage!) Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 And here's my +1. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: svn commit: r1403830 - /maven/site/trunk/src/site/site.xml
PLEASE REMOVE ME FROM THIS MAILING LIST rfscho...@apache.org wrote: = Author: rfscholte Date: Tue Oct 30 19:27:14 2012 New Revision: 1403830 URL: http://svn.apache.org/viewvc?rev=1403830view=rev Log: Remove 'Powered by' menu-item. It's very outdated, doesn't reflect the current usage of Maven Modified: maven/site/trunk/src/site/site.xml Modified: maven/site/trunk/src/site/site.xml URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/site.xml?rev=1403830r1=1403829r2=1403830view=diff == --- maven/site/trunk/src/site/site.xml (original) +++ maven/site/trunk/src/site/site.xml Tue Oct 30 19:27:14 2012 @@ -52,7 +52,7 @@ under the License. item name=Features href=/maven-features.html/ item name=FAQ (official) href=/general.html/ !-- TODO: check this is for non-users, not a technical FAQ -- item name=FAQ (unofficial) href=http://docs.codehaus.org/display/MAVENUSER/FAQs-1/ - item name=Powered By href=/powered-by-m2.html/ + !-- item name=Powered By href=/powered-by-m2.html/ -- /menu menu name=Documentation -- Wayne E Seth PMP CEA Enterprise Architect (c) 520-456-6169 - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [jira] (MSITE-604) Properties from settings.xml are not recognized in site distribution management
PLEASE REMOVE ME FROM THIS MAILING LIST!!! Herve Boutemy (JIRA) j...@codehaus.org wrote: = [ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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} 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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira -- Wayne E Seth PMP CEA Enterprise Architect (c) 520-456-6169 - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: svn commit: r1403795 - /maven/maven-3/trunk/maven-model-builder/src/site/apt/index.apt
PLEASE REMOVE ME FROM THIS MAILING LIST!!! hbout...@apache.org wrote: = Author: hboutemy Date: Tue Oct 30 17:32:35 2012 New Revision: 1403795 URL: http://svn.apache.org/viewvc?rev=1403795view=rev Log: added link to profile activators Modified: maven/maven-3/trunk/maven-model-builder/src/site/apt/index.apt Modified: maven/maven-3/trunk/maven-model-builder/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/maven/maven-3/trunk/maven-model-builder/src/site/apt/index.apt?rev=1403795r1=1403794r2=1403795view=diff == --- maven/maven-3/trunk/maven-model-builder/src/site/apt/index.apt (original) +++ maven/maven-3/trunk/maven-model-builder/src/site/apt/index.apt Tue Oct 30 17:32:35 2012 @@ -22,7 +22,7 @@ Maven Model Builder * phase 1 - ** profile activation + ** profile activation (see {{{./apidocs/org/apache/maven/model/profile/activation/package-summary.html}available activators}}) ** model normalization -- Wayne E Seth PMP CEA Enterprise Architect (c) 520-456-6169 - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [jira] (MACR-4) addClasspathtrue/addClasspath includes timestamp instead of the string -SNAPSHOT for SNAPSHOT dependencies
PLEASE REMOVE ME FROM THIS MAILING LIST!!! Benjamin Cartereau (JIRA) j...@codehaus.org wrote: = [ https://jira.codehaus.org/browse/MACR-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=312634#comment-312634 ] Benjamin Cartereau commented on MACR-4: --- For information, I did fix it by adding and setting the useUniqueVersions attribute to false in the ejb plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId configuration archive manifest addClasspathtrue/addClasspath useUniqueVersionsfalse/useUniqueVersions /manifest /archive generateClienttrue/generateClient /configuration /plugin addClasspathtrue/addClasspath includes timestamp instead of the string -SNAPSHOT for SNAPSHOT dependencies Key: MACR-4 URL: https://jira.codehaus.org/browse/MACR-4 Project: Maven ACR Plugin Issue Type: Bug Affects Versions: 1.0 Environment: Win 7 Pro SP1 (64 Bit), Maven 3.0.4, ACR 1.0 Reporter: Markus KARG Priority: Blocker Attachments: pom.xml To reduce the amount of JARs linked to a client application, it is necessary to provide a Class-Path entry in the MANIFEST of the CAR archive. When configuring the ACR to do so using addClasspathtrue/addClasspath, the created MANIFEST.MF will include the timestamp of a SNAPSHOT dependency, instead of simply the word -SNAPSHOT. Unfortunately, the EAR plugin is unable to rename the packaged dependencies in the same way, but simply keeps the string -SNAPSHOT. Effectively this leads to the fact that the Class-Path will not contain the needed JARs at runtime, so the client will except with ClassNotFoundException for any class inside of the SNAPSHOT dependencies. Attached you will find a sample POM which produces this problem on my laptop. The sole dependency will be found in the EAR later as quipsy-defaultgui-4.32.-12-SNAPSHOT.jar, while the MANIFEST.MF of the CAR will have a MANIFEST containing Class-Path: quipsy-defaultgui-4.32.12-20120312.074725-4.jar. Obviously the behaviour of the ACR and EAR plugings are inconsistent, effectively preventing use of the snapshot mechanism of Maven with Jave EE projects. -- 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 -- Wayne E Seth PMP CEA Enterprise Architect (c) 520-456-6169 - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [jira] (MACR-4) addClasspathtrue/addClasspath includes timestamp instead of the string -SNAPSHOT for SNAPSHOT dependencies
You would have more luck sending a message to: mailto:dev-unsubscr...@maven.apache.org On 10/30/12 4:21 PM, ws...@cox.net wrote: PLEASE REMOVE ME FROM THIS MAILING LIST!!! Benjamin Cartereau (JIRA) j...@codehaus.org wrote: = [ https://jira.codehaus.org/browse/MACR-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=312634#comment-312634 ] Benjamin Cartereau commented on MACR-4: --- For information, I did fix it by adding and setting the useUniqueVersions attribute to false in the ejb plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId configuration archive manifest addClasspathtrue/addClasspath useUniqueVersionsfalse/useUniqueVersions /manifest /archive generateClienttrue/generateClient /configuration /plugin addClasspathtrue/addClasspath includes timestamp instead of the string -SNAPSHOT for SNAPSHOT dependencies Key: MACR-4 URL: https://jira.codehaus.org/browse/MACR-4 Project: Maven ACR Plugin Issue Type: Bug Affects Versions: 1.0 Environment: Win 7 Pro SP1 (64 Bit), Maven 3.0.4, ACR 1.0 Reporter: Markus KARG Priority: Blocker Attachments: pom.xml To reduce the amount of JARs linked to a client application, it is necessary to provide a Class-Path entry in the MANIFEST of the CAR archive. When configuring the ACR to do so using addClasspathtrue/addClasspath, the created MANIFEST.MF will include the timestamp of a SNAPSHOT dependency, instead of simply the word -SNAPSHOT. Unfortunately, the EAR plugin is unable to rename the packaged dependencies in the same way, but simply keeps the string -SNAPSHOT. Effectively this leads to the fact that the Class-Path will not contain the needed JARs at runtime, so the client will except with ClassNotFoundException for any class inside of the SNAPSHOT dependencies. Attached you will find a sample POM which produces this problem on my laptop. The sole dependency will be found in the EAR later as quipsy-defaultgui-4.32.-12-SNAPSHOT.jar, while the MANIFEST.MF of the CAR will have a MANIFEST containing Class-Path: quipsy-defaultgui-4.32.12-20120312.074725-4.jar. Obviously the behaviour of the ACR and EAR plugings are inconsistent, effectively preventing use of the snapshot mechanism of Maven with Jave EE projects. -- 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 -- Wayne E Seth PMP CEA Enterprise Architect (c) 520-456-6169 - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org -- John Casey Developer, PMC Member - Apache Maven (http://maven.apache.org) GitHub - http://github.com/jdcasey - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Releasing maven-scm and maven-scm-publish-plugin
Sounds reasonable to me, I'll release it as 1.8.1. Mark On 27 October 2012 23:28, Chris Graham chrisgw...@gmail.com wrote: 1.9 or 1.8.1? It doesn't appear to be a major change. -Chris Sent from my iPhone On 27/10/2012, at 11:31 PM, Mark Hobson markhob...@gmail.com wrote: On 26 October 2012 21:14, Olivier Lamy ol...@apache.org wrote: 2012/10/26 Mark Hobson markhob...@gmail.com: Any objections before I start a vote? Nope Great, I'll get the ball rolling. Also, what is the convention for running maven-scm ITs? I'm guessing it's done manually prior to releasing. Does it require all the SCM tools to be installed locally or can we just trust CI? Some are not available for free. Perso I usually run tck for git,svn and cvs (-Ptck-git,tck-svn,tck-cvs) Thanks to care of this release ! Sounds good, no probs! Mark - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Releasing maven-scm and maven-scm-publish-plugin
Mark, FYI, it seems like there's an issue with the plexus-component-metadata. My latest release is of the maven-invoker is missing the plexus/components.xml so I'll have to re-release a new one as soon as I know what the issue is. Running a package twice does generate the file. I assume it's this project: https://github.com/sonatype/plexus-containers but I still haven't found the right sources on my system Robert Op Tue, 30 Oct 2012 22:41:21 +0100 schreef Mark Hobson markhob...@gmail.com: Sounds reasonable to me, I'll release it as 1.8.1. Mark On 27 October 2012 23:28, Chris Graham chrisgw...@gmail.com wrote: 1.9 or 1.8.1? It doesn't appear to be a major change. -Chris Sent from my iPhone On 27/10/2012, at 11:31 PM, Mark Hobson markhob...@gmail.com wrote: On 26 October 2012 21:14, Olivier Lamy ol...@apache.org wrote: 2012/10/26 Mark Hobson markhob...@gmail.com: Any objections before I start a vote? Nope Great, I'll get the ball rolling. Also, what is the convention for running maven-scm ITs? I'm guessing it's done manually prior to releasing. Does it require all the SCM tools to be installed locally or can we just trust CI? Some are not available for free. Perso I usually run tck for git,svn and cvs (-Ptck-git,tck-svn,tck-cvs) Thanks to care of this release ! Sounds good, no probs! Mark - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
GPG Keys
Hi, I'm trying to update the /dist/maven/KEYS file on people.apache.org as described here: https://svn.apache.org/repos/asf/maven/project/KEYS It's owned by the svnwc user and I don't appear to have permissions to overwrite it. Am I missing something here? Thanks, Mark - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Releasing maven-scm and maven-scm-publish-plugin
Hi Robert, Is this in reference to SCM-698 which switched from plexus-maven-plugin to plexus-component-metadata? The latter plugin still correctly generates the plexus components.xml files for maven-scm. Perhaps the maven-invoker problem is specific to plexus annotations which I don't believe we're using yet. Thanks, Mark On 30 October 2012 22:11, Robert Scholte rfscho...@apache.org wrote: Mark, FYI, it seems like there's an issue with the plexus-component-metadata. My latest release is of the maven-invoker is missing the plexus/components.xml so I'll have to re-release a new one as soon as I know what the issue is. Running a package twice does generate the file. I assume it's this project: https://github.com/sonatype/plexus-containers but I still haven't found the right sources on my system Robert Op Tue, 30 Oct 2012 22:41:21 +0100 schreef Mark Hobson markhob...@gmail.com: Sounds reasonable to me, I'll release it as 1.8.1. Mark On 27 October 2012 23:28, Chris Graham chrisgw...@gmail.com wrote: 1.9 or 1.8.1? It doesn't appear to be a major change. -Chris Sent from my iPhone On 27/10/2012, at 11:31 PM, Mark Hobson markhob...@gmail.com wrote: On 26 October 2012 21:14, Olivier Lamy ol...@apache.org wrote: 2012/10/26 Mark Hobson markhob...@gmail.com: Any objections before I start a vote? Nope Great, I'll get the ball rolling. Also, what is the convention for running maven-scm ITs? I'm guessing it's done manually prior to releasing. Does it require all the SCM tools to be installed locally or can we just trust CI? Some are not available for free. Perso I usually run tck for git,svn and cvs (-Ptck-git,tck-svn,tck-cvs) Thanks to care of this release ! Sounds good, no probs! Mark - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: GPG Keys
I missed to update instructions here when we moved to svnpubsub for dist. Now instrusctions up2date. The file to update is located here https://dist.apache.org/repos/dist/release/maven/ 2012/10/30 Mark Hobson markhob...@gmail.com: Hi, I'm trying to update the /dist/maven/KEYS file on people.apache.org as described here: https://svn.apache.org/repos/asf/maven/project/KEYS It's owned by the svnwc user and I don't appear to have permissions to overwrite it. Am I missing something here? Thanks, Mark - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: GPG Keys
That worked, thanks Olivier. Mark On 30 October 2012 22:53, Olivier Lamy ol...@apache.org wrote: I missed to update instructions here when we moved to svnpubsub for dist. Now instrusctions up2date. The file to update is located here https://dist.apache.org/repos/dist/release/maven/ 2012/10/30 Mark Hobson markhob...@gmail.com: Hi, I'm trying to update the /dist/maven/KEYS file on people.apache.org as described here: https://svn.apache.org/repos/asf/maven/project/KEYS It's owned by the svnwc user and I don't appear to have permissions to overwrite it. Am I missing something here? Thanks, Mark - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org