Hi Edney,

The only other thing that I can think of is that you need to supply a
username/password for your proxy.
Does your proxy server need authentication? If it does, configure it in your
settings.xml..

Here's a snippet (which can also be found here:
http://maven.apache.org/guides/mini/guide-proxies.html):

<settings>
 .
 .
 <proxies>
  <proxy>
     <active>true</active>
     <protocol>http</protocol>
     <host>proxy.somewhere.com</host>
     <port>8080</port>
     <username>proxyuser</username>
     <password>somepassword</password>
     <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
   </proxy>
 </proxies>
 .
 .
</settings>




Cheers
Jo

On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:

Hello Jo,.

"myproxyserver" and "proxy_port" definitely are really not
the correct settings:)

I change this value. In the correct file I put  the information from IE /;
Firefox.

I can surf in internet with my browser.




On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
>
> Edney..
>
> Is this an exact copy of your settings.xml?
> Did you fill in the correct proxy host and proxy port for your network?
> I can assure you that "myproxyserver" and "proxy_port" definitely are
not
> the correct settings ;)
>
> Are you able to surf the internet at all via Internet Explorer or
Firefox?
> If so, have a look at the settings of your browser, copy the proxy
server
> settings and paste them in the corresponding fields of your settings.xml
>
> Good luck
> Jo
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > Ok.
> >
> > I need to do this configuration in settings.xml file? I do that.
> >
> > Here is my setting.xml file
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <settings>
> >     <proxies>
> >         <proxy>
> >             <active>true</active>
> >             <protocol>http</protocol>
> >             <host>myproxyserver</host>
> >             <port>proxy_port</port>
> >         </proxy>
> >     </proxies>
> >     <localRepository>C:\Documents and
> > Settings\myuser\.m2\repository</localRepository>
> >     <offline>false</offline>
> >     <servers>
> >     <server>
> >         <id>tomcat_server</id>
> >         <username>tomcatUser</username>
> >         <password>tomcatPassword</password>
> >     </server>
> > </servers>
> >     <profiles>
> >       <profile>
> >         <id>Default</id>
> >         <pluginRepositories>
> >           <pluginRepository>
> >             <id>AndroMDA</id>
> >             <url>http://team.andromda.org/maven2</url>
> >              <releases>
> >              </releases>
> >              <snapshots>
> >              </snapshots>
> >           </pluginRepository>
> >           <pluginRepository>
> >             <id>Central</id>
> >             <url>http://repo1.maven.org/maven2</url>
> >           </pluginRepository>
> >           <pluginRepository>
> >             <id>IBiblio</id>
> >             <url>http://www.ibiblio.org/maven2</url>
> >           </pluginRepository>
> >           <pluginRepository>
> >             <id>codehaus snapshot repository</id>
> >             <url>http://snapshots.repository.codehaus.org</url>
> >              <releases>
> >              </releases>
> >              <snapshots>
> >              </snapshots>
> >           </pluginRepository>
> >         </pluginRepositories>
> >         <repositories>
> >             <repository>
> >              <releases>
> >              </releases>
> >              <snapshots>
> >                <enabled>false</enabled>
> >              </snapshots>
> >              <id>myfaces.staging</id>
> >              <name>MyFaces Staging Repository</name>
> >              <url>
http://myfaces.zones.apache.org/dist/maven-repository
> > </url>
> >             </repository>
> >             <repository>
> >              <id>androMda</id>
> >              <name>AndroMda Repository</name>
> >              <url>http://andromda.org/maven2</url>
> >              <releases>
> >              </releases>
> >              <snapshots>
> >                <enabled>false</enabled>
> >              </snapshots>
> >             </repository>
> >         </repositories>
> >       </profile>
> >     </profiles>
> >     <activeProfiles>
> >         <activeProfile>Default</activeProfile>
> >     </activeProfiles>
> > </settings>
> >
> > But, here, my access is restricted to internet from DOS
> >
> > I need a Windows application oder a plugin to eclipse, who i can do
the
> > download without command line interface
> >
> >
> > thank.
> > Edney
> >
> > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > >
> > > You need to get the proxy settings from IE, then you need to set
Maven
> > to
> > > use that same proxy server just like IE does.
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > thank Jo
> > > >
> > > > But, here, in my company , the network guy can´t change this
> > > > configuration.
> > > >
> > > > Politics from this company.
> > > >
> > > > I can access web from MS-DOS.
> > > >
> > > > I need a pluggin to do that in eclipse.
> > > >
> > > > Sorry
> > > >
> > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi there,
> > > > >
> > > > > 1. You've got network issues.. Contact your network guy for the
> > > correct
> > > > > proxy settings.
> > > > > So, get your network and proxy settings up and running and you
> > should
> > > be
> > > > > good to go..
> > > > >
> > > > > 2. Installing an external jar into your repository - like most
> > things
> > > in
> > > > > maven - can only be done via the command line interface..
> > > > > Why would you even want anything else, isn't it ? ;)
> > > > >
> > > > > Good luck
> > > > > Jo
> > > > >
> > > > >
> > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi everybody,
> > > > > >
> > > > > > I need help.
> > > > > >
> > > > > > I have the follow problem with Maven.
> > > > > >
> > > > > > I execute this command.
> > > > > >
> > > > > > mvn install:install-file
> > > > > > -DgroupId=
> org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
> > > > > > -Dversion=
> > > > > > 1.1.4-SNAPSHOT -Dpackaging=jar
> > > > > > <http://www.javafree.org/wiki/jar>-Dfile=c:/tmp/tomahawk-
> > > > > > sandbox-1.1.4-SNAPSHOT.jar <http://www.javafree.org/wiki/jar>
> > > > > >
> > > > > > And I get this error message
> > > > > >
> > > > > >
> > > > > > C:\mvn install:install-file -DgroupId=org.apache.
> > > > > > myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
> > > > > > 1.1.4-SNAPSHOT-Dpackag
> > > > > > ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
> > > > > > [INFO] Scanning for projects...
> > > > > > [INFO] Searching repository for plugin with prefix: 'install'.
> > > > > > [INFO] org.apache.maven.plugins: checking for updates from
> central
> > > > > > [WARNING] repository metadata for: 'org.apache.maven.plugins'
> > could
> > > > not
> > > > > be
> > > > > > retri
> > > > > > eved from repository: central due to an error: Error
> transferring
> > > file
> > > > > > [INFO] Repository 'central' will be blacklisted
> > > > > > [INFO]
> > > > > >
> > > >
> >
------------------------------------------------------------------------
> > > > > > [ERROR] BUILD ERROR
> > > > > > [INFO]
> > > > > >
> > > >
> >
------------------------------------------------------------------------
> > > > > > [INFO] The plugin '
org.apache.maven.plugins:maven-install-plugin
> '
> > > does
> > > > > not
> > > > > > exist
> > > > > > or no valid version could be found
> > > > > > [INFO]
> > > > > >
> > > >
> >
------------------------------------------------------------------------
> > > > > > [INFO] For more information, run Maven with the -e switch
> > > > > > [INFO]
> > > > > >
> > > >
> >
------------------------------------------------------------------------
> > > > > > [INFO] Total time: 22 seconds
> > > > > > [INFO] Finished at: Fri Feb 23 18:44:35 GMT 2007
> > > > > > [INFO] Final Memory: 1M/2M
> > > > > > [INFO]
> > > > > >
> > > >
> >
------------------------------------------------------------------------
> > > > > >
> > > > > > I´m behind a proxy server.
> > > > > >
> > > > > > I do the proxy configuration in the setting.xml file.
> > > > > >
> > > > > > When I do a PING  in a url in MS_DOS i get the follow error
> > message.
> > > > > >
> > > > > >
> > > > > > www.apache.org with 32 bytes
> > > > > >
> > > > > > reply the 10.248.0.38: No host available.
> > > > > > reply the 10.248.0.38: No host available.
> > > > > > reply the 10.248.0.38: No host available.
> > > > > >
> > > > > > I have now another question.
> > > > > >
> > > > > > I can do this command  only in a msdos prompt "mvn
> > > > install:install-file
> > > > > > -DgroupId=
> org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
> > > > > > -Dversion=1.1.4-SNAPSHOT -Dpackaging=jar
> > > > > > <http://www.javafree.org/wiki/jar>-Dfile=c:/tmp/tomahawk-
> > > > > > sandbox-1.1.4-SNAPSHOT.jar" <http://www.javafree.org/wiki/jar>
> > > > > >
> > > > > > Or exist oder way to do that??
> > > > > >
> > > > > > I work here with eclipse.
> > > > > >
> > > > > >
> > > > > > Can please, anyone help me...
> > > > > >
> > > > > > thank you
> > > > > > --
> > > > > > Att.
> > > > > > Edney Marcel Imme
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Att.
> > > > Edney Marcel Imme
> > > >
> > >
> > >
> > >
> > > --
> > > ---
> > > Thanks,
> > > Mick Knutson
> > >
> > > http://www.baselogic.com
> > > http://www.blincmagazine.com
> > > http://www.djmick.com
> > > http://www.myspace.com/djmick_dot_com
> > > http://www.thumpradio.com
> > > ---
> > >
> >
> >
> >
> > --
> > Att.
> > Edney Marcel Imme
> >
>



--
Att.
Edney Marcel Imme

Reply via email to