Maven require internet access to work properly.
If you cannot have a direct internet connection, you can either configure
proxy for maven  :
 https://maven.apache.org/guides/mini/guide-proxies.html

either use a maven repository manager which will need to have internet
access (recommended long term solution)
see https://maven.apache.org/repository-management.html


On Wed, Aug 19, 2015 at 3:12 PM, Smith-Gagnon, Mary <
[email protected]> wrote:

> The command I tried was:
> mvn archetype:generate -DgroupeId=org.sonatype.mavenbook
> -DartifactId=simple -Dpackage=org.sonatype.mavenbook -Dversion=1.0-SNAPSHOT
>
> The URL it was trying to connect to was {s}->
> https://repo.maven.apache.org:443
> No I cannot access without a proxy
>
> Thank you,
>
> Mary
>
> -----Original Message-----
> From: Adrien Rivard [mailto:[email protected]]
> Sent: Wednesday, August 19, 2015 9:03 AM
> To: Maven Users List
> Subject: Re: Can't connect to Maven to retrieve dependencies
>
> Hi,
>
> What command did you tried ?
> Which url failed ?
> Can you access this url without using a proxy ?
> Can you post the full log/ error ?
>
>
>
> On Wed, Aug 19, 2015 at 2:47 PM, Smith-Gagnon, Mary <
> [email protected]> wrote:
>
> > Hello,
> >
> >
> >
> > I am reading “Maven by Example” and am trying to connect to the Maven
> > website. I am trying to do the “simple” project.
> >
> > I get an IOException when I try to connect. Has anyone run into this
> > issue?
> >
> >
> >
> > I would appreciate any assistance.
> >
> >
> >
> > Mary
> >
> >
> > ------------------------------
> >
> > *Mary Smith-Gagnon*
> > Software Engineer
> > O: 978.527.1159
> >
> >
> > *Taxware, Convey, and VAT Resource are now Sovos Compliance*
> >
> > 200 Ballardvale St., Building 1, 4th Floor
> >
> > Wilmington, MA 01887
> >
> > www.sovos.com
> >
> >
> >
> >
> >
> >
> >
> >
> > - This message and any attachments thereto contain information that may
> be
> > privileged, confidential or otherwise protected from disclosure and is
> the
> > property of Taxware, LLC. It is intended only for the person to whom it
> is
> > addressed. If you are not the intended recipient, you are not authorized
> to
> > read, print, retain, copy, disseminate, distribute, or use this message,
> > any attachments thereto or any part thereof. If you receive this message
> in
> > error, please delete all copies of this message and attachments. Taxware,
> > LLC. has implemented anti-virus software on its computers and servers,
> > however, it is the recipient's own responsibility to ensure that all
> > attachments are scanned for viruses prior to usage.
> >
> > This message has been scanned for malware by Websense. www.websense.com
> >
>
>
>
> --
> Adrien Rivard
> - This message and any attachments thereto contain information that may be
> privileged, confidential or otherwise protected from disclosure and is the
> property of Taxware, LLC. It is intended only for the person to whom it is
> addressed. If you are not the intended recipient, you are not authorized to
> read, print, retain, copy, disseminate, distribute, or use this message,
> any attachments thereto or any part thereof. If you receive this message in
> error, please delete all copies of this message and attachments. Taxware,
> LLC. has implemented anti-virus software on its computers and servers,
> however, it is the recipient's own responsibility to ensure that all
> attachments are scanned for viruses prior to usage.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Adrien Rivard

Reply via email to