tag:blogger.com,1999:blog-6173482110174394767.post1294521784847071589..comments2023-06-07T07:28:53.325-07:00Comments on Codespin: Installing Apache Maven 2 on Ubuntu 7.10 Desktopcodespinhttp://www.blogger.com/profile/12753629713895760784noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-6173482110174394767.post-77805048980227402782010-01-11T09:09:36.161-08:002010-01-11T09:09:36.161-08:00you actually can only go to your synaptic package ...you actually can only go to your synaptic package manager and type maven2 and mark it for installation and install it. it will do all the tricks by itself so you do not have to type these lousy commands on your terminal. :)bekuhttps://www.blogger.com/profile/03862418863256115197noreply@blogger.comtag:blogger.com,1999:blog-6173482110174394767.post-87724032954021182702009-01-04T09:40:00.000-08:002009-01-04T09:40:00.000-08:00I did it an easier way..I basically downloaded the...I did it an easier way..<BR/>I basically downloaded the tar.gz binary from apache and expanded it using "Archive Manager" to my mounted windows partition(I have no space on the ubuntu partition..so kept it on the bigger part..So you can keep the expanded stuff anywhere you want)<BR/><BR/>I made a shell script with these entries<BR/>export M2_HOME=/media/disk/apache-maven-2.0.9<BR/>export PATH=${M2_HOME}/bin:${PATH}<BR/><BR/>(for me since my drive won't me mounted until after I login, I didnt add to .bashrc, but you could just add those to .bashrc)<BR/><BR/>After doing that it recognized the "mvn" command and also successfully tested it on a project of mine.Neal Ravindranhttps://www.blogger.com/profile/11297425923573743049noreply@blogger.comtag:blogger.com,1999:blog-6173482110174394767.post-13377109755012927492008-08-26T02:59:00.000-07:002008-08-26T02:59:00.000-07:00I think using this link is the fastest way to inst...I think using this link is the fastest way to install<BR/><BR/>http://packages.ubuntu.com/hardy/all/maven2/downloadLinhhttps://www.blogger.com/profile/00613413897897579235noreply@blogger.comtag:blogger.com,1999:blog-6173482110174394767.post-40953993844302624682008-06-05T04:29:00.000-07:002008-06-05T04:29:00.000-07:00Axel Gross solution didn't work for me. I tried th...Axel Gross solution didn't work for me. I tried the wget+dpkg solution, but there were two missing dependencies:<BR/>libcommons-openpgp-java and<BR/>libganymed-ssh2-java. With them it works, thanks!<BR/><BR/>Wget them here:<BR/>wget http://mirrors.kernel.org/ubuntu/pool/universe/g/ganymed-ssh2/libganymed-ssh2-java_210-2_all.deb <BR/>wget<BR/>http://mirrors.kernel.org/ubuntu/pool/universe/libc/libcommons-openpgp-java/libcommons-openpgp-java_0+svn533492-1_all.debHenrik Hjeltehttps://www.blogger.com/profile/14572554303466957938noreply@blogger.comtag:blogger.com,1999:blog-6173482110174394767.post-5189475865331571672008-06-04T21:22:00.000-07:002008-06-04T21:22:00.000-07:00This comment has been removed by the author.The Sainthttps://www.blogger.com/profile/03031690698471679139noreply@blogger.comtag:blogger.com,1999:blog-6173482110174394767.post-38462691499660733152008-06-04T21:21:00.000-07:002008-06-04T21:21:00.000-07:00This comment has been removed by the author.The Sainthttps://www.blogger.com/profile/03031690698471679139noreply@blogger.comtag:blogger.com,1999:blog-6173482110174394767.post-11186698381949683072008-05-31T15:46:00.000-07:002008-05-31T15:46:00.000-07:00If you're lazy like me, here are the wget's I used...If you're lazy like me, here are the wget's I used:<BR/><BR/>wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/m/maven2/maven2_2.0.8-3_all.deb<BR/>wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/d/doxia/libdoxia-java_1.0-alpha-7-1_all.deb<BR/>wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/p/plexus-container-default/libplexus-container-default-java_1.0-alpha-9-stable-1-2_all.deb<BR/>wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/c/classworlds/libclassworlds-java_1.1-final-1_all.deb<BR/>wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/p/plexus-velocity/libplexus-velocity-java_1.1.6-1_all.deb<BR/>wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/j/jtidy/libjtidy-java_7+svn20070309-1_all.deb<BR/>wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/p/plexus-interactivity-api/libplexus-interactivity-api-java_1.0-alpha-6-2_all.deb<BR/>wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/p/plexus-component-api/libplexus-component-api-java_1.0+svn6316-1_all.deb<BR/>wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/p/plexus-classworlds/libplexus-classworlds-java_1.2+svn5720-1_all.deb<BR/>wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/libp/libplexus-utils/libplexus-utils-java_1.4.8-1_all.deb<BR/>wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/w/wagon/libwagon-java_1.0-beta-2-2_all.debUnknownhttps://www.blogger.com/profile/12815687966344363914noreply@blogger.comtag:blogger.com,1999:blog-6173482110174394767.post-58845949609137828842008-02-19T08:37:00.000-08:002008-02-19T08:37:00.000-08:00thanks for the inspirationsat down to solve this v...thanks for the inspiration<BR/>sat down to solve this via apt-pinning<BR/><BR/>so i added hardy to the apt lists.<BR/>and added to /etc/apt/preferences:<BR/>Package: maven2<BR/>Pin: release a=hardy<BR/>Pin-Priority: 600<BR/><BR/>Package: * <BR/>Pin: release a=hardy<BR/>Pin-Priority: 50<BR/><BR/><BR/>then did:<BR/>sudo aptitude update<BR/>sudo aptitude --show-deps -vvv -V --simulate install maven2<BR/><BR/><BR/>and that looked good, so i did without the --simulate:<BR/>sudo aptitude --show-deps -vvv -V install maven2<BR/><BR/>should work also fine with future updates IMHOAxel Grosshttps://www.blogger.com/profile/08216460374910697088noreply@blogger.comtag:blogger.com,1999:blog-6173482110174394767.post-8212151706195461942008-02-03T13:45:00.000-08:002008-02-03T13:45:00.000-08:00Confirmed. The first time I tried to install all p...Confirmed. The first time I tried to install all packages with <BR/><BR/>dpkg -i *.deb <BR/><BR/>I got errors.<BR/><BR/>sudo apt-get install -f <BR/><BR/>fixes that.<BR/><BR/>Thanks for posting this information.<BR/>Very helpful. Now I am really looking forward to 8.04!Tillhttps://www.blogger.com/profile/14104809908849744547noreply@blogger.comtag:blogger.com,1999:blog-6173482110174394767.post-73837677409120251872008-01-31T09:14:00.000-08:002008-01-31T09:14:00.000-08:00I needed to do a apt-get -f installwith not argume...I needed to do a apt-get -f install<BR/>with not argument<BR/><BR/>after the dpkg -i to complete the installation.Søren Bjerregaard Vristhttps://www.blogger.com/profile/06048823854522422391noreply@blogger.com