Tag library missing?
I have just upgraded my scm and multiproject plugins, and now I keep getting the following errors from Cruisecontrol: Tag library requested that is not present: 'doc' in plugin: 'maven-scm-plugin-1.5' Tag library requested that is not present: 'doc' in plugin: 'maven-multiproject-plugin-1.4.1' Tag library requested that is not present: 'doc' in plugin: 'maven-multiproject-plugin-1.4.1' Tag library requested that is not present: 'doc' in plugin: 'maven-multiproject-plugin-1.4.1' I guess, there is something missing/not upgraded in my maven that I use for cruisecontrol. Has anyone seem something like it, or knows, how to solve it? Regards Per Abich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tag library missing?
Removing my plugin cache did the trick... I wonder, what happend... Thanks for the help Per Abich 2005/8/3, Brett Porter [EMAIL PROTECTED]: This state can usually be rectified by removing your plugin cache (which will be generated on next run). - Brett On 8/3/05, Chedly GUERFALI [EMAIL PROTECTED] wrote: Hi Per, I think you didn't download the scm plugin with maven plugin:download ... command, but with an external download of the plugin. Hope it helps. Chedly -Message d'origine- De : Per Abich [mailto:[EMAIL PROTECTED] Envoyé : mercredi 3 août 2005 13:48 À : users@maven.apache.org Objet : Tag library missing? I have just upgraded my scm and multiproject plugins, and now I keep getting the following errors from Cruisecontrol: Tag library requested that is not present: 'doc' in plugin: 'maven-scm-plugin-1.5' Tag library requested that is not present: 'doc' in plugin: 'maven-multiproject-plugin-1.4.1' Tag library requested that is not present: 'doc' in plugin: 'maven-multiproject-plugin-1.4.1' Tag library requested that is not present: 'doc' in plugin: 'maven-multiproject-plugin-1.4.1' I guess, there is something missing/not upgraded in my maven that I use for cruisecontrol. Has anyone seem something like it, or knows, how to solve it? Regards Per Abich - 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]
Re: Multiproject build
Just put a dependency in your project.xml so that all project depend on your utility project. That should do the trick. Currently, there is no other way of orderig the build process. Per 2005/8/3, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi, I have a Maven multiproject set up. One of my project is a utility kind of project which is used by my other modules/projects. During the build, can i set up a order in which the projects will be built (or) can i set dependency between my projects so that my utility project will get built first ? newbie gurubaran. * This message and any attachments (the message) are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. * - 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]
Howto get the dependencies of direct dependencies of a project
Hello, I am trying to retrieve a list of dependencies for all the artifacts that I have included in my project. The goal is, to get all those files, copy them into a specific location and then zip them together to obtain single-file-install which is deployable without any further dependencies. I have tried to simply get the *.pom - files and get their dependencies, but so far, I have failed to do this. The way I have gone, was like the following: j:forEach var=lib items=${pom.artifacts} ant:copy todir=${distDir}/lib file=${lib.path} / /j:forEach the above works, but only allows me to copy the DIRECT dependencies which I have specified in the project.xml. But how do I get to copy all the dependencies of my dependencies into my ${distDir}/lib folder? Does anyone have a solution for this? Best Regards Per Abich Catenic AG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to use CVS with maven?
Can I make the username of the developerconnection depend on something in my build.properties? Best Regards Per Abich On Sun, 7 Nov 2004 14:30:16 +1100, Brett Porter [EMAIL PROTECTED] wrote: The cvs is running ok now, but I have more questions: 1) how maven choose the connection to use? connection or developerConnection ? Dev connection if it exists, unless you override that. 2) how do I set the password each time I will use the connection? using -Dpassword ?? You need to cvs login first in pserver. That hasn't been built into the plugin. - Brett - 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]
Passing Parameters to java/junit
I need to run my junits with -D java.awt.headless=true since I use cruisecontrol maven and don't want my unit-tests to fail because some class I use is initializing some AWT-stuff (even though my app doesn't create any windows, or graphical output) Where would I put this parameter? If I have it in project.properties, it doesn't work, but passing it directly to maven does, but how do I tell cruisecontrol to use it Anyone go any idea? Thanks Per - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-proxy configuration
You have to configure the Maven repository list, not the proxy... Per On Thu, 16 Sep 2004 14:54:11 -0600, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Anyone? Surely people have tackled this problem before. Anyone have example configurations they'd like to share that have proper snapshot handling? -wr [EMAIL PROTECTED] on 09/15/2004 11:09:11 AM Please respond to Maven Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Winston Rast/Jeppesen/TMC) Subject: maven-proxy configuration I'm having some serious problems trying to configure maven-proxy the way I want. I have a private remote repository the developers share. It contains snapshots of numerous projects under development. We are trying to eliminate ibiblio as a remote repository as well. I have configured maven-proxy on the same machine as our private remote repo. It's download directory currently points directly to our private remote repo location. My problem lies in the fact that regardless of how I seem to configure maven-proxy, it always wants to go and look at ibiblio for our projects' snapshots. What I want to do is have maven-proxy NOT look at external remote repositories for snapshots but everything else (real, versioned artifacts) *should* look at them. Surely this has been tackled before. Hopefully someone has some ideas on this subject. I am using the SNAPSHOT version of maven-proxy along with the snapshot configuration example currently available. Thanks. -wr __ NOTICE: This communication and any files transmitted with it (communication) may contain privileged or other confidential information. This communication is intended solely for the individual or entity to whom it is addressed. If you are not the intended recipient, or believe that you have received this communication in error, please do not print, copy, retransmit, disseminate, or otherwise use this communication. Also, please indicate to the sender that you have received this communication in error, and then delete this communication and any copies. Thank you. - 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: Proxy not working
Have you tried it without the username? Maybe he fails if no username is required... On Tue, 14 Sep 2004 11:43:00 -0400, Yvon Leclerc [EMAIL PROTECTED] wrote: For my host/domain in Win2000, I used the My Computer/Properties/Network ID info. My hostname is a.b.c.d.e and domain b.c.d.e so I used a.b.c.d.e for maven.proxy.ntlm.host, and b.c.d.e for maven.proxy.ntlm.domain. I even tried just a for host. ... Yvon -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 9:23 AM To: Maven Users List Subject: Re: Proxy not working are you sure you have the host/domain right? Have you successfully used the proxy through any other Java based applications? Cheers, Brett On Tue, 14 Sep 2004 09:19:14 -0400, Yvon Leclerc [EMAIL PROTECTED] wrote: I'm trying to get maven to work behind my firewall (it's been one week). Here's my build.properties: maven.proxy.host=proxy.ca.mycompany.com maven.proxy.port=8080 maven.username=myuserid maven.password=mypassword When I maven jar I get: Attempting to download commons-jelly-tags-jsl-20030211.143151.jar. No credentials available for the '' authentication realm at proxy.ca.mycompany.com Error retrieving artifact from [http://www.ibiblio.org/maven/commons-jelly/jars/ commons-jelly-tags-jsl-20030211.143151.jar]: java.io.IOException: Not authorized by proxy. So, just in case we use NTLM I added the following: maven.proxy.ntlm.host=myhost maven.proxy.ntlm.domain=mydomain.domain.domain . and got: Attempting to download commons-jelly-tags-jsl-20030211.143151.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/commons-jelly/jars/ commons-jelly-tags-jsl-20030211.143151.jar]: java.io.IOException: Not authorized by proxy. I have a dot in my password, would it be the issue? Help! - 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: site:sshdeploy
I have these lines in my build.properties: maven.ssh.executable=c:/programme/putty/plink maven.scp.executable=c:/programme/putty/pscp And the putty agent pagant is running. Putty logs in via pub-key. If you have putty working with pub-key, then this should work. Per On Wed, 8 Sep 2004 18:29:27 +0200, Geoffrey [EMAIL PROTECTED] wrote: Dion, did you have time to reveiw and commit the site-deployment.xml I wrote and send you? It contains info on how to use openSSH's agent to avoid the password prompt. -- With kind regards, Geoffrey Dion Gillard [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED] You have to set up the ssh server to skip the password prompt during authentication On Tue, 07 Sep 2004 23:58:56 -0400, Adam Fisk [EMAIL PROTECTED] wrote: I'm trying to use the site:sshdeploy goal, and it's hanging. I believe it hangs when the server asks for a password. My test server is running Windows, so I'm using Cygwin. This makes it trickier to setup ssh to automatically authenticate known keys and skip the password prompt (although it's possible). Anyone know if I have to set up the ssh server to skip the password prompt during authentication, or could there be something else happening here? I'm able to use scp to this machine outside of Maven when I fill in the password prompt. Thanks so much. -Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.multitask.com.au/people/dion/ - 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: site:sshdeploy
I am using putty for it and it works with pub-key-auth If you want to, I can post the lines from my build.properties... Per On Wed, 08 Sep 2004 00:46:26 -0400, Adam Fisk [EMAIL PROTECTED] wrote: Yeah, that's what I was afraid of. I'll fiddle with this some more in Cygwin. Thanks Dion. -Adam Dion Gillard wrote: You have to set up the ssh server to skip the password prompt during authentication - 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: Jar:deploy building incorrect file path with extra : before the a rtifact Id
Looks like a cvs notation to me. Maybe you have specified upload via CVS? I'd say you have CVSROOT=C:/apachehtdocs/maven/dev/ and the module name echostar-toolkit/poms/echostar-toolkit-1.0.0.0.pom. But I am not experienced enought with maven to tell you how you produced it. Check your project.properties and project.xml Regards Per Abich On Thu, 26 Aug 2004 18:14:52 -0600, Ryan, Scott [EMAIL PROTECTED] wrote: I am trying to run the jar:deploy goal. It is adding an extra : between the file location and the artifactId so that the directory cannot be located. Here is an example of the bad location: scp: C:/apachehtdocs/maven/dev/:echostar-toolkit/poms/echostar-toolkit-1.0.0.0.po m I cannot figure out where the extra : is coming before the artifact Id 'echostar-toolkit' Any ideas??? Scott Damon Ryan Developer (720) 514-5389 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- Per Abich Praktikant Catenic AG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Is there a way to separate maven's repository from my reposit ory?
If you cannot turn it off, maybe you can clear it with a pre-Goal for the clean goal. The compile would then repopulate it from all known repositories (meaning all repos you have specified). Maybe you should automate the building process and use cruisecontrol so that the repository of the developer doesn't matter, since only the repo of the CruiseControl users does... Hope my suggestions help... Regards Per Abich On Thu, 26 Aug 2004 13:40:37 -0500, Jarrell, Maury [EMAIL PROTECTED] wrote: -Original Message- From: Courtney, Craig [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 10:32 AM To: Maven Users List Subject: RE: Is there a way to separate maven's repository from my reposit ory? It is prudent to pay attention to this for internal only software as well. Good advice. How do you disable the local repository? Not sure. More knowledgeable folks than me have already said there really isn't one. I just ran a dist:build on my project and no libraries were included in the zip or tar.gz files. I think one might be able to write a postGoal for dist:build that jar'd the libraries referenced in your project.xml. Maybe then a separate remote repository wouldn't even have to be created. I also just commented out a dependency in my project.xml and tried to re-run a clean then a dist:build. The dist:build failed due to that dependency. The means that the classpath for compilation, unit tests, etc are based on the project.xml and not on everything that resides in the repository. It would seem that control over the dependencies in the project.xml = total control over the libraries used for your build. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Per Abich Praktikant Catenic AG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Jar:deploy building incorrect file path with extra : before t he a rtifact Id
If you could post the project.xml (maybe directly to me?) I could take a look. I still think maven interprets something as a cvs-connection string. Per On Fri, 27 Aug 2004 08:31:17 -0600, Ryan, Scott [EMAIL PROTECTED] wrote: Thanks for the tip but we do not use CVS. I have checked all my files project.xml, maven.xml, build.properties and project.properties and there are no colons anywhere in those files so it must be getting added by one of the plugins. Any other ideas? The jar:install works fine it is just he jar:deploy that is munging the name. It appears to be running the upload via ssh which is what I expect and I have my doc root set to C:/apachehtdocs/maven/dev/. I will see about hard coding the upload parameter to be sure and force ssh. Scott Damon Ryan Developer (720) 514-5389 [EMAIL PROTECTED] -Original Message- From: Per Abich [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 12:09 AM To: Maven Users List Subject: Re: Jar:deploy building incorrect file path with extra : before the a rtifact Id Looks like a cvs notation to me. Maybe you have specified upload via CVS? I'd say you have CVSROOT=C:/apachehtdocs/maven/dev/ and the module name echostar-toolkit/poms/echostar-toolkit-1.0.0.0.pom. But I am not experienced enought with maven to tell you how you produced it. Check your project.properties and project.xml Regards Per Abich On Thu, 26 Aug 2004 18:14:52 -0600, Ryan, Scott [EMAIL PROTECTED] wrote: I am trying to run the jar:deploy goal. It is adding an extra : between the file location and the artifactId so that the directory cannot be located. Here is an example of the bad location: scp: C:/apachehtdocs/maven/dev/:echostar-toolkit/poms/echostar-toolkit-1.0.0.0.po m I cannot figure out where the extra : is coming before the artifact Id 'echostar-toolkit' Any ideas??? Scott Damon Ryan Developer (720) 514-5389 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- Per Abich Praktikant Catenic AG - 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] -- Per Abich Praktikant Catenic AG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is there a way to separate maven's repository from my repository?
On Thu, 26 Aug 2004 09:37:20 +1000, Brett Porter [EMAIL PROTECTED] wrote: When you say make available, it only makes available in the sense that if you ask to use it, it will be used. They are not added to the classpath of your application unless they are a dependency in project.xml. I can't think of a way to do this, but I've never considered this a major failing myself. - Brett On Wed, 25 Aug 2004 15:35:43 -0400, Courtney, Craig [EMAIL PROTECTED] wrote: I've set up a test install of maven but unfortunatley maven seems to require an incredible amount of items be in the repository just for it to work. This is slightly annoying but would be workable if it didn't automagically make all of these maven dependencies available to my projects build process. In my case I want our build tool to access a controlled repository where projects should not have access to anything on ibiblio. I started to copy down only the things maven needs to run in my local repository, but this basically is the same result as now all of these projects are now available for use in my projects. Is there any way to tell maven itself to use a different repository and cache from my build processes? It seems to be a major failing of a build tool to force me to cross polute my build process with that of mavens itself. Thanks, Craig - 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] -- Per Abich Praktikant Catenic AG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: site:deploy with putty
I have now solved the problem. I have to have the following line in my build.properties: maven.scm.cvs.rsh=plink The maven.ssh.executable=c:/programme/putty/plink maven.scp.executable=c:/programme/putty/pscp lines are ignored by site:deploy Thanks for your help Regards Per Abich On Tue, 24 Aug 2004 09:37:53 +0200, Christian Mouttet [EMAIL PROTECTED] wrote: Per, we use Putty no our Windows clients for depolyment to a Linux repository machine. This is how it works for us. start 'puttygen.exe' to generate public/private keys: - 'SSH2 DSA' - randomly move your mouse pointer over the window - save public and private key - add an user on the remote (local repository) machine - copy 'Public key for pasting...' (the String starting with 'ssh-dss') in the file '$HOME/.ssh/authorized_keys' on the repository machine ($HOME is the user home dir of the new added user) start 'putty.exe' and configure the destination: ! +-- Session ! Hostname: local-repository-machine ! Protocol: SSH \-+ Connection ! Auto-login username: username-on-repository-machine \-+ SSH ! Preferred SSH protocol version: 2 \-- Auth Private key file for authentication: private-key-file back to ! \-- Session Saved Sessions: local-repository-machine [Save]! Now the connection can be testet by double-clicking the entry in 'saved sessions' list box. = login without typing the password. It is important that there is an entry in build.properties (lives in your home directory) that is *exactly* the same as the saved session. Putty uses the configuration instead of directly trying to ssh the hostname. Hope it helps. -Christian Am Mo, den 23.08.2004 schrieb Per Abich um 22:35: I have tried to use putty with site:deploy on our local repository, but it alway promps me for a password _after_ I press CTRL-C. dist:deploy works fine using agent authentification plink/pscp. Does anyone here got experience with this kind of trouble? Or maybe a short info on how to setup agent authentification for the internal ssh... Best Regards Per Abich - 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] -- Per Abich Praktikant Catenic AG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]