Thanks Julian for the
hint with the env var.
My patch isn’t added
into the MyFaces sources projects. I just downloaded the sources from SVN and
did not edit anything.
My error message is the
same as mentioned in the first mail of this thread:
[INFO] Building Master
POM
[INFO]
task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
Downloading:
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/doxia/d
oxia/1.0-alpha-8/doxia-1.0-alpha-8.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD
ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building
POM (may not be this project's POM).
Project ID:
null:doxia-site-renderer:jar:1.0-alpha-8
Reason: Cannot find
parent: org.apache.maven.doxia:doxia for project:
null:doxia
-site-renderer:jar:1.0-alpha-8
Any
ideas?
Should I also run mvn
install with the e switch and post more
information?
From: Julian Ray
[mailto:[EMAIL PROTECTED]
Sent: Dienstag, 16. Mai 2006
11:48
To: 'MyFaces Discussion'
Subject: RE: Error transferring file when
build with maven.
You need to keep doing
mvn install unitl it builds assuming that your patches are not causing the error
and that all the dependencies can be downloaded. Look through the maven output
and see of youo can find a speific failure.
When using eclipse you
need to set an environment variable to the maven repository which is in
c:\documents and settings\xxxxx\.m2 on windows where xxxxx is my user name and
in $\.m2 on *nix.
From: Michael
Heinen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 16, 2006 4:51
AM
To: MyFaces Discussion
Subject: RE: Error transferring file when
build with maven.
Thanks
Murat.
But I try to create a
patch for tomahawk so I have to build it by myself.
I am now really
confused and frustrated about building myfaces with maven and eclipse. Yes, I
read the WIKI and spent a lot of hours on it but I was not
successfull.
I downloaded
TortoiseSVN windows client and the tortoiseSVN eclipse
plugin.
Could anybody pls
comment my steps:
1) create a folder
outside of my workspace and used SVN Checkout to get the
sources
2) mvn install fails
!!!
3) execute mvn
eclipse:eclipse in order to generate the eclipse project
files
4) Imported the
generated projects into eclipse
What can I do now
?
What is the classpath
var M2_REPO ?
Any help is highly
appreciated
Michael
From: Murat Hazer
[mailto:[EMAIL PROTECTED]
Sent: Dienstag, 16. Mai 2006
09:48
To: MyFaces Discussion
Subject: Re: Error transferring file when
build with maven.
if your job is urgent and only need jar
files i can send them (i just built)
On 5/16/06, Michael
Heinen <[EMAIL PROTECTED] >
wrote:
I tried „mvn clean"
before „mvn install".
"mvn install" still
fails with the same message.
Any other idea
?
I spent now a lot of
hours to get the sources into eclipse and build it with maven but it doesn't
work.
This procedure is
really a little bit annoying.
Michael
From: Murat Hazer [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 16. Mai 2006
09:36
To: MyFaces Discussion
Subject: Re: Error transferring file when
build with maven.
i had the same problem, i run mvn clean before
mvn
install everthing worked
fine.
regards...
On 5/16/06,
Michael
Heinen < [EMAIL PROTECTED]> wrote:
I have the same problem this morning.
mvn install
downloads a lot of files but fails at the same step as
mentioned
below.
-----Original Message-----
From: Zhi [mailto: [EMAIL PROTECTED]]
Sent:
Dienstag, 16. Mai 2006 05:16
To: MyFaces
Discussion
Subject: Error transferring file when build with
maven.
Dears,
I successfully checkouted the files from respository
just now. But when
I started building, build error arised. Does this caused
by SVN or MAVEN
site down?
Any help would be greatly
appreciated.
George
Here's my commands and error messages
dumped with -e option.
svn co https://svn.apache.org/repos/asf/myfaces/current
myfaces-current
cd myfaces-current
mvn -e install
+ Error
stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor
build order:
[INFO] Master POM
[INFO] MyFaces
Build Tools
[INFO] Wagon Maven Plugin
[INFO] Maven
Project
[INFO] MyFaces Shared Project
[INFO]
MyFaces Shared Core
[INFO] MyFaces Shared
Impl
[INFO] MyFaces Shared Tomahawk
[INFO] Core
Project
[INFO] API
[INFO]
Impl
[INFO] Tomahawk Project
[INFO] Tomahawk
Core
[INFO] Tomahawk Examples Project
[INFO]
Tomahawk Examples: Blank
[INFO] Tomahawk Examples:
Simple
[INFO] Tomahawk Examples: Tiles
[INFO]
Tomahawk Examples: WAP
[INFO] Sandbox
Project
[INFO] Sandbox Core
[INFO] Sandbox
Examples
[INFO] MyFaces Site
[INFO] Build
Project
[INFO]
------------------------------------------------------------------------
----
[INFO]
Building Master POM
[INFO] task-segment:
[install]
[INFO]
------------------------------------------------------------------------
----
Downloading:
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/doxia/doxia/
1.0-alpha-8/doxia-1.0-alpha-8.pom
[INFO]
------------------------------------------------------------------------
[ERROR]
BUILD
ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's
POM).
Project ID:
null:doxia-site-renderer:jar:1.0-alpha-8
Reason: Cannot find parent:
org.apache.maven.doxia:doxia for project:
null:doxia-site-renderer:jar:
1.0-alpha-8
[INFO]
------------------------------------------------------------------------
[INFO]
Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to
get
dependency information: Unable to read the metadata file for artifact
'org.apache.maven.doxia:doxia-site-renderer:jar': Cannot find
parent:
org.apache.maven.doxia:doxia for project
:
null:doxia-site-renderer:jar:1.0-alpha-8
org.apache.maven.doxia:doxia-site-renderer:jar:1.0-alpha-8
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots
(http://svn.apache.org/maven-snapshot-repository
),
snapshots (http://snapshots.maven.codehaus.org/maven2)
Path to
dependency:
1)
org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-beta-5
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:551)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifec
ycleExecutor.java:140)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at
org.apache.maven.cli.MavenCli.main
(MavenCli.java:256)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessor
Impl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:585)
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.artifact.resolver.ArtifactResolutionException :
Unable
to get dependency information: Unable to read the metadata file
for
artifact 'org.apache.maven.doxia:doxia-site-renderer:jar': Cannot
find
parent: org.apache.maven.doxia:doxia for
project:
null:doxia-site-renderer:jar:
1.0-alpha-8
org.apache.maven.doxia:doxia-site-renderer:jar:1.0-alpha-8
from
the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots
(http://svn.apache.org/maven-snapshot-repository),
snapshots
(http://snapshots.maven.codehaus.org/maven2 )
Path to
dependency:
1)
org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-beta-5
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(Defa
ultArtifactCollector.java
:297)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(Defa
ultArtifactCollector.java:67)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi
tivelyDefaultArtifactResolver.java:223)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi
tivelyDefaultArtifactResolver.java:211)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi
tivelyDefaultArtifactResolver.java:182)
at
org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComp
lete(DefaultPluginManager.java:608)
at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo
(DefaultPl
uginManager.java:519)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:390)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(Default
LifecycleExecutor.java:534)
...
16 more
Caused
by:
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
Unable
to read the metadata file for
artifact
'org.apache.maven.doxia:doxia-site-renderer:jar ': Cannot find
parent:
org.apache.maven.doxia:doxia for
project:
null:doxia-site-renderer:jar:1.0-alpha-8
at
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMeta
dataSource.java:131)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(Defa
ultArtifactCollector.java:275)
...
24 more
Caused by: org.apache.maven.project.ProjectBuildingException:
Cannot
find parent: org.apache.maven.doxia:doxia for
project:
null:doxia-site-renderer:jar:1.0-alpha-8
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa
ultMavenProjectBuilder.java:1161)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Defaul
tMavenProjectBuilder.java:674)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
DefaultMavenProjectBuilder.java
:227)
at
org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMeta
dataSource.java:102)
...
25 more
Caused by: org.apache.maven.project.ProjectBuildingException:
Error
getting POM for ' org.apache.maven.doxia:doxia' from the
repository:
Error transferring
file
org.apache.maven.doxia:doxia:pom:1.0-alpha-8
from the
specified remote repositories:
central (
http://repo1.maven.org/maven2),
apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
snapshots
(
http://snapshots.maven.codehaus.org/maven2)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit
ory(DefaultMavenProjectBuilder.java:501)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage
(Defa
ultMavenProjectBuilder.java:1157)
...
28 more
Caused
by:
org.apache.maven.artifact.resolver.ArtifactResolutionException:
Error
transferring
file
org.apache.maven.doxia:doxia:pom:1.0-alpha-8
from
the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots
(http://svn.apache.org/maven-snapshot-repository
),
snapshots (http://snapshots.maven.codehaus.org/maven2)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau
ltArtifactResolver.java:140)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau
ltArtifactResolver.java:63)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit
ory(DefaultMavenProjectBuilder.java:467)
...
29 more
Caused by: org.apache.maven.wagon.TransferFailedException:
Error
transferring
file
at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:99)
at
org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(Defa
ultWagonManager.java
:369)
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Defaul
tWagonManager.java:282)
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Defaul
tWagonManager.java
:244)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau
ltArtifactResolver.java:124)
...
31 more
Caused by: java.net.ConnectException: Connection refused:
connect
at
java.net.PlainSocketImpl.socketConnect(Native
Method)
at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at
java.net.Socket.connect(Socket.java:507)
at
java.net.Socket.connect(Socket.java:457)
at
sun.net.NetworkClient.doConnect
(NetworkClient.java:157)
at
sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
at
sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
at
sun.net.www.http.HttpClient.<init>(
HttpClient.java:214)
at
sun.net.www.http.HttpClient.New(HttpClient.java:287)
at
sun.net.www.http.HttpClient.New(HttpClient.java:299)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConn
ection.java:792)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnecti
on.java:744)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja
va:669)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:913)
at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java
:85)
... 36
more
[INFO]
------------------------------------------------------------------------
[INFO]
Total time: 7 seconds
[INFO] Finished at: Tue May 16 11:00:41 CST
2006
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------
--
Murat HAZER
Elektrik-Elektronik M�hendisi -
Electrical-Electronics Engineer
Tel - Phone: +90 222 335 05 80 - 1395
Cep
Tel - Mobile Phone: +90 532 472 00 63
Blog URL: http://www.projedunyasi.org
Yahoo Group: http://groups.yahoo.com/group/malatyafenlisesi/
--
Murat
HAZER
Elektrik-Elektronik Mühendisi - Electrical-Electronics Engineer
Tel
- Phone: +90 222 335 05 80 - 1395
Cep Tel - Mobile Phone: +90 532 472 00 63
Blog URL: http://www.projedunyasi.org
Yahoo
Group: http://groups.yahoo.com/group/malatyafenlisesi/