Frank,
Thanks for taking the time to reply. I've had a quick
look and that definitely looks like a good place to start.
Thanks again,
Jim
From: Frank Felix Debatin [mailto:[EMAIL PROTECTED]
Sent: 15 February 2006 15:34
To: 'MyFaces Discussion'
Subject: RE: Building ADF Faces (apache-drop.zip)
Hi James,
I did not try building ADF myself, but it might be that you
have this problem:
In short, the Sun Jars are not available in the Maven
repositories because the Sun license doesn't allow them to. So they have to be
installed manually.
HTH
Frank Felix
From: James Moores [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 15, 2006 2:41 PM
To: [email protected]
Subject: Building ADF Faces (apache-drop.zip)
Hi,
I've been using ADF
Faces EA19 on MyFaces-1.1 for a few weeks on the basis that I knew about
the donation to the Apache Foundation so I could move to that. I'm now
trying to build the drop - and I can't work out how to do it. I've
downloaded and installed Maven-2.0.2. When I go into the unzipped package
I've got no top level pom.xml so typing something like
mvn
install
doesn't work.
I then tried just doing that in the adf-faces directory and it did a bunch of
stuff and then said that it couldn't find some maven plugin stuff, so I went
into the m2-plugins directory and ran 'mvn install' there. Then the
build process ran until it couldn't find the jsf jars - I presume that is
what the jsf-mock thing is for. I tried building that with 'mvn install',
which failed, and then 'mvn -f jsf-mock-1.1_01.pom install' which appeared to do
something. Anyway - the error I get is the output below. Has anyone
managed to build it? Is it complete or has stuff been stripped out that
will have to be replaced (I understand the oracle skin is gone, for
example)? I think I'm just not understanding the whole maven
thing...
Any help or
guidance anyone can give me would be hugely
appreciated.
Many
thanks,
Jim
Moores
[INFO]
----------------------------------------------------------------------------
[INFO] Building ADF Faces API
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [xrts:generate-sources {execution: default}]
[INFO] Nothing to generate - all XRTS bundles are up to date
Downloading: http://repo1.maven.org/maven2/javax/faces/jsf-api/1.1_01/jsf-api-1.1_01.pom
[WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
[WARNING] While downloading xerces:xerces:2.4.0
This artifact has been relocated to xerces:xercesImpl:2.4.0.
[INFO] Building ADF Faces API
[INFO] task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [xrts:generate-sources {execution: default}]
[INFO] Nothing to generate - all XRTS bundles are up to date
Downloading: http://repo1.maven.org/maven2/javax/faces/jsf-api/1.1_01/jsf-api-1.1_01.pom
[WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
[WARNING] While downloading xerces:xerces:2.4.0
This artifact has been relocated to xerces:xercesImpl:2.4.0.
Downloading: http://repo1.maven.org/maven2/javax/faces/jsf-impl/1.1_01/jsf-impl-1.1_01.pom
[WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/javax/faces/jsf-api/1.1_01/jsf-api-1.1_01.jar
[WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
required artifacts missing:
javax.faces:jsf-api:jar:1.1_01
javax.faces:jsf-api:jar:1.1_01
for the artifact:
oracle.adf.view.faces:adf-faces-api:jar:ea20-SNAPSHOT
oracle.adf.view.faces:adf-faces-api:jar:ea20-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
central (http://repo1.maven.org/maven2)
[INFO] ----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 7 seconds

