AW: Making plugins a dependency
I was also surprised to see plugin:deploy having quite a different semtantics than jar:deploy and dist:deploy. I wrote the following goal to accomplish what I would have expected a plugin:deploy goal to do: goal name=plugindeploy description=deploys a plugin to the central repository prereqs=jar ant:property name=artifact value=${maven.build.dir}/${maven.final.name}.jar/ ant:property name=groupId value=${pom.groupId}/ ant:property name=type value=plugin/ attainGoal name=repository:copy-artifact/ /goal Maybe this helps... Oliver -Ursprungliche Nachricht- Von: Mark R. Diggory [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 22. Januar 2004 22:59 An: Maven Users List Betreff: Re: Making plugins a dependency But, more specifically, for project external to maven, isn't this just the same process as getting your artifacts published? http://maven.apache.org/repository-upload.html goals corresponding to this dist:deploy jar:deploy ... but plugin:deploy ... doesn't exacty do the same thing, now does it? -Mark Mark R. Diggory wrote: http://maven.apache.org/reference/developers/releasing-plugins.html Alex Vollmer wrote: The 'plugin:install' goal installs the JAR in the local repository, I want a goal that installs the JAR in the remote repository. --Alex V. On Thu, 2004-01-22 at 12:58, Incze Lajos wrote: On Thu, Jan 22, 2004 at 11:48:46AM -0800, Alex Vollmer wrote: What Maven goal will allow me to deploy my plugin to our repository the same way I would deploy any other kind of artifact? Basically the normal 'jar:deploy' puts the JAR file in the 'jars' sub-directory and I want it to go into the 'plugins' sub-directory. Thanks in advance. --Alex V. plugin:install incze - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Alex Vollmer [EMAIL PROTECTED] Software Engineer Tenzing Communications, Inc. 705 Fifth Avenue South, Suite 700 Seattle, WA 98104 USA T: +1 206.607.2869 Bring your laptop and try inflight email on your next United, Continental or Cathay Pacific flight. All you need is your laptop, user ID, password, and email server URL. Tenzing Communications, Inc. provides inflight email systems that help airborne travelers stay in touch. -- Mark Diggory Software Developer Harvard MIT Data Center http://www.hmdc.harvard.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Making plugins a dependency
Could you please be a bit more detailed with an example? Cheers, Marco - Original Message - From: [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Sent: Friday, January 23, 2004 7:33 AM Subject: Re: Making plugins a dependency Use repository:copy-artifact -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Mark R. Diggory [EMAIL PROTECTED] wrote on 23/01/2004 08:58:47 AM: But, more specifically, for project external to maven, isn't this just the same process as getting your artifacts published? http://maven.apache.org/repository-upload.html goals corresponding to this dist:deploy jar:deploy ... but plugin:deploy ... doesn't exacty do the same thing, now does it? -Mark Mark R. Diggory wrote: http://maven.apache.org/reference/developers/releasing-plugins.html Alex Vollmer wrote: The 'plugin:install' goal installs the JAR in the local repository, I want a goal that installs the JAR in the remote repository. --Alex V. On Thu, 2004-01-22 at 12:58, Incze Lajos wrote: On Thu, Jan 22, 2004 at 11:48:46AM -0800, Alex Vollmer wrote: What Maven goal will allow me to deploy my plugin to our repository the same way I would deploy any other kind of artifact? Basically the normal 'jar:deploy' puts the JAR file in the 'jars' sub-directory and I want it to go into the 'plugins' sub-directory. Thanks in advance. --Alex V. plugin:install incze - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Alex Vollmer [EMAIL PROTECTED] Software Engineer Tenzing Communications, Inc. 705 Fifth Avenue South, Suite 700 Seattle, WA 98104 USA T: +1 206.607.2869 Bring your laptop and try inflight email on your next United, Continental or Cathay Pacific flight. All you need is your laptop, user ID, password, and email server URL. Tenzing Communications, Inc. provides inflight email systems that help airborne travelers stay in touch. -- Mark Diggory Software Developer Harvard MIT Data Center http://www.hmdc.harvard.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Why are plugin deps always copied to $MAVEN_HOME/plugins?
If a dependency has typeplugin/type, it seems that it is always copied to $MAVEN_HOME/plugins -- even if the plugin is already there. Why is this? This caused me some problems when running on a machine in which I didn't have write permissions to $MAVEN_HOME/plugins. I sudo'd and installed the plugin manually, but then still received an IOException because I couldn't write to the plugin's jar file. Are there any workarounds for this? If not, I'd consider this a bug -- do others agree? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
invalidate resources
Hello, I have a question about invalidating resources. Let's say we have a maven project that generates an ejb-jar module. In our project.xml we have something like this: sourceDirectory${basedir}/src/java/sourceDirectory resources resource directory${basedir}/src/conf/directory includes include*.properties/include /includes /resource resource directorytarget/directory includes includekserver-synch-${pom.currentVersion}.sar/include includekserver-synch.wsr/include /includes /resource /resources Now, let's say we have to swith version from 1.2 to 1.3. If we don't do a maven clean and we rebuild the same ejb-jar we'll have 2 sar file (kserver-synch-1.2.jar and the kserver-sync-1.3.jar we've just generated). Is there a way to invalidate resources. Also, let's say one of my properties is removed from the project because it should not be used anymore. Is there a way to check this. What I would like is to remove everything declared in the resoources directory. One solution would be to remove the classes directory but then I have to recompile everything each time. Any idea? Regards, Stephane - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
artifact deployment / ssh / plink
Hi, I'm trying to use the artifact plugin to deploy to my repo. from the artifact plugin. ant:exec dir=. executable=${commander} ant:arg line=-l ${username} ${siteAddress} '${assureDirectoryCommand} ${resolvedDirectory}'/ /ant:exec When I run the deploy:artifact tag from maven it hangs. I grabbed the command line by using maven -X. When I executed the command line by hand it prompted for a password after which it then continued and completed the mkdir task. I'm using plink (putty command line) anyone know how I input the password when executing the artifcat tag from within maven? cheers Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: artifact deployment / ssh / plink
I don't think it can be done (at least I could not find out how). What I did was to set up a public/private key between my machine and the deployment box (using puttygen) and then using pageant (another putty tool). Works like a champ... -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 9:05 AM To: Maven Users Subject: artifact deployment / ssh / plink Hi, I'm trying to use the artifact plugin to deploy to my repo. from the artifact plugin. ant:exec dir=. executable=${commander} ant:arg line=-l ${username} ${siteAddress} '${assureDirectoryCommand} ${resolvedDirectory}'/ /ant:exec When I run the deploy:artifact tag from maven it hangs. I grabbed the command line by using maven -X. When I executed the command line by hand it prompted for a password after which it then continued and completed the mkdir task. I'm using plink (putty command line) anyone know how I input the password when executing the artifcat tag from within maven? cheers Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: artifact deployment / ssh / plink
thanks, I'll give it a go Ebersole, Steven wrote: I don't think it can be done (at least I could not find out how). What I did was to set up a public/private key between my machine and the deployment box (using puttygen) and then using pageant (another putty tool). Works like a champ... -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 9:05 AM To: Maven Users Subject: artifact deployment / ssh / plink Hi, I'm trying to use the artifact plugin to deploy to my repo. from the artifact plugin. ant:exec dir=. executable=${commander} ant:arg line=-l ${username} ${siteAddress} '${assureDirectoryCommand} ${resolvedDirectory}'/ /ant:exec When I run the deploy:artifact tag from maven it hangs. I grabbed the command line by using maven -X. When I executed the command line by hand it prompted for a password after which it then continued and completed the mkdir task. I'm using plink (putty command line) anyone know how I input the password when executing the artifcat tag from within maven? cheers Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: artifact deployment / ssh / plink
Here a link to a pretty good resource on sourceforge about setting this sort of thing up. Of course some of the steps are very specific to their environment... http://sourceforge.net/docman/display_doc.php?docid=766group_id=1#sshkeygen -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 9:13 AM To: Maven Users List Subject: Re: artifact deployment / ssh / plink thanks, I'll give it a go Ebersole, Steven wrote: I don't think it can be done (at least I could not find out how). What I did was to set up a public/private key between my machine and the deployment box (using puttygen) and then using pageant (another putty tool). Works like a champ... -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 9:05 AM To: Maven Users Subject: artifact deployment / ssh / plink Hi, I'm trying to use the artifact plugin to deploy to my repo. from the artifact plugin. ant:exec dir=. executable=${commander} ant:arg line=-l ${username} ${siteAddress} '${assureDirectoryCommand} ${resolvedDirectory}'/ /ant:exec When I run the deploy:artifact tag from maven it hangs. I grabbed the command line by using maven -X. When I executed the command line by hand it prompted for a password after which it then continued and completed the mkdir task. I'm using plink (putty command line) anyone know how I input the password when executing the artifcat tag from within maven? cheers Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Upload request; can't add to JIRA
Apologies for posting this here. I tried adding this to JIRA, but I can't get past Step 2 of 2 of creating the issue, and it's not giving any kind of error message. Jakarta DateTime taglib http://www.apache.org/dist/jakarta/taglibs/datetime/binaries/jakarta-taglibs-datetime-1.0.1.tar.gz project pomVersion3/pomVersion iddatetime/id groupIdtaglibs/groupId artifactIddatetime/artifactId nameJakarta DateTime Taglib/name currentVersion1.0.1/currentVersion organization nameApache Software Foundation/name urlhttp://www.apache.org//url /organization licenses license nameApache Software License, Version 1.1/name urlhttp://www.apache.org/LICENSE/url /license /licenses /project -- Craig S. Cottingham [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: User input for Continuum
On Mon, 2004-01-19 at 07:17, Rafal Krzewski wrote: Jason van Zyl wrote: Howdy, I have Continuum up and running using the new maven-scm stuff and the new maven components so I wanted to get some input on how people would like to use it. All the information required for checking out and building are contained within the POM so how would you like to be able to use Continuum? By this I mean how would you like to be able to register projects to be built? o web interface to register an url or path This seems to be easiest option to start with, because web browser is the commodity client application. I may be a bit biased here, because web interfaces is a big part of what I've been doing for past 3 years... Other thing that I'd love is an eclipse plugin, that would feature a view for browsing build messages, and would pop up message boxes on a failed build. I can't afford to volunteer to write one, what makes me sad. This is life, I guess... Input is very valuable, just taking the time to give some feedback is appreciated! R. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: BouncyCastle PGP Signature plugin
On Mon, 2004-01-19 at 20:02, Mark R. Diggory wrote: Ok, Jason, can I get this jar published? http://www.bouncycastle.org/download/bcpg-jdk13-121.jar Sure, I'm just catching up on mail ... thanks, Mark [EMAIL PROTECTED] wrote: I believe it was Jason. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Mark R. Diggory [EMAIL PROTECTED] wrote on 20/01/2004 07:22:37 AM: I'm using bouncycastle to build a pgp signature plugin for Maven. Does anyone know who placed the bouncycastle jars in the repository? I'd like to get the pgp jar uploaded there. http://www.ibiblio.org/maven/bouncycastle/jars/ thanks, Mark -- Mark Diggory Software Developer Harvard MIT Data Center http://osprey.hmdc.harvard.edu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Making plugins a dependency
What platform have you tried this on? I found that the way the 'SSH' command is executed on Linux in RC1 is broken. Has anyone else had this experience? --Alex V. On Thu, 2004-01-22 at 23:50, Oliver Nölle wrote: Could you please be a bit more detailed with an example? See the message I posted before, it's a goal that uses repository:copy-artifact Oliver P.S. Here is what I wrote: I wrote the following goal to accomplish what I would have expected a plugin:deploy goal to do: goal name=plugindeploy description=deploys a plugin to the central repository prereqs=jar ant:property name=artifact value=${maven.build.dir}/${maven.final.name}.jar/ ant:property name=groupId value=${pom.groupId}/ ant:property name=type value=plugin/ attainGoal name=repository:copy-artifact/ /goal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Alex Vollmer [EMAIL PROTECTED] Software Engineer Tenzing Communications, Inc. 705 Fifth Avenue South, Suite 700 Seattle, WA 98104 USA T: +1 206.607.2869 Bring your laptop and try inflight email on your next United, Continental or Cathay Pacific flight. All you need is your laptop, user ID, password, and email server URL. Tenzing Communications, Inc. provides inflight email systems that help airborne travelers stay in touch.
Maven Presentation For Maven and Developers?
Hi, does anyone have overview documentation for Maven? I'm looking to do a presentation on Maven. In short, I trying to get the company to buy into it. Thus, if anyone has any leads as to where I can locate such information, please drop me an e-mail or post to the e-mail list. Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Presentation For Maven and Developers?
Hi - Outside of the Goals and Getting Started Guide on http://maven.apache.org, Wrox will be coming out with a new book soon: Professional Java Tools for Extreme Programming : Ant, XDoclet, JUnit, Cactus, Maven:; Richard Hightower, Nicholas Lesiecki, Maciej Zawadzki Paperback: 816 pages; Publisher: Wrox; (March 1, 2004); ISBN: 0764556177 = THE ONLY CURRENT MAVEN TEXT NOT DUE UNTIL MARCH (OR LATER...) 'Hope that helps .. PSM -Original Message- From: [EMAIL PROTECTED] Sent: Jan 23, 2004 5:26 PM To: [EMAIL PROTECTED] Subject: Maven Presentation For Maven and Developers? Hi, does anyone have overview documentation for Maven? I'm looking to do a presentation on Maven. In short, I trying to get the company to buy into it. Thus, if anyone has any leads as to where I can locate such information, please drop me an e-mail or post to the e-mail list. Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Presentation For Maven and Developers?
That book has been a year in the coming. Any clue if this is for 'real'? jeff [EMAIL PROTECTED] wrote: Hi - Outside of the Goals and Getting Started Guide on http://maven.apache.org, Wrox will be coming out with a new book soon: Professional Java Tools for Extreme Programming : Ant, XDoclet, JUnit, Cactus, Maven:; Richard Hightower, Nicholas Lesiecki, Maciej Zawadzki Paperback: 816 pages; Publisher: Wrox; (March 1, 2004); ISBN: 0764556177 = THE ONLY CURRENT MAVEN TEXT NOT DUE UNTIL MARCH (OR LATER...) 'Hope that helps .. PSM -Original Message- From: [EMAIL PROTECTED] Sent: Jan 23, 2004 5:26 PM To: [EMAIL PROTECTED] Subject: Maven Presentation For Maven and Developers? Hi, does anyone have overview documentation for Maven? I'm looking to do a presentation on Maven. In short, I trying to get the company to buy into it. Thus, if anyone has any leads as to where I can locate such information, please drop me an e-mail or post to the e-mail list. Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jeff bonevich mailto: [EMAIL PROTECTED] Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Rich Cook All programmers are playwrights and all computers are lousy actors. Unknown - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
xdoc parameter replacement
Hi, Is it possible to perform parameter replacement when generating xdocs? I'm hoping to achieve something like: body section name=Download ${pom.id} Example pre a href=../../../maven/${pom.groupId}/examples/${maven.final.name}-example.zip${maven.final.name}-example.zip/a /pre /section section name=${pom.id} Example Foldertree I guess I could do this using ant copy with filters, but thought I'd check there wasn't built-in access to the current maven context variables. cheers Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]