LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to install maven? (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-maven-401016/)

snowyice 01-08-2006 08:16 PM

how to install maven?
 
hi ppl,

I have followed the guidelines at http://maven.apache.org/download.html#installation.

but i am having problem when i install with jetspeed.
http://portals.apache.org/jetspeed-2...ed-source.html

I created my own "bulid.properties" and insert the codes below

# required portal configuration properties
org.apache.jetspeed.portal.home = /home/myportal/
org.apache.jetspeed.portal.groupId = myprojects
org.apache.jetspeed.portal.artifactId = myportal
org.apache.jetspeed.portal.name = My Test Portal
org.apache.jetspeed.portal.currentVersion = 1.0

# required application server properties
org.apache.jetspeed.server.home = ${CATALINA_HOME}/
org.apache.jetspeed.server.shared = ${org.apache.jetspeed.server.home}/shared/lib/
org.apache.jetspeed.deploy.war.dir = ${org.apache.jetspeed.server.home}/webapps/
org.apache.jetspeed.services.autodeployment.user = j2deployer
org.apache.jetspeed.services.autodeployment.password = xxxxx
org.apache.jetspeed.catalina.version.major = 5.5

maven.repo.remote = http://www.bluesunrise.com/maven/, http://www.ibiblio.org/maven/, \
http://dist.codehaus.org/, http://cvs.apache.org/repository

But i am having problem running the next step.

maven -DartifactId=maven-jetspeed2-plugin -DgroupId=org.apache.portals.jetspeed-2 -Dversion=2.0-M4-SNAPSHOT plugin:download

when i ran at the terminal, it say maven: command not found.

what happen??

someone pls tell me i need to solve this problem soon.


All times are GMT -5. The time now is 03:58 AM.