Nidhi,

You will need to configure that in your settings.xml

http://maven.apache.org/guides/mini/guide-proxies.html

Ben

On 6/21/06, Nidhi Goyal, Noida <[EMAIL PROTECTED]> wrote:

yes I do have proxy server to access internet

Thanks,
Nidhi


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
ben short
Sent: Wednesday, June 21, 2006 6:06 PM
To: Maven Users List
Subject: Re: Maven best practices - company-wide local repository?

Do you have a proxy server to access the internet?

Ben

On 6/21/06, Nidhi Goyal, Noida <[EMAIL PROTECTED]> wrote:
>
> hey thanks ...I'm following the steps written in that document.The
step
> u r telling about comes later.I'm able to execute the very first
command
>
> mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
>
> On excuting this I'm getting the following error:
>
> C:\Documents and Settings\gnidhi>mvn archetype:create
> -DgroupId=com.mycompany.app -DartifactId=my-app
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could
not
> be retrieved 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-archetype-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: 21 seconds
> [INFO] Finished at: Wed Jun 21 17:48:38 GMT+05:30 2006
> [INFO] Final Memory: 1M/2M
>
>
> Please tell me where I'm wrong
>
> Thanks,
> Nidhi
>
>
> -----Original Message-----
> From: Janhavi Phirke [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 21, 2006 5:54 PM
> To: Maven Users List
> Subject: Re: Maven best practices - company-wide local repository?
>
> Just few days before only I did my setup. But I didn't download any
.war
> file. Go step by step as per given in the manual of maven on the site.
> But
> while doing so, you have to run the "mvn install" to download the jars
> from
> central repository to your local repository. I did it as per the steps
> written in "getting-started" and I didn't face such problems...so try
> once
> again with all the proper steps...
>
>
>
> On 6/21/06, Nidhi Goyal, Noida <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi JanHavi,
> >
> > U mean to say I just need to extract the war file and run the
commands
> "
> > http://maven.apache.org/guides/getting-started/index.html"; for
> creating
> > project.
> >
> > Thanks,
> > Nidhi
> >
> >
> > -----Original Message-----
> > From: Janhavi Phirke [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, June 21, 2006 5:44 PM
> > To: Maven Users List
> > Subject: Re: Maven best practices - company-wide local repository?
> >
> > Hi Nidhi,
> >
> > you just have to run that command to create the project. Also try to
> run
> > the
> > command "mvn install". There is no need to download the plugin
> > separately.
> > When you write that in your pom.xml (in this case, in your command),
> it
> > gets
> > downloaded in your local repository from the central repository.
> >
> >
> > On 6/21/06, Nidhi Goyal, Noida <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > thx ben
> > > Do u meant to say tht I need to download file
> > "px-webapp-1.0.0-RC1.war"
> > >
> > > On the link u mentioned
> > > https://is-micro.myip.hu/projects/ismicro-commons/proximity/
> > >
> > > I'm not getting what they mean to say with Maven 1 and Maven 2.
> > >
> > > What I did was I just downloaded the file maven-2.0.4.bin.zip file
> and
> > > extract that at a location.
> > > After that I am downloading the Maven proximity.
> > > Please tell me how to install it and what other steps are required
> to
> > > create a project mentioned inside the link "
> > > http://maven.apache.org/guides/getting-started/index.html
> > > >"
> > >
> > > Thanks,
> > > Nidhi
> > >
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf
> > Of
> > > ben short
> > > Sent: Wednesday, June 21, 2006 5:10 PM
> > > To: Maven Users List
> > > Subject: Re: Maven best practices - company-wide local repository?
> > >
> > > https://is-micro.myip.hu/projects/ismicro-commons/proximity/
> > >
> > > http://maven-proxy.codehaus.org/
> > >
> > > Ben
> > >
> > > On 6/21/06, Nidhi Goyal, Noida <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Thanks for replying but please tell me the link from where to
> > download
> > > > Maven Proxy or proximity.
> > > > I've tried to  create a project using the steps given in the
link
> > > > http://maven.apache.org/guides/getting-started/index.html
> > > >
> > > > when I execute the command
> > > > mvn archetype:create -DgroupId=com.mycompany.app
> -DartifactId=my-app
> > ,
> > > > getting the follwing errors:
> > > >
> > > > [INFO] Scanning for projects...
> > > > [INFO] Searching repository for plugin with prefix: 'archetype'.
> > > > [INFO] org.apache.maven.plugins: checking for updates from
central
> > > > [WARNING] repository metadata for: 'org.apache.maven.plugins'
> could
> > > not
> > > > be retrieved 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-archetype-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: Wed Jun 21 17:00:28 GMT+05:30 2006
> > > > [INFO] Final Memory: 1M/2M
> > > >
> > > > Thanks,
> > > > Nidhi
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Alexandre Poitras [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, June 21, 2006 4:57 PM
> > > > To: Maven Users List
> > > > Subject: Re: Maven best practices - company-wide local
repository?
> > > >
> > > > Install Maven Proxy or Proximity and you get your repository. It
> > will
> > > > get populated automatically when a developer request a
dependency
> > > > found on Maven central repo.
> > > >
> > > > As for Maven, installation instructions are found on the front
> page.
> > > >
> > > > On 6/21/06, Nidhi Goyal, Noida <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > hi,
> > > > >
> > > > > Please help me how to create a new project using Maven
including
> > > it's
> > > > > installation. I'm not able to get how to create repositories
for
> a
> > > > > project.
> > > > > I need step by step procedure including repositories code.
> > > > >
> > > > > Thanks,
> > > > > Nidhi
> > > > >
> > > > > -----Original Message-----
> > > > > From: Feniks Nator [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, June 21, 2006 4:48 PM
> > > > > To: Maven Users List
> > > > > Subject: Re: Maven best practices - company-wide local
> repository?
> > > > >
> > > > > Oeps, seems like I've been a bit to fast.
> > > > > > and I consider if we should use a common local repository -
> > > > > > for instance over a network share.
> > > > >
> > > > > You're talking about a common local repository.
> > > > > I agree with Christian, this could slow down things a lot.
> > > > > And it makes it more difficult to experiment (though you
always
> > can
> > > > > changing
> > > > > the settings.xml you use.)
> > > > >
> > > > > I also strongly recommend to keep the LOCAL repository, really
> > > local,
> > > > > meaning on the developers workstation.
> > > > >
> > > > > DISCLAIMER:
> > > > >
> > > >
> > >
> >
>
------------------------------------------------------------------------
> > > > -----------------------------------------------
> > > > > The contents of this e-mail and any attachment(s) are
> confidential
> > > and
> > > > intended for the named recipient(s) only.
> > > > > It shall not attach any liability on the originator or HCL or
> its
> > > > affiliates. Any views or opinions presented in
> > > > > this email are solely those of the author and may not
> necessarily
> > > > reflect the opinions of HCL or its affiliates.
> > > > > Any form of reproduction, dissemination, copying, disclosure,
> > > > modification, distribution and / or publication of
> > > > > this message without the prior written consent of the author
of
> > this
> > > > e-mail is strictly prohibited. If you have
> > > > > received this email in error please delete it and notify the
> > sender
> > > > immediately. Before opening any mail and
> > > > > attachments please check them for viruses and defect.
> > > > >
> > > >
> > >
> >
>
------------------------------------------------------------------------
> > > > -----------------------------------------------
> > > > >
> > > > >
> > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > > DISCLAIMER:
> > > >
> > >
> >
>
------------------------------------------------------------------------
> > > -----------------------------------------------
> > > > The contents of this e-mail and any attachment(s) are
confidential
> > and
> > > intended for the named recipient(s) only.
> > > > It shall not attach any liability on the originator or HCL or
its
> > > affiliates. Any views or opinions presented in
> > > > this email are solely those of the author and may not
necessarily
> > > reflect the opinions of HCL or its affiliates.
> > > > Any form of reproduction, dissemination, copying, disclosure,
> > > modification, distribution and / or publication of
> > > > this message without the prior written consent of the author of
> this
> > > e-mail is strictly prohibited. If you have
> > > > received this email in error please delete it and notify the
> sender
> > > immediately. Before opening any mail and
> > > > attachments please check them for viruses and defect.
> > > >
> > >
> >
>
------------------------------------------------------------------------
> > > -----------------------------------------------
> > > >
> > > >
> >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > > DISCLAIMER:
> > >
> > >
> >
>
------------------------------------------------------------------------
> > -----------------------------------------------
> > > The contents of this e-mail and any attachment(s) are confidential
> and
> > > intended for the named recipient(s) only.
> > > It shall not attach any liability on the originator or HCL or its
> > > affiliates. Any views or opinions presented in
> > > this email are solely those of the author and may not necessarily
> > reflect
> > > the opinions of HCL or its affiliates.
> > > Any form of reproduction, dissemination, copying, disclosure,
> > > modification, distribution and / or publication of
> > > this message without the prior written consent of the author of
this
> > > e-mail is strictly prohibited. If you have
> > > received this email in error please delete it and notify the
sender
> > > immediately. Before opening any mail and
> > > attachments please check them for viruses and defect.
> > >
> > >
> >
>
------------------------------------------------------------------------
> > -----------------------------------------------
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > DISCLAIMER:
> >
> >
>
------------------------------------------------------------------------
> -----------------------------------------------
> > The contents of this e-mail and any attachment(s) are confidential
and
> > intended for the named recipient(s) only.
> > It shall not attach any liability on the originator or HCL or its
> > affiliates. Any views or opinions presented in
> > this email are solely those of the author and may not necessarily
> reflect
> > the opinions of HCL or its affiliates.
> > Any form of reproduction, dissemination, copying, disclosure,
> > modification, distribution and / or publication of
> > this message without the prior written consent of the author of this
> > e-mail is strictly prohibited. If you have
> > received this email in error please delete it and notify the sender
> > immediately. Before opening any mail and
> > attachments please check them for viruses and defect.
> >
> >
>
------------------------------------------------------------------------
> -----------------------------------------------
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> DISCLAIMER:
>
------------------------------------------------------------------------
-----------------------------------------------
> The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily
reflect the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure,
modification, distribution and / or publication of
> this message without the prior written consent of the author of this
e-mail is strictly prohibited. If you have
> received this email in error please delete it and notify the sender
immediately. Before opening any mail and
> attachments please check them for viruses and defect.
>
------------------------------------------------------------------------
-----------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to