> expecting the mock ones...  so I'll give your new package a try.

you still need to *copy* the mock ones manualy to your local maven repo

like this file-url:

[EMAIL PROTECTED]:~/.m2/repository/javax/faces/jsf-mock/1.1_01> ls -la
total 100
drwxr-xr-x  2 matzew users   128 2006-02-15 17:25 .
drwxr-xr-x  3 matzew users    72 2006-02-15 17:25 ..
-rw-r--r--  1 matzew users 96990 2006-02-15 17:25 jsf-mock-1.1_01.jar
-rw-r--r--  1 matzew users   194 2006-02-15 17:25 jsf-mock-1.1_01.pom
m



HTH,
Matthias
>
> Thanks again,
>
> Jim Moores
>
> -----Original Message-----
> From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> Sent: 15 February 2006 17:17
> To: MyFaces Discussion
> Subject: Re: Building ADF Faces (apache-drop.zip)
>
> to make it clear,
>
> my drop only contains ADF faces stuff, not that mock and the m2-plugins.
> For that use the original one.
>
> HTH,
> Matthias
>
> > Look here for the new drop:
> > http://people.apache.org/~matzew/adf/adf.zip
> > What to do to make this drop buildable?
> >
> > -Go and compile MyFaces on your box
> >  (mvn install in myfaces root folder)
> >
> > -->I used the version number from the nightly snapshots...
> >
> > Now to the ADF Faces side:
> > -go to m2 plugin and call "mvn install"
> > -copy the jsf-mock to your local m2 repo (in folder
> > javax/faces/jsf-mock (similar to its structure)) -now go to adf-faces
> > and call "mvn install -Dmaven.test.skip=true"
> >
> > that's it!
> >
> > NOTE!!!
> > I commented the demo subproject out, since it needs some SUN jars
> > (mail for instance). If you are interested in building the demo too,
> > so go to the root pom.xml and comment it in. Also use the information
> > from the page, Frank suggested regarding the SUN jar files.
> >
> >
> > HTH,
> > Matthias
> >
> > On 2/15/06, James Moores <[EMAIL PROTECTED]> wrote:
> > >
> > > 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:
> > >
> > > http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
> > >
> > > 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.
> > >
> > >
> > > 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
> > >
> > > for the artifact:
> > >   oracle.adf.view.faces:adf-faces-api:jar:ea20-SNAPSHOT
> > >
> > > from the specified remote repositories:
> > >   central (http://repo1.maven.org/maven2)
> > >
> > >
> > > [INFO]
> > > --------------------------------------------------------------------
> > > -------- [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > > --------------------------------------------------------------------
> > > --------
> > > [INFO] Total time: 7 seconds
> >
> >
> > --
> > Matthias Wessendorf
> > Zülpicher Wall 12, 239
> > 50674 Köln
> > http://www.wessendorf.net
> > mwessendorf-at-gmail-dot-com
> >
>
>
> --
> Matthias Wessendorf
> Zülpicher Wall 12, 239
> 50674 Köln
> http://www.wessendorf.net
> mwessendorf-at-gmail-dot-com
>


--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com

Reply via email to