Re: Rép. : RE: may not be this project's POM [ from cocoon-users ]

2007-07-20 Thread Wayne Fay

Does your ISP perhaps block wget for some reason (mine blocks outgoing
mail unless it goes thru their server)? Are you running Trend Micro
Antivirus which seems to block java.exe? Or a McAfee/Norton/WinXP
firewall which is blocking java.exe from connecting to the Internet?

If you're running any of those things, make sure you go into the
settings and either grant Internet access to java.exe, or change so it
prompts you when a program wants to access the Internet rather than
auto-denying, etc.

Unfortunately, this is probably one of those problems where we really
can't help you. You've done everything right, and yet you still can't
connect. Do you have a Linux or Mac box available you could try, or
perhaps a Linux livecd you could boot into and try wget from there?

Wayne

On 7/20/07, Robin Rigby <[EMAIL PROTECTED]> wrote:

What SSO could there be?  I don't have to sign on for anything, at least,
not for any component of this problem.  Only Windows Login.

I am at home. I have one machine, a simple wireless box and a phone socket.
All normal domestic security.  There is no proxy here.  I would know,
wouldn't I?


Robin


-Original Message-
From: Eric LECOCQ [mailto:[EMAIL PROTECTED]
Sent: 20 July 2007 13:35
To: Maven Users List
Subject: Rép. : RE: may not be this project's POM [ from cocoon-users ]


It looks like you have a SSO for your browsers but not for the wget.

You have to provide your proxy and the authentication.



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



RE: may not be this project's POM [ from cocoon-users ]

2007-07-20 Thread Robin Rigby
Thanks for your help.  No, "mvn -U ..." has the same problem.  So does "mvn
clean".  Only "mvn --version is OK".

I don't think this is a transitory problem.  It has been 36 hours now. 

- Summary ---

Maven seems to fail when looking for

http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom

The file is there -  I can read it with Firefox or Internet Explorer but
wget fails with a 403 error.

However, wget has no problem reading other files such as

http://maven.apache.org/guides/getting-started/index.html

- End summary -

Baffled.  Something on the server?

I am going back to a fresh installation of Maven.

Thanks for your help.

Robin
 

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: 19 July 2007 21:14
To: Maven Users List
Subject: Re: may not be this project's POM [ from cocoon-users ]

No, Maven does not expect calls over the internet from a remote server
into this machine. It works basically like wget.

I really don't know why you're having troubles. I'd assume a transient
network failure. Try "mvn -U ..." and see if things are working now.

Wayne

On 7/19/07, Robin Rigby <[EMAIL PROTECTED]> wrote:
> No proxy.  I am working at home.  I have a firewall built into the
wireless
> modem ...
>
> I looked through 'Configuring Maven' and 'Configuring a HTTP Proxy'.
>
> Maven has successfully written a number of files to C:\Documents and
> Settings\username\.m2\repository\.
>
> Does Maven expect calls over the internet from a remote server into this
> machine?  Or on special ports?  It looks like straight HTTP on port 80,
> which is not a problem with wget and other servers.
>
> Robin
>
>
> -----Original Message-----
> From: Wayne Fay [mailto:[EMAIL PROTECTED]
> Sent: 19 July 2007 18:18
> To: Maven Users List
> Subject: Re: may not be this project's POM [ from cocoon-users ]
>
> I was not suggesting that you change the pom to include packaging in
> the parent, simply cut and paste some text from the pom file you were
> getting a 403 on.
>
> It sounds like you are behind a corporate web proxy or something, as
> IE and Mozilla work but wget and mvn fail. Can you confirm this? If
> so, you will need to configure your proxy before proceeding
> successfully with Maven.
>
> http://maven.apache.org/guides/mini/guide-proxies.html
>
> Wayne
>
>
>
>
> -
> 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]




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



Re: may not be this project's POM [ from cocoon-users ]

2007-07-19 Thread Wayne Fay

No, Maven does not expect calls over the internet from a remote server
into this machine. It works basically like wget.

I really don't know why you're having troubles. I'd assume a transient
network failure. Try "mvn -U ..." and see if things are working now.

Wayne

On 7/19/07, Robin Rigby <[EMAIL PROTECTED]> wrote:

No proxy.  I am working at home.  I have a firewall built into the wireless
modem ...

I looked through 'Configuring Maven' and 'Configuring a HTTP Proxy'.

Maven has successfully written a number of files to C:\Documents and
Settings\username\.m2\repository\.

Does Maven expect calls over the internet from a remote server into this
machine?  Or on special ports?  It looks like straight HTTP on port 80,
which is not a problem with wget and other servers.

Robin


-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: 19 July 2007 18:18
To: Maven Users List
Subject: Re: may not be this project's POM [ from cocoon-users ]

I was not suggesting that you change the pom to include packaging in
the parent, simply cut and paste some text from the pom file you were
getting a 403 on.

It sounds like you are behind a corporate web proxy or something, as
IE and Mozilla work but wget and mvn fail. Can you confirm this? If
so, you will need to configure your proxy before proceeding
successfully with Maven.

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

Wayne




-
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]



RE: may not be this project's POM [ from cocoon-users ]

2007-07-19 Thread Robin Rigby
No proxy.  I am working at home.  I have a firewall built into the wireless
modem ...

I looked through 'Configuring Maven' and 'Configuring a HTTP Proxy'.  

Maven has successfully written a number of files to C:\Documents and
Settings\username\.m2\repository\.

Does Maven expect calls over the internet from a remote server into this
machine?  Or on special ports?  It looks like straight HTTP on port 80,
which is not a problem with wget and other servers.
 
Robin
 

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: 19 July 2007 18:18
To: Maven Users List
Subject: Re: may not be this project's POM [ from cocoon-users ]

I was not suggesting that you change the pom to include packaging in
the parent, simply cut and paste some text from the pom file you were
getting a 403 on.

It sounds like you are behind a corporate web proxy or something, as
IE and Mozilla work but wget and mvn fail. Can you confirm this? If
so, you will need to configure your proxy before proceeding
successfully with Maven.

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

Wayne




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



Re: may not be this project's POM [ from cocoon-users ]

2007-07-19 Thread Wayne Fay
t
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVer
sion(DefaultPluginVersionManager.java:90)
   at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManag
er.java:166)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLife
cycleExecutor.java:1257)
   ... 14 more
[INFO]

[INFO] Total time: < 1 second
[INFO] Finished at: Thu Jul 19 18:01:20 BST 2007
[INFO] Final Memory: 1M/4M
[INFO]


C:\Temp>

= End error report ==



Robin Rigby
[EMAIL PROTECTED]
http://www.gondolier.org.uk
07785 765017


-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: 19 July 2007 17:24
To: Maven Users List
Subject: Re: may not be this project's POM [ from cocoon-users ]

I just tried the apache-4.pom link and it worked fine for me:
 org.apache
 apache
 4
 pom
etc

Try again?

Wayne

On 7/19/07, Robin Rigby <[EMAIL PROTECTED]> wrote:
> Hi
>
> Started this thread on the cocoon-users mailing list ...
>
> Project uses Cocoon 2.1, which is not based on Maven.  Need updated file
> from the current Cocoon snapshot, so yesterday downloaded Cocoon 2.2,
> discovered it requires Maven, downloaded Maven 2.07.  Documents indicate
it
> should all compile out of the box but instead:
>
> Error building POM (may not be this project's POM).
>
> (complete error report below).   Tried to download the missing POM with
wget
> and get
>
> ERROR 403: Forbidden.
>
> (error report also below).  Curiously, can read this file with both IE and
> Firefox.  Not forbidden.
>
> Advice from cocoon-users is to seek help here with access to this file or,
> failing that, with configuring a local copy.  Also suggested establish
> whether Maven can download any other files but, as the newest newbie,
would
> need guidance even for that.
>
> Very grateful for your help
>
> Robin Rigby
> [EMAIL PROTECTED]
> http://www.gondolier.org.uk <http://www.gondolier.org.uk/>
> 07785 765017
>
>
> = Maven error compiling Cocoon 2.2 ==
>
> D:\cocoon-2.2\cocoon>mvn -Dmaven.test.skip=true -P allblocks install
> [INFO] Scanning for projects...
> Downloading:
> <http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom>
> http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
> Downloading:
> <http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom>
> http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
> [INFO]
> 
> [ERROR] FATAL ERROR
> [INFO]
> 
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.cocoon:cocoon:pom:5-SNAPSHOT
>
> Reason: Cannot find parent: org.apache:apache for project:
> org.apache.cocoon:cocoon:pom:5-SNAPSHOT for project
org.apache.cocoon:cocoon
> :pom:5-SNAPSHOT
>
>
> [INFO]
> 
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> org.apache:apache for project: org.apache.cocoon:cocoon:pom:5-SNA
> PSHOT for project org.apache.cocoon:cocoon:pom:5-SNAPSHOT
>at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>at java.lang.reflect.Method.invoke(Method.java:597)
>at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
> parent: org.apache:apache for project: org.apache.cocoon:coco
> on:pom:5-SNAPSHOT for project org.apache.cocoon:cocoon:pom:5-SNAPSHOT
>at
>
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultM
> avenProjectBuilder.java:1261)
>at
>
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMav

RE: may not be this project's POM [ from cocoon-users ]

2007-07-19 Thread Robin Rigby
nal Memory: 1M/4M
[INFO]


C:\Temp>

= End error report ==  


 
Robin Rigby
[EMAIL PROTECTED]
http://www.gondolier.org.uk
07785 765017
 

-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: 19 July 2007 17:24
To: Maven Users List
Subject: Re: may not be this project's POM [ from cocoon-users ]

I just tried the apache-4.pom link and it worked fine for me:
  org.apache
  apache
  4
  pom
etc

Try again?

Wayne

On 7/19/07, Robin Rigby <[EMAIL PROTECTED]> wrote:
> Hi
>
> Started this thread on the cocoon-users mailing list ...
>
> Project uses Cocoon 2.1, which is not based on Maven.  Need updated file
> from the current Cocoon snapshot, so yesterday downloaded Cocoon 2.2,
> discovered it requires Maven, downloaded Maven 2.07.  Documents indicate
it
> should all compile out of the box but instead:
>
> Error building POM (may not be this project's POM).
>
> (complete error report below).   Tried to download the missing POM with
wget
> and get
>
> ERROR 403: Forbidden.
>
> (error report also below).  Curiously, can read this file with both IE and
> Firefox.  Not forbidden.
>
> Advice from cocoon-users is to seek help here with access to this file or,
> failing that, with configuring a local copy.  Also suggested establish
> whether Maven can download any other files but, as the newest newbie,
would
> need guidance even for that.
>
> Very grateful for your help
>
> Robin Rigby
> [EMAIL PROTECTED]
> http://www.gondolier.org.uk <http://www.gondolier.org.uk/>
> 07785 765017
>
>
> = Maven error compiling Cocoon 2.2 ==
>
> D:\cocoon-2.2\cocoon>mvn -Dmaven.test.skip=true -P allblocks install
> [INFO] Scanning for projects...
> Downloading:
> <http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom>
> http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
> Downloading:
> <http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom>
> http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
> [INFO]
> 
> [ERROR] FATAL ERROR
> [INFO]
> 
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.cocoon:cocoon:pom:5-SNAPSHOT
>
> Reason: Cannot find parent: org.apache:apache for project:
> org.apache.cocoon:cocoon:pom:5-SNAPSHOT for project
org.apache.cocoon:cocoon
> :pom:5-SNAPSHOT
>
>
> [INFO]
> 
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> org.apache:apache for project: org.apache.cocoon:cocoon:pom:5-SNA
> PSHOT for project org.apache.cocoon:cocoon:pom:5-SNAPSHOT
>at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>at java.lang.reflect.Method.invoke(Method.java:597)
>at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
> parent: org.apache:apache for project: org.apache.cocoon:coco
> on:pom:5-SNAPSHOT for project org.apache.cocoon:cocoon:pom:5-SNAPSHOT
>at
>
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultM
> avenProjectBuilder.java:1261)
>at
>
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMav
> enProjectBuilder.java:747)
>at
>
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInter
> nal(DefaultMavenProjectBuilder.java:479)
>at
>
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjec
> tBuilder.java:200)
>at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:553)
>at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.ja

Re: may not be this project's POM [ from cocoon-users ]

2007-07-19 Thread Wayne Fay

I just tried the apache-4.pom link and it worked fine for me:
 org.apache
 apache
 4
 pom
etc

Try again?

Wayne

On 7/19/07, Robin Rigby <[EMAIL PROTECTED]> wrote:

Hi

Started this thread on the cocoon-users mailing list ...

Project uses Cocoon 2.1, which is not based on Maven.  Need updated file
from the current Cocoon snapshot, so yesterday downloaded Cocoon 2.2,
discovered it requires Maven, downloaded Maven 2.07.  Documents indicate it
should all compile out of the box but instead:

Error building POM (may not be this project's POM).

(complete error report below).   Tried to download the missing POM with wget
and get

ERROR 403: Forbidden.

(error report also below).  Curiously, can read this file with both IE and
Firefox.  Not forbidden.

Advice from cocoon-users is to seek help here with access to this file or,
failing that, with configuring a local copy.  Also suggested establish
whether Maven can download any other files but, as the newest newbie, would
need guidance even for that.

Very grateful for your help

Robin Rigby
[EMAIL PROTECTED]
http://www.gondolier.org.uk 
07785 765017


= Maven error compiling Cocoon 2.2 ==

D:\cocoon-2.2\cocoon>mvn -Dmaven.test.skip=true -P allblocks install
[INFO] Scanning for projects...
Downloading:

http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
Downloading:

http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.cocoon:cocoon:pom:5-SNAPSHOT

Reason: Cannot find parent: org.apache:apache for project:
org.apache.cocoon:cocoon:pom:5-SNAPSHOT for project org.apache.cocoon:cocoon
:pom:5-SNAPSHOT


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.apache:apache for project: org.apache.cocoon:cocoon:pom:5-SNA
PSHOT for project org.apache.cocoon:cocoon:pom:5-SNAPSHOT
   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent: org.apache:apache for project: org.apache.cocoon:coco
on:pom:5-SNAPSHOT for project org.apache.cocoon:cocoon:pom:5-SNAPSHOT
   at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultM
avenProjectBuilder.java:1261)
   at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMav
enProjectBuilder.java:747)
   at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInter
nal(DefaultMavenProjectBuilder.java:479)
   at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjec
tBuilder.java:200)
   at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:553)
   at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
   ... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.apache:apache' not found in repository: Unable to download the a
rtifact from any repository

 org.apache:apache:pom:4

from the specified remote repositories:
 central (  http://repo1.maven.org/maven2)
 for project org.apache:apache
   at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:573)
   at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultM
avenProjectBuilder.java:1257)
   ... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository

 org.apache:apache:pom:4

from the specified remote repositories:
 central (  http://repo1.maven.org/maven2)