Re: Please schedule MNG-5363 for upcoming release
I moved the issue to https://jira.codehaus.org/browse/WAGON-383 So please test last snapshot. BTW it looks there were server side issue. 2013/1/19 cowwoc cow...@bbs.darktech.org: Hi, Can one of the committers please take a look at https://jira.codehaus.org/browse/MNG-5363 ? I believe that the component and fix version needs to be revised and it should be scheduled for 3.1.0 if possible. Thank you, Gili -- View this message in context: http://maven.40175.n5.nabble.com/Please-schedule-MNG-5363-for-upcoming-release-tp5743898.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Best way to retrieve multiple subsets from SVN?
Hi all, I have a bunch of projects that need to extract files from an SVN repository as part of their build process. I need to make sure that all of them use the same SVN revision. It's initially determined as whatever the current HEAD is, but since HEAD might change anytime, I need a way to make sure that all builds get their data off the same revision number (supposed to have been the HEAD in the near past). I see three approaches: 1) Take a snapshot of the svn repo. The main project downloads the HEAD from SVN and publishes a zip of the source tree. I'm not sure what the best packaging type for that is (jar would do but it would be misleading). The individual projects would declare the main project as a dependency, unpack the zip, extract whatever they need, and generate the intended artifacts. The downside is that it involves a 460 MB upload to the public repo, for something that's just an intermediate stage that in itself does not have any public interest. 2) Just record the svn revision number. The main project asks the SVN what's the revision number, records it in a file, and uploads to the public repo. The individual projects would declare the main project as a dependency, extract the revision number, downloads whatever they need from the SVN repo, and generate the intended artifacts. The downside is that I don't know what the best way to store the revision number. A properties file? Place it in the pom itself under properties so that it can be used as a parent pom (that would be nifty but I don't know whether maven can properly handle poms that change while executing them)? 3) Manually record the svn revision number. Set up a parent pom that has a revision property. Manually update that whenever building a new snapshot. It's simple, but creating a new snapshot requires manual intervention. Or maybe there's a fourth, much better way :-) Any advice appreciated! Regards, Jo - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Best way to retrieve multiple subsets from SVN?
Hi I am going on a hunch here what your are trying to do, in my opinion this is poorly supported by maven currently (I however guess you could use the maven-release-plugin and create a tag but I am not entirely sure that this is something that maven should solve ?) in my experience it's better to go with the solution to write down the SVN revision. And then you might whan't to look into the jenkins plugin for build-pipline but now i am just guessing what you are doing/ using ... so maybe look into one of the many articles about setting up a build pipeline ... here is one i found http://java.dzone.com/articles/how-build-true-pipelines Just my 5 cent :) //Manfred N On 1/23/13 1:26 PM, Joachim Durchholz wrote: Hi all, I have a bunch of projects that need to extract files from an SVN repository as part of their build process. I need to make sure that all of them use the same SVN revision. It's initially determined as whatever the current HEAD is, but since HEAD might change anytime, I need a way to make sure that all builds get their data off the same revision number (supposed to have been the HEAD in the near past). I see three approaches: 1) Take a snapshot of the svn repo. The main project downloads the HEAD from SVN and publishes a zip of the source tree. I'm not sure what the best packaging type for that is (jar would do but it would be misleading). The individual projects would declare the main project as a dependency, unpack the zip, extract whatever they need, and generate the intended artifacts. The downside is that it involves a 460 MB upload to the public repo, for something that's just an intermediate stage that in itself does not have any public interest. 2) Just record the svn revision number. The main project asks the SVN what's the revision number, records it in a file, and uploads to the public repo. The individual projects would declare the main project as a dependency, extract the revision number, downloads whatever they need from the SVN repo, and generate the intended artifacts. The downside is that I don't know what the best way to store the revision number. A properties file? Place it in the pom itself under properties so that it can be used as a parent pom (that would be nifty but I don't know whether maven can properly handle poms that change while executing them)? 3) Manually record the svn revision number. Set up a parent pom that has a revision property. Manually update that whenever building a new snapshot. It's simple, but creating a new snapshot requires manual intervention. Or maybe there's a fourth, much better way :-) Any advice appreciated! Regards, Jo - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Best way to retrieve multiple subsets from SVN?
Am 23.01.2013 13:44, schrieb Manfred Nilsson: Hi I am going on a hunch here what your are trying to do, in my opinion this is poorly supported by maven currently (I however guess you could use the maven-release-plugin and create a tag Creating an SVN tag? No, that's not the point at all. I don't even have write access to the SVN repo :-) What I'm trying to solve is that need to orchestrate multiple builds based on a common revision number, picked from the HEAD revision at a given point in time. in my experience it's better to go with the solution to write down the SVN revision. What alternatives did you try? What were the problems that got solved by writing down the SVN revision? And then you might whan't to look into the jenkins plugin for build-pipline but now i am just guessing what you are doing/ using ... so maybe look into one of the many articles about setting up a build pipeline ... here is one i found http://java.dzone.com/articles/how-build-true-pipelines Yes, that might be solving the issue. I'm hesitant to add yet another tool to the toolchain though. I'm still struggling with Maven, a multitude of plugins, and repository manager knowledge. I think Jenkins might be the straw that will break the camel's back, so I'll be bookmarking that for a later date. Hearing that an explicit revision will work does give me a working fallback strategy in case no other recommendations turn up. Thanks :-) Regards, Jo - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Upload arbitrary directories to maven repositories
Maven might be a good solution if your components are packaged as jar files and your build just pulled in the right jar files. If you are pulling in source code and building, then your alternatives to a file server might range from a CMS or database to a source control system like svn or git or. What is it about the file server that prompts you to want to change? Ron On 23/01/2013 8:48 AM, Stephen Connolly wrote: Think of a Maven Repository as being for use by Maven and that delivery of components on a file server as shipping to production. Don't try and make the fileserver into a Maven repository. On 23 January 2013 12:06, burkhard kuehlert burkhard.kuehl...@wincor-nixdorf.com wrote: Hi, yes, you are right, but that is what I wanted to say with my last post I have to get used to it. I have realized that I have to change my ideas. And at long last I will answer your question. My company delivers an extendible j2ee framework, and we started with it in 2002. We deliver all our artifacts in so-called components on a file-server(see picture) and in an ant-projectbuild the components are assembled to applications. http://maven.40175.n5.nabble.com/file/n5744259/component.jpg And I wanted to know, if a maven repository can be used instead of a fileserver. And so I wanted to upload the same structure to a maven repository. That is where I started with maven. Best regards Burkhard -- View this message in context: http://maven.40175.n5.nabble.com/Upload-arbitrary-directories-to-maven-repositories-tp5743526p5744259.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
custom extension problem, error mode enablement
Greetings I'm seeing some odd behavior with a custom Apache Maven extension intended to force on error message mode (-e). The extension can be found here https://gist.github.com/63e65486e60124a3e8f7 The extension loads fine, and I see the log message found in the extension, but it doesn't actually enable error message mode! I verify error message mode is not enabled via the extension by causing an error in a project, e.g. dependency on junit:junit:666, and observing the difference with and without -e passed to mvn. Would someone please tell me the magic incantation to programmatically get error message mode enabled? It appears that setting MavenExecutionRequest.setShowErrors(true) should do the trick, but perhaps this is read once and never again, which occurs before the extension gets loaded? Any help is appreciated, -Jesse -- There are 10 types of people in this world, those that can read binary and those that can not. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Best way to retrieve multiple subsets from SVN?
You are probably over-automating things at this point. I would suggest getting your maven builds running, go through a full release cycle and then look for ways to improve. A good thing to remember is: Thousands of products have been built with Maven; it is unlikely that you want to do something so unusual that no one has done it before. http://blog.artifact-software.com/tech/?p=84 is an overview of how we handle software development. One of the things that we decided after a while, was that with Maven, we really did not have to build version 1.10 of our project with all 70 of our modules at version 1.10. If the module ABC did not change from 1.8 to 1.10, then version 1.10 could include a dependency on ABC-1.8 and there was no reason to issue an ABC-.10 with the only change being the version number. This got to make more and more sense over time as the product stabilized and the changes were restricted by the nature of the changes to a small subset of the whole package. Ron On 23/01/2013 8:10 AM, Joachim Durchholz wrote: Am 23.01.2013 13:44, schrieb Manfred Nilsson: Hi I am going on a hunch here what your are trying to do, in my opinion this is poorly supported by maven currently (I however guess you could use the maven-release-plugin and create a tag Creating an SVN tag? No, that's not the point at all. I don't even have write access to the SVN repo :-) What I'm trying to solve is that need to orchestrate multiple builds based on a common revision number, picked from the HEAD revision at a given point in time. in my experience it's better to go with the solution to write down the SVN revision. What alternatives did you try? What were the problems that got solved by writing down the SVN revision? And then you might whan't to look into the jenkins plugin for build-pipline but now i am just guessing what you are doing/ using ... so maybe look into one of the many articles about setting up a build pipeline ... here is one i found http://java.dzone.com/articles/how-build-true-pipelines Yes, that might be solving the issue. I'm hesitant to add yet another tool to the toolchain though. I'm still struggling with Maven, a multitude of plugins, and repository manager knowledge. I think Jenkins might be the straw that will break the camel's back, so I'll be bookmarking that for a later date. Hearing that an explicit revision will work does give me a working fallback strategy in case no other recommendations turn up. Thanks :-) Regards, Jo - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Best way to retrieve multiple subsets from SVN?
Am 23.01.2013 21:08, schrieb Ron Wheeler: You are probably over-automating things at this point. I would suggest getting your maven builds running, go through a full release cycle and then look for ways to improve. A good thing to remember is: Thousands of products have been built with Maven; it is unlikely that you want to do something so unusual that no one has done it before. Heh. I know I'm an envelope pusher and have the battle scars to prove it. So you're about number five or six giving me that speech - I tend to get it every three to five years. Somehow, following recipes doesn't quite work for me. Tools break at me if I do that, so I have learned to always push the envelope and hammer at the concepts until I grok them. There's always chips flying where I hammer - my mind or the concepts, sometimes both. So while I can understand why you gave that speech, and have given it myself on occasion, I tend to ignore such speeches :-) http://blog.artifact-software.com/tech/?p=84 is an overview of how we handle software development. Does not apply to my situation, which his that I'm importing jars from an external project that I have no control over. Also, does not apply to what I'm asking, which is: I have multiple jars from an SVN repository, how do I put the jars from a consistent set each to its own Maven coordinate? Regards, Jo - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
I need a complete antrun:run command for invoking ant-task by its id, other than default-cli.
Experts: Here’s my pom.xml config: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.7/version executions execution idstartupTomcat/id goals goalrun/goal /goals configuration target exec dir=${tomcatHome}/logs executable=${tomcatHome}/bin/startup.bat / /target /configuration /execution /executions /plugin So please tell me the complete “mvn antrun:run” command to invoke this id of “startupTomcat”?! (without id binding, it always failed with No ant target defined - SKIPPED ) I know the trick of iddefault-cli/id, and for me it is simply not enough! Or if you “mvn antrun:run” command does not support id binding, please states it clearly, so that I may use target if/unless attribute or Maven-Profile! Thank you! Zhufei 1/24/2013
Re: Best way to retrieve multiple subsets from SVN?
On 23/01/2013 4:48 PM, Toolforger wrote: Am 23.01.2013 21:08, schrieb Ron Wheeler: You are probably over-automating things at this point. I would suggest getting your maven builds running, go through a full release cycle and then look for ways to improve. A good thing to remember is: Thousands of products have been built with Maven; it is unlikely that you want to do something so unusual that no one has done it before. Heh. I know I'm an envelope pusher and have the battle scars to prove it. So you're about number five or six giving me that speech - I tend to get it every three to five years. Somehow, following recipes doesn't quite work for me. Tools break at me if I do that, so I have learned to always push the envelope and hammer at the concepts until I grok them. There's always chips flying where I hammer - my mind or the concepts, sometimes both. Not a bad thing to be a bit bold.:-) So while I can understand why you gave that speech, and have given it myself on occasion, I tend to ignore such speeches :-) You are not the first. It does tend to create a lot of traffic here until the person gets their basic Maven processes under control and develops their own roadmap for optimization. http://blog.artifact-software.com/tech/?p=84 is an overview of how we handle software development. Does not apply to my situation, which his that I'm importing jars from an external project that I have no control over. I did not expect that it would fit exactly but I did want to show one line of thinking about versioning of artifacts. We do import jars as well. Ours came from external projects that had licensing reasons for not pushing their artifacts to Maven Central. Also, does not apply to what I'm asking, which is: I have multiple jars from an SVN repository, how do I put the jars from a consistent set each to its own Maven coordinate? You manually put the jars in your Maven repo through its manual upload procedure with some version number (nice if it relates to the version that the authors gave them) and reference them as dependencies. Maven does not really deal with SVN as a jar source. Ron Regards, Jo - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
maven-scm-publish-plugin freezed in Apache Oltu
Hi all guys, at Apache Oltu[1] (formerly Amber) we are adopting the maven-scm-publish-plugin to publish the site; everything looks be configured in the right way, but the plugin is stuck: +-+ [INFO] --- maven-scm-publish-plugin:1.0-beta-2:publish-scm (default-cli) @ amber-parent --- [INFO] Updating the pub tree from scm:svn:https://svn.apache.org/repos/asf/oltu/site ... [INFO] Executing: /bin/sh -c cd /Users/stripodi/oltu-site-content svn --username simonetripodi --password '*' --no-auth-cache --non-interactive update /Users/stripodi/oltu-site-content [INFO] Working directory: /Users/stripodi/oltu-site-content [INFO] changeSets [ null null Updating '.':, 0 null ] [INFO] Updating content... [INFO] Publish files: 0 addition(s), 1918 update(s), 0 delete(s) [INFO] Checking in SCM... [INFO] Checking in to the scm [INFO] Executing: /bin/sh -c cd /Users/stripodi/oltu-site-content svn --username simonetripodi --password '*' --no-auth-cache --non-interactive commit --file /var/folders/fm/yfzywr7s1d3c_36qc2l9whccgn/T/maven-scm-965165864.commit [INFO] Working directory: /Users/stripodi/oltu-site-content +-+ I let the laptop doing its work for all night long, but when I woke up the plugin was still in this status. Is there any way to monitor its activities? Many thanks in advance, all the best, -Simo [1] https://svn.apache.org/repos/asf/oltu/trunk http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org