[CVS problem] [nead HELP!!!]
I try to set my cvs repository for maven. I use CVSNT on a Windows server. Normaly, this path is work with Eclipse IDE: :pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino but scm:cvs:pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino does'nt work with maven (I set this in che connection in my POM) Is a parsing problem (you can see e: - the disk drive make to have more tokens that normal). For example the error message for statcvs repport is: statcvs:init: statcvs:generate: statcvs:init-variables: statcvs:parse-connection: [echo] Using connection: scm:cvs:pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino statcvs:validate: [echo] fetching cvs logs at D:\proiecte\Festino\bin... [cvs] cvs log: CVSROOT (:pserver:[EMAIL PROTECTED]:e) [cvs] cvs log: requires a path spec [cvs] cvs log: :pserver[;keyword=value...]:[username[:[EMAIL PROTECTED]:port][:]/path [cvs] cvs [log aborted]: Bad CVSROOT. statcvs:init: statcvs:generate-xdoc: statcvs:init-variables: statcvs:parse-connection: statcvs:validate: [java] StatCvs-XML 0.9.4 - CVS statistics generation [java] [java] Parsing CVS log 'D:\proiecte\Festino\bin/site/statcvs.log' [java] Logfile parsing failed. [java] empty logfile! [java] [ERROR] Java Result: 1 Whow I can resolve this problem??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems with deploying site through FTP
Hi, I am facing problems with deploying my site through FTP. After I run 'maven -X site:deploy' I receive the following output: ... site:ftpdeploy: [echo] siteAddress = 80.127.18.xxx (xxx-values removed for privacy reasons) siteDirectory = /mysite siteUser = franck attaining goal build:end popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in maven-jxr-plugin:maven-jxr-plugin popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in maven-xdoc-plugin:maven-xdoc-plugin ... BUILD SUCCESSFUL However, nothing gets ftp-ed. When I ftp manually from the command line there is no problem, indicating that ftp in itself is working. It looks like the maven ftp engine is not fired up. I looked in the plugin itself and there the following code should ftp the stuff ... !-- FTP to the server -- ftp server=${pom.siteAddress} userid=${maven.username} password=${maven.password} remotedir=${pom.siteDirectory} fileset dir=${docsDest} includes=**/*.*/ /ftp Could anyone tell me what actually happens here? Where can I find the code that actually does the ftp-ing? Should this be working? Or is there a better way to deploy my site? Thanks in advance, Franck -- _ Versatel ADSL Gratis. De voordelen van gratis internet met de snelheid van ADSL. Zonder abonnementskosten en zonder vast contract. Je betaalt alleen voor de tijd online. Nu zonder aansluitkosten en met gratis modem. Bestel snel op www.versatel.nl. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : [CVS problem] [nead HELP!!!]
You should set your CVS root to : scm:cvs:pserver:[EMAIL PROTECTED]:/e//cvsrep/Festino:moduleName - Fabrice BELLINGARD DSIN/INSI/EATE/AIDV (01 61) 45 16 01 - [EMAIL PROTECTED] colaru [EMAIL PROTECTED] e.roPour Maven Users List 19/01/2005 09:02 users@maven.apache.org, dan tran [EMAIL PROTECTED] cc Veuillez répondre à Objet Maven Users List [CVS problem] [nead HELP!!!] [EMAIL PROTECTED] che.org I try to set my cvs repository for maven. I use CVSNT on a Windows server. Normaly, this path is work with Eclipse IDE: :pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino but scm:cvs:pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino does'nt work with maven (I set this in che connection in my POM) Is a parsing problem (you can see e: - the disk drive make to have more tokens that normal). For example the error message for statcvs repport is: statcvs:init: statcvs:generate: statcvs:init-variables: statcvs:parse-connection: [echo] Using connection: scm:cvs:pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino statcvs:validate: [echo] fetching cvs logs at D:\proiecte\Festino\bin... [cvs] cvs log: CVSROOT (:pserver:[EMAIL PROTECTED]:e) [cvs] cvs log: requires a path spec [cvs] cvs log: :pserver[;keyword=value...]:[username[:[EMAIL PROTECTED]:port][:]/path [cvs] cvs [log aborted]: Bad CVSROOT. statcvs:init: statcvs:generate-xdoc: statcvs:init-variables: statcvs:parse-connection: statcvs:validate: [java] StatCvs-XML 0.9.4 - CVS statistics generation [java] [java] Parsing CVS log 'D:\proiecte\Festino\bin/site/statcvs.log' [java] Logfile parsing failed. [java] empty logfile! [java] [ERROR] Java Result: 1 Whow I can resolve this problem??? - 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: SCM 1.5 Plugin Beta 3
I can include it, though I have not had the opportunity to test it personally and do not believe all of the functions are implemented. I will include it in the next beta. - Brett On Tue, 18 Jan 2005 23:47:55 -0800, dan tran [EMAIL PROTECTED] wrote: When will we receive beta for clearcase? ;-) -D On Tue, 18 Jan 2005 23:38:08 +1100, Brett Porter [EMAIL PROTECTED] wrote: I have a released a beta of the SCM plugin with subversion support. Please test this even if you are already using this plugin for CVS as the backend has changed - the ant:cvs / task is no longer used. Changes since beta-2 are: New Features: o checkout to target/checkout instead of target/checkouts/module-name for consistency between SVN and CVS. o implement a status check on prepare-release - fails if any unknown or modified files exist other than project.xml and changes.xml. To automatically install the plugin, type the following on a single line: maven plugin:download -DgroupId=maven -DartifactId=maven-scm-plugin -Dversion=1.5-beta-3 (please wait 4 hours for it to be mirrored). For a manual installation, you can download the plugin here: http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-scm-plugin-1.5-beta-3.jar - 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: Problems with deploying site through FTP
The ftp is provided by an Ant task, and uses commons-net. I'm surprised there isn't any additional output. If you'd like to file a bug in JIRA it can be chased up. Can you also try the site 1.6 release from yesterday if you haven't installed it? maven plugin:download -DgroupId=maven -DartifactId=maven-site-plugin -Dversion=1.6 Thanks, Brett On Wed, 19 Jan 2005 09:10:17 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am facing problems with deploying my site through FTP. After I run 'maven -X site:deploy' I receive the following output: ... site:ftpdeploy: [echo] siteAddress = 80.127.18.xxx (xxx-values removed for privacy reasons) siteDirectory = /mysite siteUser = franck attaining goal build:end popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in maven-jxr-plugin:maven-jxr-plugin popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in maven-xdoc-plugin:maven-xdoc-plugin ... BUILD SUCCESSFUL However, nothing gets ftp-ed. When I ftp manually from the command line there is no problem, indicating that ftp in itself is working. It looks like the maven ftp engine is not fired up. I looked in the plugin itself and there the following code should ftp the stuff ... !-- FTP to the server -- ftp server=${pom.siteAddress} userid=${maven.username} password=${maven.password} remotedir=${pom.siteDirectory} fileset dir=${docsDest} includes=**/*.*/ /ftp Could anyone tell me what actually happens here? Where can I find the code that actually does the ftp-ing? Should this be working? Or is there a better way to deploy my site? Thanks in advance, Franck -- _ Versatel ADSL Gratis. De voordelen van gratis internet met de snelheid van ADSL. Zonder abonnementskosten en zonder vast contract. Je betaalt alleen voor de tijd online. Nu zonder aansluitkosten en met gratis modem. Bestel snel op www.versatel.nl. - 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: Réf. : [CVS problem] [nead HELP!!!]
Merci!!! It work's!!! The parsing process is OK. But is another problem now. Is about the the password. With Eclipse is work's the connection. But with maven no (I use CVSNT in windows). statcvs:generate: statcvs:init-variables: statcvs:parse-connection: [echo] Using connection: scm:cvs:pserver:[EMAIL PROTECTED]:/e//cvsrep:Festino statcvs:validate: [echo] fetching cvs logs at D:\proiecte\Festino\bin... [cvs] Using cvs passfile: C:\Documents and Settings\colaru.SETMOBILE\.cvspass [cvs] cvs log: Empty password used - try 'cvs login' with a real password [cvs] [cvs] cvs [log aborted]: authorization failed: server master rejected access to /e//cvsrep for user colaru statcvs:init: What they say with thin in changelog plugin???: This plugin does not use the cvs executable on your system to access CVS, instead it uses a java library from the NetBeans project. The password to access CVS is read by the plugin from ${user.home}/.cvspass. If you are using CVSNT you will not have this file, as CVSNT stores passwords encrypted in the registry. To create this file, please execute the changelog:create-cvspass goal, e.g. maven -Dpassword= changelog:create-cvspass - Original Message - From: [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Wednesday, January 19, 2005 10:47 AM Subject: Réf. : [CVS problem] [nead HELP!!!] You should set your CVS root to : scm:cvs:pserver:[EMAIL PROTECTED]:/e//cvsrep/Festino:moduleName - Fabrice BELLINGARD DSIN/INSI/EATE/AIDV (01 61) 45 16 01 - [EMAIL PROTECTED] colaru [EMAIL PROTECTED] e.roPour Maven Users List 19/01/2005 09:02 users@maven.apache.org, dan tran [EMAIL PROTECTED] cc Veuillez répondre à Objet Maven Users List [CVS problem] [nead HELP!!!] [EMAIL PROTECTED] che.org I try to set my cvs repository for maven. I use CVSNT on a Windows server. Normaly, this path is work with Eclipse IDE: :pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino but scm:cvs:pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino does'nt work with maven (I set this in che connection in my POM) Is a parsing problem (you can see e: - the disk drive make to have more tokens that normal). For example the error message for statcvs repport is: statcvs:init: statcvs:generate: statcvs:init-variables: statcvs:parse-connection: [echo] Using connection: scm:cvs:pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino statcvs:validate: [echo] fetching cvs logs at D:\proiecte\Festino\bin... [cvs] cvs log: CVSROOT (:pserver:[EMAIL PROTECTED]:e) [cvs] cvs log: requires a path spec [cvs] cvs log: :pserver[;keyword=value...]:[username[:[EMAIL PROTECTED]:port][:]/path [cvs] cvs [log aborted]: Bad CVSROOT. statcvs:init: statcvs:generate-xdoc: statcvs:init-variables: statcvs:parse-connection: statcvs:validate: [java] StatCvs-XML 0.9.4 - CVS statistics generation [java] [java] Parsing CVS log 'D:\proiecte\Festino\bin/site/statcvs.log' [java] Logfile parsing failed. [java] empty logfile! [java] [ERROR] Java Result: 1 Whow I can resolve this problem??? - 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] __ NOD32 1.975 (20050118) Information __ This message was checked by NOD32 antivirus system. http://www.nod32.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with deploying site through FTP
Sorry!!! Is my mistake!!! Now I sent to maven list! I want to sent just to fabrice... I respect yout work and I will be more carefoul witf my messages!!! Cristian. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: Réf. : [CVS problem] [nead HELP!!!]
Yes, you have to generate this .cvspass file. And this can be done via the command : maven -Dpassword= changelog:create-cvspass That doesn't work? Fabrice BELLINGARD DSIN/INSI/EATE/AIDV (01 61) 45 16 01 - [EMAIL PROTECTED] colaru [EMAIL PROTECTED] e.roPour Maven Users List 19/01/2005 13:29 users@maven.apache.org cc VeuillezObjet répondre à Re: Réf. : [CVS problem] [nead Maven Users List HELP!!!] [EMAIL PROTECTED] che.org Merci!!! It work's!!! The parsing process is OK. But is another problem now. Is about the the password. With Eclipse is work's the connection. But with maven no (I use CVSNT in windows). statcvs:generate: statcvs:init-variables: statcvs:parse-connection: [echo] Using connection: scm:cvs:pserver:[EMAIL PROTECTED]:/e//cvsrep:Festino statcvs:validate: [echo] fetching cvs logs at D:\proiecte\Festino\bin... [cvs] Using cvs passfile: C:\Documents and Settings\colaru.SETMOBILE\.cvspass [cvs] cvs log: Empty password used - try 'cvs login' with a real password [cvs] [cvs] cvs [log aborted]: authorization failed: server master rejected access to /e//cvsrep for user colaru statcvs:init: What they say with thin in changelog plugin???: This plugin does not use the cvs executable on your system to access CVS, instead it uses a java library from the NetBeans project. The password to access CVS is read by the plugin from ${user.home}/.cvspass. If you are using CVSNT you will not have this file, as CVSNT stores passwords encrypted in the registry. To create this file, please execute the changelog:create-cvspass goal, e.g. - Original Message - From: [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Wednesday, January 19, 2005 10:47 AM Subject: Réf. : [CVS problem] [nead HELP!!!] You should set your CVS root to : scm:cvs:pserver:[EMAIL PROTECTED]:/e//cvsrep/Festino:moduleName - Fabrice BELLINGARD DSIN/INSI/EATE/AIDV (01 61) 45 16 01 - [EMAIL PROTECTED] colaru [EMAIL PROTECTED] e.ro Pour Maven Users List 19/01/2005 09:02 users@maven.apache.org, dan tran [EMAIL PROTECTED] cc Veuillez répondre à Objet Maven Users List [CVS problem] [nead HELP!!!] [EMAIL PROTECTED] che.org I try to set my cvs repository for maven. I use CVSNT on a Windows server. Normaly, this path is work with Eclipse IDE: :pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino but scm:cvs:pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino does'nt work with maven (I set this in che connection in my POM) Is a parsing problem (you can see e: - the disk drive make to have more tokens that normal). For example the error message for statcvs repport is: statcvs:init: statcvs:generate: statcvs:init-variables: statcvs:parse-connection: [echo] Using connection: scm:cvs:pserver:[EMAIL PROTECTED]:e:/cvsrep/Festino statcvs:validate: [echo] fetching cvs logs at D:\proiecte\Festino\bin... [cvs] cvs log: CVSROOT (:pserver:[EMAIL PROTECTED]:e) [cvs] cvs log: requires a path spec [cvs] cvs log: :pserver[;keyword=value...]:[username[:[EMAIL PROTECTED]:port][:]/path [cvs] cvs [log aborted]: Bad CVSROOT. statcvs:init: statcvs:generate-xdoc: statcvs:init-variables: statcvs:parse-connection: statcvs:validate: [java] StatCvs-XML 0.9.4 - CVS statistics generation [java] [java] Parsing CVS log 'D:\proiecte\Festino\bin/site/statcvs.log' [java] Logfile parsing failed. [java] empty logfile! [java] [ERROR] Java Result: 1 Whow I can resolve this problem??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with deploying site through FTP
Hi, I downloaded the 1.6 release and the same thing happens. I see that FTP is an optional task within Ant. As fas as I can see from my local repository is that I do not have this optional library available. From the documentation the FTP task has a dependency to NetComponents from Saverese. I tried to resolve these dependencies by adding ant/jars/ant-optional-1.5.3-1 and savarese/jars/NetComponents-1.3.8 to the site plugin. The result is the same. I don't see any output and it looks like no FTP task is invoked. Does anyone have an idea? As an alternative I could use ssh/rsync, but I am not sure if this is possible with a Windows server? Anyone who knows this? Thanks, Franck Citeren Brett Porter [EMAIL PROTECTED]: The ftp is provided by an Ant task, and uses commons-net. I'm surprised there isn't any additional output. If you'd like to file a bug in JIRA it can be chased up. Can you also try the site 1.6 release from yesterday if you haven't installed it? maven plugin:download -DgroupId=maven -DartifactId=maven-site-plugin -Dversion=1.6 Thanks, Brett On Wed, 19 Jan 2005 09:10:17 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am facing problems with deploying my site through FTP. After I run 'maven -X site:deploy' I receive the following output: ... site:ftpdeploy: [echo] siteAddress = 80.127.18.xxx (xxx-values removed for privacy reasons) siteDirectory = /mysite siteUser = franck attaining goal build:end popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in maven-jxr-plugin:maven-jxr-plugin popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in maven-xdoc-plugin:maven-xdoc-plugin ... BUILD SUCCESSFUL However, nothing gets ftp-ed. When I ftp manually from the command line there is no problem, indicating that ftp in itself is working. It looks like the maven ftp engine is not fired up. I looked in the plugin itself and there the following code should ftp the stuff ... !-- FTP to the server -- ftp server=${pom.siteAddress} userid=${maven.username} password=${maven.password} remotedir=${pom.siteDirectory} fileset dir=${docsDest} includes=**/*.*/ /ftp Could anyone tell me what actually happens here? Where can I find the code that actually does the ftp-ing? Should this be working? Or is there a better way to deploy my site? Thanks in advance, Franck -- _ Versatel ADSL Gratis. De voordelen van gratis internet met de snelheid van ADSL. Zonder abonnementskosten en zonder vast contract. Je betaalt alleen voor de tijd online. Nu zonder aansluitkosten en met gratis modem. Bestel snel op www.versatel.nl. - 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] -- _ Versatel ADSL Gratis. De voordelen van gratis internet met de snelheid van ADSL. Zonder abonnementskosten en zonder vast contract. Je betaalt alleen voor de tijd online. Nu zonder aansluitkosten en met gratis modem. Bestel snel op www.versatel.nl. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
StatCVS Plugin support for SVN?
Hi all does anybody know if it is planned to work out/migrate the StatCVS Plugin to support also Subversion repositories (StatSVN)? Thanks for any hint Silvio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Beginner's woes
The stuff missing from axis is activation.jar and the mail jar(s) that AFAIK noone has successfully produced a open source version of. You might try Tiger jMail (sp?)...anyway the artifact is called tjmail I believe... It doesn't have _all_ of the features of Sun's javamail package (some missing functionality WRT mime/multipart), but it seems pretty good. The project is hosted on SourceForge, I believe. Regards, john - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Three questions - postGoal skipping, SNAPSHOTs and downloading artifacts output
Anyone have any suggestions/best practices for the follow issues? 1) post/preGoals: I have rmic and post-process in a postGoal to java:compile. rmic is smart enough only to update classes that have been recompiled but post-process always runs. Is there a simple way of making sure that if java:compile does nothing then none of the postGoals are run? This won't buy me that much in this case since even if 1 class changes the post-processor will run through everything. But there may be other people/cases where it would be useful to not have the postGoal run if main goal does nothing. 2) SNAPSHOTs: Can someone describe to me Maven behavior step-by-step when SNAPSHOT is used and how this differs from not usign SNAPSHOT. Or let me know where in the code this is? When developing my multiproject, I use SNAPSHOT. So say I change some classes in one subproject (in a way that affect dependenct subprojects) and run jar:install. Since I overwrite the file in the local respository with 'install', does it matter whether I use SNAPSHOT or not? My impression is that Maven uses the jar in the local repository for the classpath so doesn't putting in a new file do the job? Or should I run install-snapshot? What's the difference? (install-snapshot installs an artifact appended with the date/time but it seems my other subprojects still look for artifact-SNAPSHOT.jar, not the one with the date/time) What would the consequences be of not using SNAPSHOT? Would that just require the developer to do more work (ie install a subproject's jar when they change)? OR - do I have to use SNAPSHOT because Maven doesn't even go to the respository when the filename hasn't changed even if the file has. 3) Downloading artifacts: I have two remote repostitories set. How do I disable the warning that appears if the first site doesn't contain the file? Or can you let me know where in the code is this? Thanks again. BTW, the MIT puzzle hunt this weekend was crazy fun. Really encourage it next year for anyone in the Northeast. Computer skills come in handy. My first one of these: http://www.normalville.org/setec -Randy http://www.harvardsketch.com/randall/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SCM 1.5 Plugin Beta 3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 18, 2005, at 06:38, Brett Porter wrote: To automatically install the plugin, type the following on a single line: maven plugin:download -DgroupId=maven -DartifactId=maven-scm-plugin -Dversion=1.5-beta-3 (please wait 4 hours for it to be mirrored). For a manual installation, you can download the plugin here: http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/ maven-scm-plugin-1.5-beta-3.jar iBiblio doesn't have the plugin yet, and I tried a manual download without success, too. Has this plugin really made it out into the wild yet? - -- Craig S. Cottingham [EMAIL PROTECTED] OpenPGP key available from: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7977F79C -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7ps/EJLQ3Hl395wRAshVAKDVC/nhJaQTkxZ6FvO/5D6uQrY6/gCfbpB5 B38K0SwF4BZyufXleY4MlqA= =66UL -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: SCM 1.5 Plugin Beta 3
Hi I found it ;-) here... http://svn.apache.org/repository/maven/plugins/ silvio Von: Craig S.Cottingham [mailto:[EMAIL PROTECTED] Gesendet: Mi 19.01.2005 18:39 An: Maven Users List Betreff: Re: SCM 1.5 Plugin Beta 3 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 18, 2005, at 06:38, Brett Porter wrote: To automatically install the plugin, type the following on a single line: maven plugin:download -DgroupId=maven -DartifactId=maven-scm-plugin -Dversion=1.5-beta-3 (please wait 4 hours for it to be mirrored). For a manual installation, you can download the plugin here: http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/ maven-scm-plugin-1.5-beta-3.jar iBiblio doesn't have the plugin yet, and I tried a manual download without success, too. Has this plugin really made it out into the wild yet? - -- Craig S. Cottingham [EMAIL PROTECTED] OpenPGP key available from: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7977F79C -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7ps/EJLQ3Hl395wRAshVAKDVC/nhJaQTkxZ6FvO/5D6uQrY6/gCfbpB5 B38K0SwF4BZyufXleY4MlqA= =66UL -END PGP SIGNATURE- - 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]
maven and java:compile
Okay, I am specing out maven for a project and I install it just as the documentation tells me to, so then when I attempt a very basic project.xml with a java:compile I get: Could not find the class: org.apache.commons.jelly.tags.antlr.AntlrTagLibrary ..it cascades on with a ClassNotFoundException. Jarhoo(http://www.jarhoo.com) does not know of org.apache.commons.jelly.tags.antlr.AntlrTagLibrary I have searched the repository and sure enough, Maven doesn't have it in the repository. I have seen a few forum posts of others asking for a resolution to this problem, none of them have answers. So is this just a known issue and I need to be waiting/finding an alternative or is this a common problem with a solution I have just not seen?
Maven artifact:deploy and ssh-agent
Hi, all, I'm having some trouble getting the new artifact deploy mode using maven.repo.list working using ssh-agent. Due to security restrictions I'm not allowed to put my passphrase into the build.properties file, and it appears that the deployment is failing as a consequence. I am specifying the relevant private key file. Under the legacy deploy mode, everything works fine. Does anyone have any suggestions? Here is my build.properties file: # If I uncomment the following, the legacy deploy mode works fine #maven.username=my_user #maven.remote.group=maven #maven.repo.central=my.remote.repo.com #maven.repo.central.directory=/path/to/maven/repo # The following results in the exception reported below maven.repo.list = foobar maven.repo.foobar = scp://my.remote.repo.com maven.repo.foobar.username = my_user maven.repo.foobar.privatekey=/home/my_user/.ssh/id_dsa maven.repo.foobar.directory=/path/to/maven/repo maven.repo.foobar.group = maven -- Here's the exception: jar:deploy-snapshot: [echo] maven.repo.list is set - using artifact deploy mode Will deploy to 1 repository(ies): foobar Deploying to repository: foobar Using private key: /home/my_user/.ssh/id_dsa java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at com.jcraft.jsch.Buffer.getByte(Unknown Source) at com.jcraft.jsch.Buffer.getMPIntBits(Unknown Source) at com.jcraft.jsch.Identity.decrypt_dss(Unknown Source) at com.jcraft.jsch.Identity.decrypt(Unknown Source) at com.jcraft.jsch.Identity.setPassphrase(Unknown Source) at com.jcraft.jsch.JSch.addIdentity(Unknown Source) at org.apache.maven.deploy.deployers.GenericSshDeployer.init(GenericSshDeployer.java:140) at org.apache.maven.deploy.deployers.ScpDeployer.init(ScpDeployer.java:103) at org.apache.maven.deploy.DeployTool.deploy(DeployTool.java:134) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.doDeploy(DefaultArtifactDeployer.java:390) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploySnapshot(DefaultArtifactDeployer.java:186) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploySnapshot(DefaultArtifactDeployer.java:183) at org.apache.maven.artifact.deployer.DeployBean.deploySnapshot(DeployBean.java:153) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:87) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:84) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Thanks for your help, Kris -- = Kris Nuttycombe Associate Scientist Geospatial Data Services Group CIRES, National Geophysical Data Center/NOAA (303) 497-6337 [EMAIL PROTECTED] =
Re: SCM 1.5 Plugin Beta 3
Oops :) It was actually published to http://cvs.apache.org/repository. I'm republishing it now to ibiblio now. - Brett On Wed, 19 Jan 2005 11:39:05 -0600, Craig S. Cottingham [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 18, 2005, at 06:38, Brett Porter wrote: To automatically install the plugin, type the following on a single line: maven plugin:download -DgroupId=maven -DartifactId=maven-scm-plugin -Dversion=1.5-beta-3 (please wait 4 hours for it to be mirrored). For a manual installation, you can download the plugin here: http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/ maven-scm-plugin-1.5-beta-3.jar iBiblio doesn't have the plugin yet, and I tried a manual download without success, too. Has this plugin really made it out into the wild yet? - -- Craig S. Cottingham [EMAIL PROTECTED] OpenPGP key available from: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7977F79C -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7ps/EJLQ3Hl395wRAshVAKDVC/nhJaQTkxZ6FvO/5D6uQrY6/gCfbpB5 B38K0SwF4BZyufXleY4MlqA= =66UL -END PGP SIGNATURE- - 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: StatCVS Plugin support for SVN?
Is there a StatSVN project? StatCVS write their Maven plugin themselves. - Brett On Wed, 19 Jan 2005 14:34:24 +0100, Haldi, Silvio [EMAIL PROTECTED] wrote: Hi all does anybody know if it is planned to work out/migrate the StatCVS Plugin to support also Subversion repositories (StatSVN)? Thanks for any hint Silvio - 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 and java:compile
I ran into this problem as well, and I think that I ended up resolving it by either changing to the latest version of Maven or manually hacking the relevant plugin's project.xml file to correct a bad groupId. My memory's pretty fuzzy on this one. Sorry I couldn't be more help, Kris Tate Austin wrote: Okay, I am specing out maven for a project and I install it just as the documentation tells me to, so then when I attempt a very basic project.xml with a java:compile I get: Could not find the class: org.apache.commons.jelly.tags.antlr.AntlrTagLibrary ..it cascades on with a ClassNotFoundException. Jarhoo(http://www.jarhoo.com) does not know of org.apache.commons.jelly.tags.antlr.AntlrTagLibrary I have searched the repository and sure enough, Maven doesn't have it in the repository. I have seen a few forum posts of others asking for a resolution to this problem, none of them have answers. So is this just a known issue and I need to be waiting/finding an alternative or is this a common problem with a solution I have just not seen? -- = Kris Nuttycombe Associate Scientist Geospatial Data Services Group CIRES, National Geophysical Data Center/NOAA (303) 497-6337 [EMAIL PROTECTED] = - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with deploying site through FTP
I tried to resolve these dependencies by adding ant/jars/ant-optional-1.5.3-1 not necessary - Maven has it in it's lib directory and savarese/jars/NetComponents-1.3.8 to the site plugin. can you try adding: properties classloaderroot/classloader /properties to the dependency? If that works, can you remove the NetComponents one, and add that properties definition to commons-net that was originally listed? As an alternative I could use ssh/rsync, but I am not sure if this is possible with a Windows server? Anyone who knows this? Cygwin includes SSHD and rsync. I use it regularly. - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SCM 1.5 Plugin Beta 3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 19, 2005, at 13:45, Brett Porter wrote: Oops :) It was actually published to http://cvs.apache.org/repository. I'm republishing it now to ibiblio now. I got it from svn.apache.org; thanks, Silvio Haldi. Is there any documentation available? Right now, I'm trying to figure out how to get it to work with Subversion by reading the docs for the previous version on maven.apache.org and sifting through plugin.jelly, but it's slow going. - -- Craig S. Cottingham [EMAIL PROTECTED] OpenPGP key available from: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7977F79C -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7ro1EJLQ3Hl395wRArheAJ9KwuUtX84b8ywBU7GrA1gAyheanACcCg0m PGKKTawCAA1wJ6Mlb8KRd1U= =hRUo -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: classpath in manifest file
Hi You also need to add an attribute in each dependency you want to see in your class-path entry in the jar: Here's an exemple: dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.1.3/version properties jar.manifest.classpathtrue/jar.manifest.classpath /properties /dependency Hope it helps Eric. wqi wrote: Hi, I want to add the classpath information in the jar manifest file, I set both maven.jar.manifest.classpath.add property and maven.dependency.classpath to true. However, the classpath information still wasn't added to the manifest file. Is there any step that I missed? Please help. Thanks, -Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Getting maven to read additional properties files
I keep my database properties separate in a database.properties file. This works fine with hibernate because in project.properties I can do: # Database/hibernate properties maven.hibernate.properties=database.properties However, I would like to have dbunit use the same connection information from database.properties. Is there any way to get maven to make database.properties available within project.properties so I can access them as follows: # DBUnit properties maven.dbunit.driverClassName=${hibernate.connection.driver_class} maven.dbunit.url=${hibernate.connection.url} maven.dbunit.user=${hibernate.connection.username} maven.dbunit.password=${hibernate.connection.password} Thanks, Todd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Getting maven to read additional properties files
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This may not be what you are hoping for, but I just use Hibernate to supply my jdbc connections for dbunit. http://www.hibernate.org/hib_docs/api/net/sf/hibernate/Session.html Session.connection() It works great! Jason Todd Huss wrote: | I keep my database properties separate in a database.properties | file. This works fine with hibernate because in project.properties | I can do: | | # Database/hibernate properties | maven.hibernate.properties=database.properties | | However, I would like to have dbunit use the same connection | information from database.properties. Is there any way to get maven | to make database.properties available within project.properties so | I can access them as follows: | | # DBUnit properties | maven.dbunit.driverClassName=${hibernate.connection.driver_class} | maven.dbunit.url=${hibernate.connection.url} | maven.dbunit.user=${hibernate.connection.username} | maven.dbunit.password=${hibernate.connection.password} | | Thanks, Todd | | | - | To unsubscribe, e-mail: [EMAIL PROTECTED] For | additional commands, e-mail: [EMAIL PROTECTED] | | -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7s2CAQ71cZOfvEQRAsJMAJ4pKRrgIbgocANqGkC8p/IfJhq6EQCfUvy1 iQK4+EIeldxPNWUDPWNm9bQ= =2dD7 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Getting maven to read additional properties files
Doesn't the ant:property file=database.properties task work? On Wed, 19 Jan 2005 12:59:25 -0800, Todd Huss [EMAIL PROTECTED] wrote: I keep my database properties separate in a database.properties file. This works fine with hibernate because in project.properties I can do: # Database/hibernate properties maven.hibernate.properties=database.properties However, I would like to have dbunit use the same connection information from database.properties. Is there any way to get maven to make database.properties available within project.properties so I can access them as follows: # DBUnit properties maven.dbunit.driverClassName=${hibernate.connection.driver_class} maven.dbunit.url=${hibernate.connection.url} maven.dbunit.user=${hibernate.connection.username} maven.dbunit.password=${hibernate.connection.password} Thanks, Todd - 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]
Re: Beginner's woes
On Sunday 16 January 2005 18:31, Michael Schuerig wrote: - Finding out which components and versions are available; Maven Repo Search at http://maven.ozacc.com/ There's even an Eclipse plugin that accesses this service. Apparently there is no link on the Maven site to this service Michael -- Michael Schuerig The more it stays the same, mailto:[EMAIL PROTECTED]The less it changes! http://www.schuerig.de/michael/ --Spinal Tap, The Majesty of Rock - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SCM 1.5 Plugin Beta 3
Soon we'll have a preview site up for unpublished docs. For the moment, you'd need to checkout http://svn.apache.org/repos/asf/maven/maven-1/plugins/branches/scm-1.5-branch and run maven site. Sorry about that. There isn't much configuration required beyond the connection string in your project and maven.scm.svn.tag.base if you're doing any tagging (this is the URL where tags for the project are stored, eg https://svn.apache.org/repos/asf/maven/maven-1/plugins/tags for the Maven plugins). The goals can be found using maven -P scm. They are mostly similar to previously. HTH, Brett On Wed, 19 Jan 2005 13:51:13 -0600, Craig S. Cottingham [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 19, 2005, at 13:45, Brett Porter wrote: Oops :) It was actually published to http://cvs.apache.org/repository. I'm republishing it now to ibiblio now. I got it from svn.apache.org; thanks, Silvio Haldi. Is there any documentation available? Right now, I'm trying to figure out how to get it to work with Subversion by reading the docs for the previous version on maven.apache.org and sifting through plugin.jelly, but it's slow going. - -- Craig S. Cottingham [EMAIL PROTECTED] OpenPGP key available from: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7977F79C -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB7ro1EJLQ3Hl395wRArheAJ9KwuUtX84b8ywBU7GrA1gAyheanACcCg0m PGKKTawCAA1wJ6Mlb8KRd1U= =hRUo -END PGP SIGNATURE- - 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: Three questions - postGoal skipping, SNAPSHOTs and downloading artifacts output
On Wed, 19 Jan 2005 11:55:02 -0500, Randy Xu [EMAIL PROTECTED] wrote: Anyone have any suggestions/best practices for the follow issues? 1) post/preGoals: I have rmic and post-process in a postGoal to java:compile. [snip] Is there a simple way of making sure that if java:compile does nothing then none of the postGoals are run? No, but you can use the ant:uptodate / task in the postGoal to test whether it is necessary. See the JAXB plugin at http://maven-plugins.sf.net/ for an example. 2) SNAPSHOTs: Can someone describe to me Maven behavior step-by-step The only real difference is that a SNAPSHOT is downloaded from a remote repository every time it is newer. You probably should use SNAPSHOT while in development, even if you are doing it locally, to indicate it is a work in progress. OR - do I have to use SNAPSHOT because Maven doesn't even go to the respository when the filename hasn't changed even if the file has. correct, because it doesn't know to check if the remote file has changed. This all applies to the remote repository - the local repository is always used because everything in your project's classpath actually comes from there. 3) Downloading artifacts: I have two remote repostitories set. How do I disable the warning that appears if the first site doesn't contain the file? Or can you let me know where in the code is this? DependencyVerifier.java Cheers, Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven and java:compile
This is usually because commons-jelly-tags-antlr is corrupt. It's unfortunate that it is required for java:compile to run, but that is a historical problem. Remove ~/.maven/repository/commons-jelly/jars/commons-jelly-tags-antlr-*.jar and try again. Cheers, Brett On Wed, 19 Jan 2005 12:48:59 -0700, Kris Nuttycombe [EMAIL PROTECTED] wrote: I ran into this problem as well, and I think that I ended up resolving it by either changing to the latest version of Maven or manually hacking the relevant plugin's project.xml file to correct a bad groupId. My memory's pretty fuzzy on this one. Sorry I couldn't be more help, Kris Tate Austin wrote: Okay, I am specing out maven for a project and I install it just as the documentation tells me to, so then when I attempt a very basic project.xml with a java:compile I get: Could not find the class: org.apache.commons.jelly.tags.antlr.AntlrTagLibrary ..it cascades on with a ClassNotFoundException. Jarhoo(http://www.jarhoo.com) does not know of org.apache.commons.jelly.tags.antlr.AntlrTagLibrary I have searched the repository and sure enough, Maven doesn't have it in the repository. I have seen a few forum posts of others asking for a resolution to this problem, none of them have answers. So is this just a known issue and I need to be waiting/finding an alternative or is this a common problem with a solution I have just not seen? -- = Kris Nuttycombe Associate Scientist Geospatial Data Services Group CIRES, National Geophysical Data Center/NOAA (303) 497-6337 [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: Getting maven to read additional properties files
Thanks Dion, That did the trick! -Todd -Original Message- From: Dion Gillard [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 1:34 PM To: Maven Users List Subject: Re: Getting maven to read additional properties files Doesn't the ant:property file=database.properties task work? On Wed, 19 Jan 2005 12:59:25 -0800, Todd Huss [EMAIL PROTECTED] wrote: I keep my database properties separate in a database.properties file. This works fine with hibernate because in project.properties I can do: # Database/hibernate properties maven.hibernate.properties=database.properties However, I would like to have dbunit use the same connection information from database.properties. Is there any way to get maven to make database.properties available within project.properties so I can access them as follows: # DBUnit properties maven.dbunit.driverClassName=${hibernate.connection.driver_class} maven.dbunit.url=${hibernate.connection.url} maven.dbunit.user=${hibernate.connection.username} maven.dbunit.password=${hibernate.connection.password} Thanks, Todd - 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: Maven artifact:deploy and ssh-agent
For now, you'll need to use the external protocol: scpexe://my.remote.repo.com Alternatively, you can help us implement either: a) prompting for the passphrase b) a java SSH agent c) a way to communicate with ssh-agent and/or pageant http://sourceforge.net/mailarchive/message.php?msg_id=8086834 HTH Cheers, Brett On Wed, 19 Jan 2005 12:26:50 -0700, Kris Nuttycombe [EMAIL PROTECTED] wrote: Hi, all, I'm having some trouble getting the new artifact deploy mode using maven.repo.list working using ssh-agent. Due to security restrictions I'm not allowed to put my passphrase into the build.properties file, and it appears that the deployment is failing as a consequence. I am specifying the relevant private key file. Under the legacy deploy mode, everything works fine. Does anyone have any suggestions? Here is my build.properties file: # If I uncomment the following, the legacy deploy mode works fine #maven.username=my_user #maven.remote.group=maven #maven.repo.central=my.remote.repo.com #maven.repo.central.directory=/path/to/maven/repo # The following results in the exception reported below maven.repo.list = foobar maven.repo.foobar = scp://my.remote.repo.com maven.repo.foobar.username = my_user maven.repo.foobar.privatekey=/home/my_user/.ssh/id_dsa maven.repo.foobar.directory=/path/to/maven/repo maven.repo.foobar.group = maven -- Here's the exception: jar:deploy-snapshot: [echo] maven.repo.list is set - using artifact deploy mode Will deploy to 1 repository(ies): foobar Deploying to repository: foobar Using private key: /home/my_user/.ssh/id_dsa java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at com.jcraft.jsch.Buffer.getByte(Unknown Source) at com.jcraft.jsch.Buffer.getMPIntBits(Unknown Source) at com.jcraft.jsch.Identity.decrypt_dss(Unknown Source) at com.jcraft.jsch.Identity.decrypt(Unknown Source) at com.jcraft.jsch.Identity.setPassphrase(Unknown Source) at com.jcraft.jsch.JSch.addIdentity(Unknown Source) at org.apache.maven.deploy.deployers.GenericSshDeployer.init(GenericSshDeployer.java:140) at org.apache.maven.deploy.deployers.ScpDeployer.init(ScpDeployer.java:103) at org.apache.maven.deploy.DeployTool.deploy(DeployTool.java:134) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.doDeploy(DefaultArtifactDeployer.java:390) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploySnapshot(DefaultArtifactDeployer.java:186) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploySnapshot(DefaultArtifactDeployer.java:183) at org.apache.maven.artifact.deployer.DeployBean.deploySnapshot(DeployBean.java:153) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:87) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:84) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
Trouble generating application.xml
I am having problems generating a complete application.xml file, mine does not have entries for my jar and war. How do I define wars and jars to be listed in the xml file? I have only been able to successfully generate the file by uploading my jar and war to the local repo and specifiying them as dependencies in project.xml. This does not work for a clean build, so its probably wrong. Regards, Mark Pope - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]