Re: how to listen to local maven repo's changes?
Thanks lgor, RespositoryListener is what I'm looking for! *I'm trying to get maven session from m2eclipse*, and then I could add my own repo listener into session. but I haven't found right API to get maven session. Do you have any suggestions? *what I'm trying to do is:* create a eclipse plugin to listen to local repo's changes. I think it should work with m2eclipse, new plugin should get m2eclipse's maven session and then add its own repo listener into it. Am I correct? Regards Simon 2011/9/14 Igor Fedorenko i...@ifedorenko.com Have a look at org.sonatype.aether.**RepositoryListener, this is what we use in m2e to track changes to the local repository. This, of course, does not receive events from builds running concurrently in other vms, but I don't have a solution for that. -- Regards, Igor On 11-09-13 8:46 PM, Wang YunFeng wrote: Hi, All, I want to listen to changes of local maven repo. Then I could invoke some customized script. My question is: is there any hook for maven to listen to whether maven is downloading new artifactsfrom remote repo? Regards Simon --**--**- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.**orgdev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Maven Dependency Plugin
I may be off, but I don't think that maven-aether-provider wraps Aether. It's just the provider for the Maven specific implementation used by Aether. /Anders On Wed, Sep 14, 2011 at 03:30, Benson Margulies bimargul...@gmail.com wrote: https://svn.apache.org/repos/asf/maven/maven-3/trunk/maven-aether-provider/ On Tue, Sep 13, 2011 at 8:52 PM, Barrie Treloar baerr...@gmail.com wrote: On Wed, Sep 14, 2011 at 9:57 AM, Benson Margulies bimargul...@gmail.com wrote: Aether is definitely surrounded by a maven component. The question is, does that component expose what you need? Point me to where I can look and I can answer the question :) - 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: Maven Dependency Plugin
On Wed, Sep 14, 2011 at 5:33 AM, Anders Hammar and...@hammar.net wrote: I may be off, but I don't think that maven-aether-provider wraps Aether. It's just the provider for the Maven specific implementation used by Aether. So much for email too late at night. More research later. /Anders On Wed, Sep 14, 2011 at 03:30, Benson Margulies bimargul...@gmail.com wrote: https://svn.apache.org/repos/asf/maven/maven-3/trunk/maven-aether-provider/ On Tue, Sep 13, 2011 at 8:52 PM, Barrie Treloar baerr...@gmail.com wrote: On Wed, Sep 14, 2011 at 9:57 AM, Benson Margulies bimargul...@gmail.com wrote: Aether is definitely surrounded by a maven component. The question is, does that component expose what you need? Point me to where I can look and I can answer the question :) - 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: how to listen to local maven repo's changes?
m2e provides org.eclipse.m2e.core.embedder.ILocalRepositoryListener. Please direct any further questions to m2e-...@eclipse.org as this list is about developing maven itself. -- Regards, Igor On 11-09-14 2:54 AM, Wang YunFeng wrote: Thanks lgor, RespositoryListener is what I'm looking for! *I'm trying to get maven session from m2eclipse*, and then I could add my own repo listener into session. but I haven't found right API to get maven session. Do you have any suggestions? *what I'm trying to do is:* create a eclipse plugin to listen to local repo's changes. I think it should work with m2eclipse, new plugin should get m2eclipse's maven session and then add its own repo listener into it. Am I correct? Regards Simon 2011/9/14 Igor Fedorenkoi...@ifedorenko.com Have a look at org.sonatype.aether.**RepositoryListener, this is what we use in m2e to track changes to the local repository. This, of course, does not receive events from builds running concurrently in other vms, but I don't have a solution for that. -- Regards, Igor On 11-09-13 8:46 PM, Wang YunFeng wrote: Hi, All, I want to listen to changes of local maven repo. Then I could invoke some customized script. My question is: is there any hook for maven to listen to whether maven is downloading new artifactsfrom remote repo? Regards Simon --**--**- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.**orgdev-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: svn commit: r1170568 - /maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml
Hi Benson, By changing the faq id, you also change the html anchor generated by the site plugin, so any old links to this faq, eg the one I added today [1], will not work anymore. I suggest to leave the id unchanged. Cheers, -Lukas [1] http://svn.apache.org/viewvc?rev=1170457view=rev bimargul...@apache.org wrote: Author: bimargulies Date: Wed Sep 14 12:26:44 2011 New Revision: 1170568 URL: http://svn.apache.org/viewvc?rev=1170568view=rev Log: a little SEO for DocBook users. Arguably XHTML should get the same favor. Modified: maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml Modified: maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml?rev=1170568r1=1170567r2=1170568view=diff == --- maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml (original) +++ maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml Wed Sep 14 12:26:44 2011 @@ -49,15 +49,16 @@ under the License. /ul /answer /faq -faq id=How to include a custom Doxia module, like Twiki -questionHow to include a custom Doxia module, like Twiki?/question +!-- mention docbook explicitly so google can find this -- +faq id=How to include a custom Doxia module, like Twiki or Simple DocBook +questionHow to include a custom Doxia module, like Twiki or Simple DocBook?/question answer p The site plugin handles out-of-box apt, xdoc and fml formats. If you want to use a custom format like Twiki (or any other document format for which a doxia parser exists, see the list of a href=http://maven.apache.org/doxia/references/index.html;Doxia Markup Languages/a), - you need to specify the corresponding Doxia dependency, e.g. for Twiki: + you need to specify the corresponding Doxia module dependency, e.g. for Twiki: /p source ![CDATA[project @@ -72,7 +73,7 @@ under the License. dependency groupIdorg.apache.maven.doxia/groupId artifactIddoxia-module-twiki/artifactId -version!-- adapt to your site plugin version! --/version +version!-- doxia version appropriate to the site plugin version --/version /dependency /dependencies /plugin - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: svn commit: r1170568 - /maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml
whoops. I'll put it back On Sep 14, 2011, at 10:09 AM, Lukas Theussl ltheu...@apache.org wrote: Hi Benson, By changing the faq id, you also change the html anchor generated by the site plugin, so any old links to this faq, eg the one I added today [1], will not work anymore. I suggest to leave the id unchanged. Cheers, -Lukas [1] http://svn.apache.org/viewvc?rev=1170457view=rev bimargul...@apache.org wrote: Author: bimargulies Date: Wed Sep 14 12:26:44 2011 New Revision: 1170568 URL: http://svn.apache.org/viewvc?rev=1170568view=rev Log: a little SEO for DocBook users. Arguably XHTML should get the same favor. Modified: maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml Modified: maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml?rev=1170568r1=1170567r2=1170568view=diff == --- maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml (original) +++ maven/plugins/trunk/maven-site-plugin/src/site/fml/faq.fml Wed Sep 14 12:26:44 2011 @@ -49,15 +49,16 @@ under the License. /ul /answer /faq -faq id=How to include a custom Doxia module, like Twiki -questionHow to include a custom Doxia module, like Twiki?/question +!-- mention docbook explicitly so google can find this -- +faq id=How to include a custom Doxia module, like Twiki or Simple DocBook +questionHow to include a custom Doxia module, like Twiki or Simple DocBook?/question answer p The site plugin handles out-of-box apt, xdoc and fml formats. If you want to use a custom format like Twiki (or any other document format for which a doxia parser exists, see the list of a href=http://maven.apache.org/doxia/references/index.html;Doxia Markup Languages/a), - you need to specify the corresponding Doxia dependency, e.g. for Twiki: + you need to specify the corresponding Doxia module dependency, e.g. for Twiki: /p source ![CDATA[project @@ -72,7 +73,7 @@ under the License. dependency groupIdorg.apache.maven.doxia/groupId artifactIddoxia-module-twiki/artifactId -version!-- adapt to your site plugin version! --/version +version!-- doxia version appropriate to the site plugin version --/version /dependency /dependencies /plugin - 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] Move Eclipse Doxia Editor to trunk
I will proceed Vincent 2011/9/11 Vincent Siveton vsive...@apache.org: Hi, I like to move the Eclipse Doxia Editor to the trunk ie http://svn.apache.org/repos/asf/maven/sandbox/trunk/doxia/doxia-ide/eclipse/ to http://svn.apache.org/repos/asf/maven/doxia/doxia-ide/eclipse/ Here is a preview of the documentation: http://people.apache.org/~vsiveton/apache-doxia-eclipse-plugin-1.0-SNAPSHOT/ Also, we need a specific JIRA tracker for this instead of http://jira.codehaus.org/browse/DOXIATOOLS/component/14861 Someone? Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 Cheers, Vincent - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: [VOTE] Move Eclipse Doxia Editor to trunk
Forgot the official way: +1 john, arnaud, olivier, hervé Vincent 2011/9/14 Vincent Siveton vsive...@apache.org: I will proceed Vincent 2011/9/11 Vincent Siveton vsive...@apache.org: Hi, I like to move the Eclipse Doxia Editor to the trunk ie http://svn.apache.org/repos/asf/maven/sandbox/trunk/doxia/doxia-ide/eclipse/ to http://svn.apache.org/repos/asf/maven/doxia/doxia-ide/eclipse/ Here is a preview of the documentation: http://people.apache.org/~vsiveton/apache-doxia-eclipse-plugin-1.0-SNAPSHOT/ Also, we need a specific JIRA tracker for this instead of http://jira.codehaus.org/browse/DOXIATOOLS/component/14861 Someone? Vote open for 72 hours. [ ] +1 [ ] +0 [ ] -1 Cheers, Vincent - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org