maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Aiello" <bob.aie...@FXALL.com>
Subject RE: setting Maven on Linux
Date Tue, 15 May 2007 18:48:38 GMT
Is this what you mean?

<settings>
<!--offline>false</offline-->
 <mirrors>
 <mirror>
  <id>central-mirror</id>
  <mirrorOf>central</mirrorOf>
  <url>http://myserver02.bob.com:9999/repository</url>
  </mirror>
  <mirror>
  <id>snapshot-mirror</id>
  <mirrorOf>snapshot</mirrorOf>
  <url>http://myserver02.bob.com:9999/repository</url>
  </mirror>
  </mirrors>
  <profiles></profiles>
</settings>

-----Original Message-----
From: Jaish.Singh@wellsfargo.com [mailto:Jaish.Singh@wellsfargo.com] 
Sent: Tuesday, May 15, 2007 2:40 PM
To: users@maven.apache.org
Subject: RE: setting Maven on Linux

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



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


Mime
View raw message