Hi Kenney 

There's no direct route to the host repo1.maven.org (presumably
explaining the exception). However, I quite happily browse there with
Firefox etc, and other maven 1/2 projects build fine, downloading
repository artefacts as needed.

Settings.xml is:

<settings>
        <proxies>
                <proxy>
                        <protocol>http</protocol>
                        <username>smallema</username>
                        <password>********</password>
                        <port>8080</port>
                        <host>inetproxy3</host>
                </proxy>
        </proxies>
        <servers>
                <server>
                        <id>website</id>
                        <username>smallema</username>
        
<privateKey>\\ldndevhds\~smallema\.ssh\id_rsa2</privateKey>
                </server>
        </servers>
</settings>



-----Original Message-----
From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
Sent: 15 September 2005 18:40
To: Maven Users List
Subject: Re: [m2] problems compiled m2-snapshot

On Thu, 15 Sep 2005 [EMAIL PROTECTED] wrote:

Hi,

> java.net.UnknownHostException: repo1.maven.org

It looks as though your DNS might not be able to resolve
repo1.maven.org.
Which probably means your proxy isn't setup right..

Can you paste your settings.xml? And can you browse to
http://repo1.maven.org/maven2/ from the same machine as you are building
m2 on?

-- Kenney


> Hi,
>
> Got a problem building m2-snapshot. I think it has to do with being 
> behind a corporate firewall - reason being it works fine when I do it 
> from home.
>
> I've setup my proxy details in settings.xml, and building other m2 
> projects works fine, downloading artifacts from the remote 
> repositories as necessary.
>
> Here's a build log:
>
> Updated to revision 289260.
>
> C:\temp\maven-components>m2-bootstrap-all.bat
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
>         1 file(s) copied.
> You SHOULD have a ~/.m2/settings.xml file and must contain at least 
> the following information:
>
> <settings>
>   <localRepository>/path/to/your/repository</localRepository>
> </settings>
>
> Alternatively, you can specify
> -Dmaven.repo.local=/path/to/m2/repository
>
> HOWEVER, since you did not specify a repository path, maven will use:
> C:\Documents and Settings\smallema\.m2\repository to store artifacts 
> locally.
> Maven installation directory: c:\program files\maven2 Using the 
> following for your local repository: C:\Documents and 
> Settings\smallema\.m2\repository Using the following for your remote
> repository:
> [http://repo1.maven.org/maven2,
> http://snapshots.maven.codehaus.org/maven2/]
> Installing POM: C:\Documents and
> Settings\smallema\.m2\repository\org\apache\maven\maven\2.0-beta-1\mav
> en
> -2.0-beta-1.pom
> Installing POM: C:\Documents and
> Settings\smallema\.m2\repository\org\apache\maven\plugins\maven-plugin
> -p
> arent\2.0-beta-1-SNAPSHOT\maven-plugin-parent-2.0-beta-1-SNAPSHOT.pom
> Installing POM: C:\Documents and
> Settings\smallema\.m2\repository\org\apache\maven\maven-plugin-tools\2
> .0 -beta-1-SNAPSHOT\maven-plugin-tools-2.0-beta-1-SNAPSHOT.pom
> Installing POM: C:\Documents and
> Settings\smallema\.m2\repository\org\apache\maven\maven-script\2.0-bet
> a- 1-SNAPSHOT\maven-script-2.0-beta-1-SNAPSHOT.pom
> Installing POM: C:\Documents and
> Settings\smallema\.m2\repository\org\apache\maven\reporting\maven-repo
> rt ing\2.0-beta-1-SNAPSHOT\maven-reporting-2.0-beta-1-SNAPSHOT.pom
> Downloading
> http://repo1.maven.org/maven2/org/codehaus/modello/modello-plugin-xpp3
> /1 .0-alpha-4/modello-plugin-xpp3-1.0-alpha-4.pom
> Couldn't find POM - ignoring: repo1.maven.org Downloading
> http://repo1.maven.org/maven2/org/codehaus/modello/modello-plugin-xpp3
> /1 .0-alpha-4/modello-plugin-xpp3-1.0-alpha-4.jar
> Error retrieving artifact from
> [http://repo1.maven.org/maven2/org/codehaus/modello/modello-plugin-xpp
> 3/
> 1.0-alpha-4/modello-plugin-xpp3-1.0-alpha-4.jar]:
> Error reading POM: C:\temp\maven-components\maven-mboot2\pom.xml
> Exception in thread "main" download.DownloadFailedException: Failed to

> download org.codehaus.modello:modello-plugin-xpp3:1.0-alpha-4:jar
>         at model.ModelReader.retrievePom(ModelReader.java:493)
>         at model.ModelReader.resolveDependencies(ModelReader.java:412)
>         at model.ModelReader.endElement(ModelReader.java:384)
>         at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElemen
> t(
> AbstractSAXParser.java:633)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> .s
> canEndElement(XMLDocumentFragmentScannerImpl.java:1241)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> $F
> ragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:
> 16
> 85)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> .s
> canDocument(XMLDocumentFragmentScannerImpl.java:368)
>         at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XM
> L1
> 1Configuration.java:834)
>         at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XM
> L1
> 1Configuration.java:764)
>         at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.j
> av
> a:148)
>         at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abs
> tr
> actSAXParser.java:1242)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
>         at util.AbstractReader.parse(AbstractReader.java:63)
>         at MBoot.run(MBoot.java:308)
>         at MBoot.main(MBoot.java:119)
> ECHO is off.
> ----------------------------------------------------------------------
> -
> Rebuilding maven2 plugins
> ----------------------------------------------------------------------
> - Unable to parse command line options: Unrecognized option:
> --no-plugin-registry
>
> usage: maven [options] [goal [goal2 [goal3] ...]]
>
> Options:
>  - ,--no-plugin-updates       Suppress upToDate check for any relevant
>                               registered plugins
>  -B,--batch-mode              Run in non-interactive (batch) mode
>  -C,--strict-checksums        Fail the build if checksums don't match
>  -D,--define arg              Define a system property
>  -N,--non-recursive           Do not recurse into sub-projects
>  -P,--activate-profiles arg   Comma-delimited list of profiles to
> activate
>  -U,--update-snapshots        Update all snapshots regardless of
> repository
>                               policies
>  -X,--debug                   Produce execution debug output
>  -c,--lax-checksums           Warn if checksums don't match
>  -e,--errors                  Produce execution error messages
>  -h,--help                    Display help information
>  -o,--offline                 Work offline
>  -r,--reactor                 Execute goals for project found in the
> reactor
>  -v,--version                 Display version information
> ECHO is off.
> ----------------------------------------------------------------------
> -
> Running integration tests
> ----------------------------------------------------------------------
> - Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/maven/it/Verifier
> C:\temp\maven-components>
>
>
>
>
>
>
>
>
> Visit our website at http://www.ubs.com
>
> This message contains confidential information and is intended only 
> for the individual named.  If you are not the named addressee you 
> should not disseminate, distribute or copy this e-mail.  Please notify

> the sender immediately by e-mail if you have received this e-mail by 
> mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free as

> information could be intercepted, corrupted, lost, destroyed, arrive 
> late or incomplete, or contain viruses.  The sender therefore does not

> accept liability for any errors or omissions in the contents of this 
> message which arise as a result of e-mail transmission.  If 
> verification is required please request a hard-copy version.  This 
> message is provided for informational purposes and should not be 
> construed as a solicitation or offer to buy or sell any securities or 
> related financial instruments.
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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

Reply via email to