You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bob Aiello <bo...@FXALL.com> on 2007/05/15 20:37:29 UTC

setting Maven on Linux

I am working on setting up maven on a Linux server
behind a corporate firewall and I am trying to understand
how maven works.

I think that I need to have maven listening on port 9999
and httpd listening on 8080. 

I see that when I execute the maven-proxy.sh
in the maven2/bin directory the 9999 port starts 
to show that it is listening (as reported by netstat -an).
So am correct in thinking that the listener for 9999 is
this maven-proxy.sh script?

What should I be using to listen on port 8080? (I suspect that I need to
run
Apache, but it is also possible that maven bundles the httpd server.)

When I try to use...
mvn -e archetype:create \
  -DarchetypeGroupId=org.apache.maven.archetypes \
  -DgroupId=com.mycompany.app \
  -DartifactId=my-app

I get org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no
valid version could be found

Which makes me think that maven is not setup or my firewall is 
open yet.

Any help would be greatly appreciated...

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: setting Maven on Linux

Posted by Ja...@wellsfargo.com.
You have to define the proxy in setting.xml in proxy section.

Thanks
Jaish 

-----Original Message-----
From: Bob Aiello [mailto:bob.aiello@FXALL.com] 
Sent: Tuesday, May 15, 2007 11:37 AM
To: Maven Users List
Subject: setting Maven on Linux

I am working on setting up maven on a Linux server behind a corporate
firewall and I am trying to understand how maven works.

I think that I need to have maven listening on port 9999 and httpd
listening on 8080. 

I see that when I execute the maven-proxy.sh in the maven2/bin directory
the 9999 port starts to show that it is listening (as reported by
netstat -an).
So am correct in thinking that the listener for 9999 is this
maven-proxy.sh script?

What should I be using to listen on port 8080? (I suspect that I need to
run Apache, but it is also possible that maven bundles the httpd
server.)

When I try to use...
mvn -e archetype:create \
  -DarchetypeGroupId=org.apache.maven.archetypes \
  -DgroupId=com.mycompany.app \
  -DartifactId=my-app

I get org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no
valid version could be found

Which makes me think that maven is not setup or my firewall is open yet.

Any help would be greatly appreciated...

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org