You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by Andy Birchall <an...@gmail.com> on 2007/04/13 13:15:11 UTC

Installing Maven Trinidad Archetype

Hello,
I've been trying to install the Trinidad Archetype to my Maven 2
installation but without success.
I have followed the instructions on here:
http://wiki.apache.org/myfaces/Trinidad_Archetype

i.e. I have checked out the source and typed 'mvn install' in the
trinidad-archetype directory

But this results in this error:

C:\Temp\trinidad-archetype>mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.myfaces.trinidadbuild
ArtifactId: maven-plugin-parent
Version: 1.0.1-incubating-SNAPSHOT

Reason: Unable to download the artifact from any repository

org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT

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

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
org.apache.myfaces.trinidadbuild:myfaces-arc
hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT

So it seems it is looking for the Trinidad artifact in the central
maven repository but obviously can't find it.
Do I have to set another repository for it to look in to download?
I'm probably missing something obvious but can't seem to find a solution.
Sorry, I'm pretty new to this.
Thanks
Andy

RE: Calendar Pop-up of selectInputDate fails with 404

Posted by William Hoover <wh...@nemours.org>.
Also, if you change your url pattern for the faces servlet from *.jsf to /faces/* it will work. I think this dependency should be removed so this pattern can be anything.

-----Original Message-----
From: Kuno.Baeriswyl@bkw-fmb.ch [mailto:Kuno.Baeriswyl@bkw-fmb.ch]
Sent: Wednesday, April 25, 2007 6:32 AM
To: adffaces-user@incubator.apache.org
Subject: AW: Calendar Pop-up of selectInputDate fails with 404


Hello Matthias!

Thanks for your reply. 

It was just a missspelling, since I was browsing in the ADF component documentation. I was sitting on a nightly build of 3 weeks ago or so, however, I could fix the problem with a fresh nightly build today.

Thanks again.

Kuno

-----Ursprüngliche Nachricht-----
Von: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com]Im Auftrag von
Matthias Wessendorf
Gesendet: Mittwoch, 25. April 2007 12:16
An: adffaces-user@incubator.apache.org
Betreff: Re: Calendar Pop-up of selectInputDate fails with 404


selectInputDate is an old name for inputDate.

Are you sitting on the latest, greates Trinidad ?

.M

On 4/24/07, Kuno.Baeriswyl@bkw-fmb.ch <Ku...@bkw-fmb.ch> wrote:
> Hi all!
>
> I use the selectInputDate component for entering a date value. Everthing works fine, but it fails if I click on the calendar icon that should open the Calendar pop-up.
>
> 404 Not Found
> /<myapp>/<myapp>/__ADFv__.jsf
>
> Does anybody have an idea?
>
> Many thanks in advance.
>
> Kuno
>
> My web.xml looks like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>   id="WebApp_ID"
>   version="2.4"
>   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
>   <display-name>EDIS</display-name>
>   <context-param>
>     <param-name>log4jConfigLocation</param-name>
>     <param-value>/WEB-INF/classes/log4j.xml</param-value>
>   </context-param>
>   <context-param>
>     <param-name>contextConfigLocation</param-name>
>     <param-value>classpath:applicationContext.xml
>             classpath:applicationContextJSF.xml /WEB-INF/acegi.xml</param-value>
>   </context-param>
>         <!-- Use documents saved as *.xhtml for Facelets -->
>         <context-param>
>           <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
>           <param-value>.xhtml</param-value>
>         </context-param>
>         <!-- FaceletViewHandler configuration -->
>         <context-param>
>           <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
>           <param-value>com.sun.facelets.FaceletViewHandler</param-value>
>         </context-param>
>       <!-- Special Debug Output for Development -->
>       <context-param>
>               <param-name>facelets.DEVELOPMENT</param-name>
>               <param-value>true</param-value>
>       </context-param>
>       <!-- Optional JSF-RI Parameters to Help Debug -->
>       <context-param>
>               <param-name>com.sun.faces.validateXml</param-name>
>               <param-value>true</param-value>
>       </context-param>
>       <context-param>
>               <param-name>com.sun.faces.verifyObjects</param-name>
>               <param-value>true</param-value>
>       </context-param>
>   <context-param>
>     <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
>     <param-value>client</param-value>
>   </context-param>
>    <context-param>
>       <param-name>
>          org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT
>       </param-name>
>       <param-value>false</param-value>
>    </context-param>
>    <context-param>
>       <param-name>
>          org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION
>       </param-name>
>       <param-value>true</param-value>
>    </context-param>
>    <context-param>
>       <param-name>
>          org.apache.myfaces.trinidad.resource.DEBUG
>       </param-name>
>       <param-value>true</param-value>
>    </context-param>
>    <context-param>
>       <param-name>
>          org.apache.myfaces.trinidad.CACHE_VIEW_ROOT
>       </param-name>
>       <param-value>false</param-value>
>    </context-param>
>   <!-- Log4j -->
>   <listener>
>     <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
>   </listener>
>   <!-- Spring -->
>   <listener>
>     <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
>   </listener>
>   <listener>
>     <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
>   </listener>
>   <!-- MyFaces -->
>   <listener>
>     <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
>   </listener>
>   <!-- Spracheinstellungen -->
>   <filter>
>     <filter-name>localeFilter</filter-name>
>     <filter-class>ch.bkw.edis.web.LocaleFilter</filter-class>
>   </filter>
>   <filter>
>     <filter-name>trinidad</filter-name>
>     <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
>   </filter>
>   <filter-mapping>
>     <filter-name>localeFilter</filter-name>
>     <url-pattern>/*</url-pattern>
>   </filter-mapping>
>   <filter>
>    <filter-name>CharacterEncodingFilter</filter-name>
>    <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
>    <init-param>
>      <param-name>encoding</param-name>
>      <param-value>UTF-8</param-value>
>    </init-param>
>   </filter>
>   <filter-mapping>
>     <filter-name>CharacterEncodingFilter</filter-name>
>     <url-pattern>*.jsf</url-pattern>
>   </filter-mapping>
>   <filter-mapping>
>     <filter-name>CharacterEncodingFilter</filter-name>
>     <url-pattern>*.xhtml</url-pattern>
>   </filter-mapping>
>   <!-- OpenSessionInViewFilter -->
>   <!-- Bitte auskommentieren um eine LazyInitializationException zu provozieren -->
>   <filter>
>     <filter-name>hibernateFilter</filter-name>
>     <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
>   </filter>
>   <filter-mapping>
>     <filter-name>hibernateFilter</filter-name>
>     <url-pattern>*.jsf</url-pattern>
>   </filter-mapping>
>   <!-- Ende OpenSessionInViewFilter  -->
>   <!-- Acegi -->
>   <filter>
>     <filter-name>AcegiFilter</filter-name>
>     <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
>     <init-param>
>       <param-name>targetClass</param-name>
>       <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
>     </init-param>
>   </filter>
>   <filter-mapping>
>     <filter-name>AcegiFilter</filter-name>
>     <url-pattern>/*</url-pattern>
>     <dispatcher>FORWARD</dispatcher>
>     <dispatcher>REQUEST</dispatcher>
>   </filter-mapping>
>   <filter-mapping>
>     <filter-name>trinidad</filter-name>
>     <servlet-name>Faces Servlet</servlet-name>
>   </filter-mapping>
>   <!-- JSF -->
>   <servlet>
>     <servlet-name>Faces Servlet</servlet-name>
>     <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
>     <load-on-startup>2</load-on-startup>
>   </servlet>
>  <servlet>
>   <servlet-name>resources</servlet-name>
>   <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
>  </servlet>
>  <servlet-mapping>
>     <servlet-name>Faces Servlet</servlet-name>
>     <url-pattern>*.jsf</url-pattern>
>   </servlet-mapping>
>   <servlet-mapping>
>     <servlet-name>Faces Servlet</servlet-name>
>     <url-pattern>*.faces</url-pattern>
>   </servlet-mapping>
>   <servlet-mapping>
>     <servlet-name>resources</servlet-name>
>     <url-pattern>/adf/*</url-pattern>
>   </servlet-mapping>
>   <welcome-file-list>
>     <welcome-file>userSelector.jsp</welcome-file>
>   </welcome-file-list>
>   <error-page>
>     <exception-type>javax.faces.FacesException</exception-type>
>     <location>/errorpage.jsp</location>
>   </error-page>
> </web-app>
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com


AW: Calendar Pop-up of selectInputDate fails with 404

Posted by Ku...@bkw-fmb.ch.
Hello Matthias!

Thanks for your reply. 

It was just a missspelling, since I was browsing in the ADF component documentation. I was sitting on a nightly build of 3 weeks ago or so, however, I could fix the problem with a fresh nightly build today.

Thanks again.

Kuno

-----Ursprüngliche Nachricht-----
Von: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com]Im Auftrag von
Matthias Wessendorf
Gesendet: Mittwoch, 25. April 2007 12:16
An: adffaces-user@incubator.apache.org
Betreff: Re: Calendar Pop-up of selectInputDate fails with 404


selectInputDate is an old name for inputDate.

Are you sitting on the latest, greates Trinidad ?

.M

On 4/24/07, Kuno.Baeriswyl@bkw-fmb.ch <Ku...@bkw-fmb.ch> wrote:
> Hi all!
>
> I use the selectInputDate component for entering a date value. Everthing works fine, but it fails if I click on the calendar icon that should open the Calendar pop-up.
>
> 404 Not Found
> /<myapp>/<myapp>/__ADFv__.jsf
>
> Does anybody have an idea?
>
> Many thanks in advance.
>
> Kuno
>
> My web.xml looks like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>   id="WebApp_ID"
>   version="2.4"
>   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
>   <display-name>EDIS</display-name>
>   <context-param>
>     <param-name>log4jConfigLocation</param-name>
>     <param-value>/WEB-INF/classes/log4j.xml</param-value>
>   </context-param>
>   <context-param>
>     <param-name>contextConfigLocation</param-name>
>     <param-value>classpath:applicationContext.xml
>             classpath:applicationContextJSF.xml /WEB-INF/acegi.xml</param-value>
>   </context-param>
>         <!-- Use documents saved as *.xhtml for Facelets -->
>         <context-param>
>           <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
>           <param-value>.xhtml</param-value>
>         </context-param>
>         <!-- FaceletViewHandler configuration -->
>         <context-param>
>           <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
>           <param-value>com.sun.facelets.FaceletViewHandler</param-value>
>         </context-param>
>       <!-- Special Debug Output for Development -->
>       <context-param>
>               <param-name>facelets.DEVELOPMENT</param-name>
>               <param-value>true</param-value>
>       </context-param>
>       <!-- Optional JSF-RI Parameters to Help Debug -->
>       <context-param>
>               <param-name>com.sun.faces.validateXml</param-name>
>               <param-value>true</param-value>
>       </context-param>
>       <context-param>
>               <param-name>com.sun.faces.verifyObjects</param-name>
>               <param-value>true</param-value>
>       </context-param>
>   <context-param>
>     <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
>     <param-value>client</param-value>
>   </context-param>
>    <context-param>
>       <param-name>
>          org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT
>       </param-name>
>       <param-value>false</param-value>
>    </context-param>
>    <context-param>
>       <param-name>
>          org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION
>       </param-name>
>       <param-value>true</param-value>
>    </context-param>
>    <context-param>
>       <param-name>
>          org.apache.myfaces.trinidad.resource.DEBUG
>       </param-name>
>       <param-value>true</param-value>
>    </context-param>
>    <context-param>
>       <param-name>
>          org.apache.myfaces.trinidad.CACHE_VIEW_ROOT
>       </param-name>
>       <param-value>false</param-value>
>    </context-param>
>   <!-- Log4j -->
>   <listener>
>     <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
>   </listener>
>   <!-- Spring -->
>   <listener>
>     <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
>   </listener>
>   <listener>
>     <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
>   </listener>
>   <!-- MyFaces -->
>   <listener>
>     <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
>   </listener>
>   <!-- Spracheinstellungen -->
>   <filter>
>     <filter-name>localeFilter</filter-name>
>     <filter-class>ch.bkw.edis.web.LocaleFilter</filter-class>
>   </filter>
>   <filter>
>     <filter-name>trinidad</filter-name>
>     <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
>   </filter>
>   <filter-mapping>
>     <filter-name>localeFilter</filter-name>
>     <url-pattern>/*</url-pattern>
>   </filter-mapping>
>   <filter>
>    <filter-name>CharacterEncodingFilter</filter-name>
>    <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
>    <init-param>
>      <param-name>encoding</param-name>
>      <param-value>UTF-8</param-value>
>    </init-param>
>   </filter>
>   <filter-mapping>
>     <filter-name>CharacterEncodingFilter</filter-name>
>     <url-pattern>*.jsf</url-pattern>
>   </filter-mapping>
>   <filter-mapping>
>     <filter-name>CharacterEncodingFilter</filter-name>
>     <url-pattern>*.xhtml</url-pattern>
>   </filter-mapping>
>   <!-- OpenSessionInViewFilter -->
>   <!-- Bitte auskommentieren um eine LazyInitializationException zu provozieren -->
>   <filter>
>     <filter-name>hibernateFilter</filter-name>
>     <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
>   </filter>
>   <filter-mapping>
>     <filter-name>hibernateFilter</filter-name>
>     <url-pattern>*.jsf</url-pattern>
>   </filter-mapping>
>   <!-- Ende OpenSessionInViewFilter  -->
>   <!-- Acegi -->
>   <filter>
>     <filter-name>AcegiFilter</filter-name>
>     <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
>     <init-param>
>       <param-name>targetClass</param-name>
>       <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
>     </init-param>
>   </filter>
>   <filter-mapping>
>     <filter-name>AcegiFilter</filter-name>
>     <url-pattern>/*</url-pattern>
>     <dispatcher>FORWARD</dispatcher>
>     <dispatcher>REQUEST</dispatcher>
>   </filter-mapping>
>   <filter-mapping>
>     <filter-name>trinidad</filter-name>
>     <servlet-name>Faces Servlet</servlet-name>
>   </filter-mapping>
>   <!-- JSF -->
>   <servlet>
>     <servlet-name>Faces Servlet</servlet-name>
>     <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
>     <load-on-startup>2</load-on-startup>
>   </servlet>
>  <servlet>
>   <servlet-name>resources</servlet-name>
>   <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
>  </servlet>
>  <servlet-mapping>
>     <servlet-name>Faces Servlet</servlet-name>
>     <url-pattern>*.jsf</url-pattern>
>   </servlet-mapping>
>   <servlet-mapping>
>     <servlet-name>Faces Servlet</servlet-name>
>     <url-pattern>*.faces</url-pattern>
>   </servlet-mapping>
>   <servlet-mapping>
>     <servlet-name>resources</servlet-name>
>     <url-pattern>/adf/*</url-pattern>
>   </servlet-mapping>
>   <welcome-file-list>
>     <welcome-file>userSelector.jsp</welcome-file>
>   </welcome-file-list>
>   <error-page>
>     <exception-type>javax.faces.FacesException</exception-type>
>     <location>/errorpage.jsp</location>
>   </error-page>
> </web-app>
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: Calendar Pop-up of selectInputDate fails with 404

Posted by Matthias Wessendorf <ma...@apache.org>.
selectInputDate is an old name for inputDate.

Are you sitting on the latest, greates Trinidad ?

.M

On 4/24/07, Kuno.Baeriswyl@bkw-fmb.ch <Ku...@bkw-fmb.ch> wrote:
> Hi all!
>
> I use the selectInputDate component for entering a date value. Everthing works fine, but it fails if I click on the calendar icon that should open the Calendar pop-up.
>
> 404 Not Found
> /<myapp>/<myapp>/__ADFv__.jsf
>
> Does anybody have an idea?
>
> Many thanks in advance.
>
> Kuno
>
> My web.xml looks like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>   id="WebApp_ID"
>   version="2.4"
>   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
>   <display-name>EDIS</display-name>
>   <context-param>
>     <param-name>log4jConfigLocation</param-name>
>     <param-value>/WEB-INF/classes/log4j.xml</param-value>
>   </context-param>
>   <context-param>
>     <param-name>contextConfigLocation</param-name>
>     <param-value>classpath:applicationContext.xml
>             classpath:applicationContextJSF.xml /WEB-INF/acegi.xml</param-value>
>   </context-param>
>         <!-- Use documents saved as *.xhtml for Facelets -->
>         <context-param>
>           <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
>           <param-value>.xhtml</param-value>
>         </context-param>
>         <!-- FaceletViewHandler configuration -->
>         <context-param>
>           <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
>           <param-value>com.sun.facelets.FaceletViewHandler</param-value>
>         </context-param>
>       <!-- Special Debug Output for Development -->
>       <context-param>
>               <param-name>facelets.DEVELOPMENT</param-name>
>               <param-value>true</param-value>
>       </context-param>
>       <!-- Optional JSF-RI Parameters to Help Debug -->
>       <context-param>
>               <param-name>com.sun.faces.validateXml</param-name>
>               <param-value>true</param-value>
>       </context-param>
>       <context-param>
>               <param-name>com.sun.faces.verifyObjects</param-name>
>               <param-value>true</param-value>
>       </context-param>
>   <context-param>
>     <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
>     <param-value>client</param-value>
>   </context-param>
>    <context-param>
>       <param-name>
>          org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT
>       </param-name>
>       <param-value>false</param-value>
>    </context-param>
>    <context-param>
>       <param-name>
>          org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION
>       </param-name>
>       <param-value>true</param-value>
>    </context-param>
>    <context-param>
>       <param-name>
>          org.apache.myfaces.trinidad.resource.DEBUG
>       </param-name>
>       <param-value>true</param-value>
>    </context-param>
>    <context-param>
>       <param-name>
>          org.apache.myfaces.trinidad.CACHE_VIEW_ROOT
>       </param-name>
>       <param-value>false</param-value>
>    </context-param>
>   <!-- Log4j -->
>   <listener>
>     <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
>   </listener>
>   <!-- Spring -->
>   <listener>
>     <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
>   </listener>
>   <listener>
>     <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
>   </listener>
>   <!-- MyFaces -->
>   <listener>
>     <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
>   </listener>
>   <!-- Spracheinstellungen -->
>   <filter>
>     <filter-name>localeFilter</filter-name>
>     <filter-class>ch.bkw.edis.web.LocaleFilter</filter-class>
>   </filter>
>   <filter>
>     <filter-name>trinidad</filter-name>
>     <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
>   </filter>
>   <filter-mapping>
>     <filter-name>localeFilter</filter-name>
>     <url-pattern>/*</url-pattern>
>   </filter-mapping>
>   <filter>
>    <filter-name>CharacterEncodingFilter</filter-name>
>    <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
>    <init-param>
>      <param-name>encoding</param-name>
>      <param-value>UTF-8</param-value>
>    </init-param>
>   </filter>
>   <filter-mapping>
>     <filter-name>CharacterEncodingFilter</filter-name>
>     <url-pattern>*.jsf</url-pattern>
>   </filter-mapping>
>   <filter-mapping>
>     <filter-name>CharacterEncodingFilter</filter-name>
>     <url-pattern>*.xhtml</url-pattern>
>   </filter-mapping>
>   <!-- OpenSessionInViewFilter -->
>   <!-- Bitte auskommentieren um eine LazyInitializationException zu provozieren -->
>   <filter>
>     <filter-name>hibernateFilter</filter-name>
>     <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
>   </filter>
>   <filter-mapping>
>     <filter-name>hibernateFilter</filter-name>
>     <url-pattern>*.jsf</url-pattern>
>   </filter-mapping>
>   <!-- Ende OpenSessionInViewFilter  -->
>   <!-- Acegi -->
>   <filter>
>     <filter-name>AcegiFilter</filter-name>
>     <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
>     <init-param>
>       <param-name>targetClass</param-name>
>       <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
>     </init-param>
>   </filter>
>   <filter-mapping>
>     <filter-name>AcegiFilter</filter-name>
>     <url-pattern>/*</url-pattern>
>     <dispatcher>FORWARD</dispatcher>
>     <dispatcher>REQUEST</dispatcher>
>   </filter-mapping>
>   <filter-mapping>
>     <filter-name>trinidad</filter-name>
>     <servlet-name>Faces Servlet</servlet-name>
>   </filter-mapping>
>   <!-- JSF -->
>   <servlet>
>     <servlet-name>Faces Servlet</servlet-name>
>     <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
>     <load-on-startup>2</load-on-startup>
>   </servlet>
>  <servlet>
>   <servlet-name>resources</servlet-name>
>   <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
>  </servlet>
>  <servlet-mapping>
>     <servlet-name>Faces Servlet</servlet-name>
>     <url-pattern>*.jsf</url-pattern>
>   </servlet-mapping>
>   <servlet-mapping>
>     <servlet-name>Faces Servlet</servlet-name>
>     <url-pattern>*.faces</url-pattern>
>   </servlet-mapping>
>   <servlet-mapping>
>     <servlet-name>resources</servlet-name>
>     <url-pattern>/adf/*</url-pattern>
>   </servlet-mapping>
>   <welcome-file-list>
>     <welcome-file>userSelector.jsp</welcome-file>
>   </welcome-file-list>
>   <error-page>
>     <exception-type>javax.faces.FacesException</exception-type>
>     <location>/errorpage.jsp</location>
>   </error-page>
> </web-app>
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Calendar Pop-up of selectInputDate fails with 404

Posted by Ku...@bkw-fmb.ch.
Hi all!

I use the selectInputDate component for entering a date value. Everthing works fine, but it fails if I click on the calendar icon that should open the Calendar pop-up. 

404 Not Found
/<myapp>/<myapp>/__ADFv__.jsf

Does anybody have an idea?

Many thanks in advance.

Kuno

My web.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  id="WebApp_ID"
  version="2.4"
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
  <display-name>EDIS</display-name>
  <context-param>
    <param-name>log4jConfigLocation</param-name>
    <param-value>/WEB-INF/classes/log4j.xml</param-value>
  </context-param>
  <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>classpath:applicationContext.xml
            classpath:applicationContextJSF.xml /WEB-INF/acegi.xml</param-value>
  </context-param>
	<!-- Use documents saved as *.xhtml for Facelets -->
	<context-param>
	  <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
	  <param-value>.xhtml</param-value>
	</context-param> 
	<!-- FaceletViewHandler configuration -->
	<context-param>
	  <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
	  <param-value>com.sun.facelets.FaceletViewHandler</param-value>
	</context-param>
      <!-- Special Debug Output for Development -->
      <context-param>
              <param-name>facelets.DEVELOPMENT</param-name>
              <param-value>true</param-value>
      </context-param>
      <!-- Optional JSF-RI Parameters to Help Debug -->
      <context-param>
              <param-name>com.sun.faces.validateXml</param-name>
              <param-value>true</param-value>
      </context-param>
      <context-param>
              <param-name>com.sun.faces.verifyObjects</param-name>
              <param-value>true</param-value>
      </context-param>	
  <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
  </context-param>  
   <context-param>
      <param-name>
         org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT
      </param-name>
      <param-value>false</param-value>
   </context-param>
   <context-param>
      <param-name>
         org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION
      </param-name>
      <param-value>true</param-value>
   </context-param>
   <context-param>
      <param-name>
         org.apache.myfaces.trinidad.resource.DEBUG
      </param-name>
      <param-value>true</param-value>
   </context-param>
   <context-param>
      <param-name>
         org.apache.myfaces.trinidad.CACHE_VIEW_ROOT
      </param-name>
      <param-value>false</param-value>
   </context-param>
  <!-- Log4j -->
  <listener>
    <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
  </listener>
  <!-- Spring -->
  <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  </listener>
  <listener>
    <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
  </listener>
  <!-- MyFaces -->
  <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
  </listener>
  <!-- Spracheinstellungen -->
  <filter>
    <filter-name>localeFilter</filter-name>
    <filter-class>ch.bkw.edis.web.LocaleFilter</filter-class>
  </filter>
  <filter>
    <filter-name>trinidad</filter-name>
    <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
  </filter>  
  <filter-mapping>
    <filter-name>localeFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>
  <filter>
   <filter-name>CharacterEncodingFilter</filter-name>
   <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
   <init-param>
     <param-name>encoding</param-name>
     <param-value>UTF-8</param-value>
   </init-param>
  </filter>
  <filter-mapping>
    <filter-name>CharacterEncodingFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>CharacterEncodingFilter</filter-name>
    <url-pattern>*.xhtml</url-pattern>
  </filter-mapping>  
  <!-- OpenSessionInViewFilter -->
  <!-- Bitte auskommentieren um eine LazyInitializationException zu provozieren -->
  <filter>
    <filter-name>hibernateFilter</filter-name>
    <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>hibernateFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
  </filter-mapping>
  <!-- Ende OpenSessionInViewFilter  -->
  <!-- Acegi -->
  <filter>
    <filter-name>AcegiFilter</filter-name>
    <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
    <init-param>
      <param-name>targetClass</param-name>
      <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
    </init-param>
  </filter>
  <filter-mapping>
    <filter-name>AcegiFilter</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
  </filter-mapping>
  <filter-mapping>
    <filter-name>trinidad</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
  </filter-mapping>  
  <!-- JSF -->
  <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>2</load-on-startup>
  </servlet>
 <servlet>
  <servlet-name>resources</servlet-name>
  <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
 </servlet>
 <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
  </servlet-mapping>  
  <welcome-file-list>
    <welcome-file>userSelector.jsp</welcome-file>
  </welcome-file-list>
  <error-page>
    <exception-type>javax.faces.FacesException</exception-type>
    <location>/errorpage.jsp</location>
  </error-page>
</web-app>

Re: Installing Maven Trinidad Archetype

Posted by Andy Birchall <an...@gmail.com>.
Ah ok thanks for the link.
I did the same as you and the plugins and trinidad built and installed
ok, with no errors.
However when I run the archetype:create I get this error from Maven:

[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.R
esourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResour
ceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCa
cheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource
'VM_global_library.vm' in any resource l
oader.
[INFO] Velocimacro : error using  VM library template
VM_global_library.vm : org.apache.ve
locity.exception.ResourceNotFoundException: Unable to find resource
'VM_global_library.vm'

[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined
inline may NOT replace pr
evious VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline
will be  global in scop
e if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [archetype:create]
[INFO] Defaulting package to group ID: uk.org.aqa
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.myfaces.trinidadbuild
ArtifactId: myfaces-archetype-trinidad
Version: 1.0.1-incubating-SNAPSHOT

Reason: Unable to download the artifact from any repository


On 4/24/07, Matthias Wessendorf <ma...@apache.org> wrote:
> the svn folder for trinidad is currently named ADFFACES, because, when
> coming to Apache that was the name of the product.
>
> http://svn.apache.org/viewvc/incubator/adffaces/trunk/
>
> that contains plugins and trinidad (meaning the core, the jsf components)
>
> -M
>
> On 4/24/07, Andy Birchall <an...@gmail.com> wrote:
> > Hi Matthias,
> > I'm sorry you're going to have to be a bit more specific - this isn't
> > very clear to me:
> >
> > > -checkout of "adffaces" folder
> > > cd plugin
> >
> > what do you mean by the "adffdaces" folder? Where is the link?
> > Can you be a bit more expicit?
> > Thanks a lot
> > Andy
> >
> > On 4/21/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > Hey Andy,
> > >
> > > I was updating a minor thing inside the archetype; nothing related to
> > > your issue.
> > > In oder to get the archetype working I did this:
> > > -checkout of "adffaces" folder
> > > cd plugin
> > > mvn clean install
> > > cd ../trinidad
> > > mvn clean install
> > >
> > > ...go somewhere, where you'd like to have your projects...
> > >
> > > mvn archetype:create
> > >  -DarchetypeGroupId=org.apache.myfaces.trinidadbuild
> > >  -DarchetypeArtifactId=myfaces-archetype-trinidad
> > >  -DarchetypeVersion=1.0.1-incubating-SNAPSHOT
> > >  -DgroupId=com.apachecon.amsterdam.workshop
> > >  -DartifactId=trinidad
> > >
> > > that generates a project skeleton. Now,
> > > mvn -PjettyConfig clean jetty:run
> > >
> > > the jetty container comes up and servers your page
> > >
> > > http://localhost:8080/trinidad/faces/index.jspx
> > >
> > > Does that solve your issues ?
> > >
> > > Greetings,
> > > Matthias
> > >
> > > On 4/17/07, Andy Birchall <an...@gmail.com> wrote:
> > > > So is there something wrong with the Archtype?
> > > > FYI after I build Trinidad I have the
> > > > maven-plugin-parent\1.0.0-incubating directory in my local repository,
> > > > but with no jar file.
> > > > Thanks a lot
> > > > Andy
> > > >
> > > > On 4/15/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > yeah, I'll check the archetype
> > > > >
> > > > > On 4/14/07, Adam Winer <aw...@gmail.com> wrote:
> > > > > > Perhaps, but shouldn't the archetype be pointing at 1.0.0 plugins,
> > > > > > not 1.0.1-SNAPSHOT?
> > > > > >
> > > > > > -- Adam
> > > > > >
> > > > > >
> > > > > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > perhaps it hasn't the incubator repo in.
> > > > > > >
> > > > > > > -M
> > > > > > >
> > > > > > > On 4/14/07, Simon Lessard <si...@gmail.com> wrote:
> > > > > > > > Hello,
> > > > > > > >
> > > > > > > > mvn install in the plugins directory to build it. However, I don't see why
> > > > > > > > this is needed, if this is really the issue since he built plugin can be
> > > > > > > > found in maven repos.
> > > > > > > >
> > > > > > > > On 4/14/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > >
> > > > > > > > > Ah, I wasn't aware that I had to do that.
> > > > > > > > > I thought that these instructions were building the Archetype plugin:
> > > > > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > > > > No?
> > > > > > > > > Can you point me to the page which tells me how to build the plugins?
> > > > > > > > > Thanks a lot
> > > > > > > > > Andy
> > > > > > > > >
> > > > > > > > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > > > > did you build the plugins as well ?
> > > > > > > > > >
> > > > > > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > > > > Yes I did.
> > > > > > > > > > > I built it using the instructions here:
> > > > > > > > > > > http://wiki.apache.org/myfaces/Building_ADF_With_Maven
> > > > > > > > > > > and it all built fine.
> > > > > > > > > > > Thanks
> > > > > > > > > > >
> > > > > > > > > > > On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > > > > > > did you build trinidad ?
> > > > > > > > > > > >
> > > > > > > > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > I've been trying to install the Trinidad Archetype to my Maven 2
> > > > > > > > > > > > > installation but without success.
> > > > > > > > > > > > > I have followed the instructions on here:
> > > > > > > > > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > > > > > > > >
> > > > > > > > > > > > > i.e. I have checked out the source and typed 'mvn install' in the
> > > > > > > > > > > > > trinidad-archetype directory
> > > > > > > > > > > > >
> > > > > > > > > > > > > But this results in this error:
> > > > > > > > > > > > >
> > > > > > > > > > > > > C:\Temp\trinidad-archetype>mvn install
> > > > > > > > > > > > > [INFO] Scanning for projects...
> > > > > > > > > > > > > [INFO]
> > > > > > > > > ------------------------------------------------------------------------
> > > > > > > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > > > > > > [INFO]
> > > > > > > > > ------------------------------------------------------------------------
> > > > > > > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > > > > > > >
> > > > > > > > > > > > > GroupId: org.apache.myfaces.trinidadbuild
> > > > > > > > > > > > > ArtifactId: maven-plugin-parent
> > > > > > > > > > > > > Version: 1.0.1-incubating-SNAPSHOT
> > > > > > > > > > > > >
> > > > > > > > > > > > > Reason: Unable to download the artifact from any repository
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> > > > > > > > > > > > >
> > > > > > > > > > > > > from the specified remote repositories:
> > > > > > > > > > > > >   central (http://repo1.maven.org/maven2)
> > > > > > > > > > > > >
> > > > > > > > > > > > > [INFO]
> > > > > > > > > ------------------------------------------------------------------------
> > > > > > > > > > > > > [INFO] Trace
> > > > > > > > > > > > > org.apache.maven.reactor.MavenExecutionException: Cannot find
> > > > > > > > > parent:
> > > > > > > > > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > > > > > > > > > > > > org.apache.myfaces.trinidadbuild:myfaces-arc
> > > > > > > > > > > > > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> > > > > > > > > > > > >
> > > > > > > > > > > > > So it seems it is looking for the Trinidad artifact in the central
> > > > > > > > > > > > > maven repository but obviously can't find it.
> > > > > > > > > > > > > Do I have to set another repository for it to look in to download?
> > > > > > > > > > > > > I'm probably missing something obvious but can't seem to find a
> > > > > > > > > solution.
> > > > > > > > > > > > > Sorry, I'm pretty new to this.
> > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > Andy
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Matthias Wessendorf
> > > > > > > > > > > > http://tinyurl.com/fmywh
> > > > > > > > > > > >
> > > > > > > > > > > > further stuff:
> > > > > > > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Matthias Wessendorf
> > > > > > > > > > http://tinyurl.com/fmywh
> > > > > > > > > >
> > > > > > > > > > further stuff:
> > > > > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Matthias Wessendorf
> > > > > > > http://tinyurl.com/fmywh
> > > > > > >
> > > > > > > further stuff:
> > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Matthias Wessendorf
> > > > > http://tinyurl.com/fmywh
> > > > >
> > > > > further stuff:
> > > > > blog: http://jroller.com/page/mwessendorf
> > > > > mail: mwessendorf-at-gmail-dot-com
> > > > >
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > > http://tinyurl.com/fmywh
> > >
> > > further stuff:
> > > blog: http://jroller.com/page/mwessendorf
> > > mail: mwessendorf-at-gmail-dot-com
> > >
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>

Re: Installing Maven Trinidad Archetype

Posted by Matthias Wessendorf <ma...@apache.org>.
the svn folder for trinidad is currently named ADFFACES, because, when
coming to Apache that was the name of the product.

http://svn.apache.org/viewvc/incubator/adffaces/trunk/

that contains plugins and trinidad (meaning the core, the jsf components)

-M

On 4/24/07, Andy Birchall <an...@gmail.com> wrote:
> Hi Matthias,
> I'm sorry you're going to have to be a bit more specific - this isn't
> very clear to me:
>
> > -checkout of "adffaces" folder
> > cd plugin
>
> what do you mean by the "adffdaces" folder? Where is the link?
> Can you be a bit more expicit?
> Thanks a lot
> Andy
>
> On 4/21/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > Hey Andy,
> >
> > I was updating a minor thing inside the archetype; nothing related to
> > your issue.
> > In oder to get the archetype working I did this:
> > -checkout of "adffaces" folder
> > cd plugin
> > mvn clean install
> > cd ../trinidad
> > mvn clean install
> >
> > ...go somewhere, where you'd like to have your projects...
> >
> > mvn archetype:create
> >  -DarchetypeGroupId=org.apache.myfaces.trinidadbuild
> >  -DarchetypeArtifactId=myfaces-archetype-trinidad
> >  -DarchetypeVersion=1.0.1-incubating-SNAPSHOT
> >  -DgroupId=com.apachecon.amsterdam.workshop
> >  -DartifactId=trinidad
> >
> > that generates a project skeleton. Now,
> > mvn -PjettyConfig clean jetty:run
> >
> > the jetty container comes up and servers your page
> >
> > http://localhost:8080/trinidad/faces/index.jspx
> >
> > Does that solve your issues ?
> >
> > Greetings,
> > Matthias
> >
> > On 4/17/07, Andy Birchall <an...@gmail.com> wrote:
> > > So is there something wrong with the Archtype?
> > > FYI after I build Trinidad I have the
> > > maven-plugin-parent\1.0.0-incubating directory in my local repository,
> > > but with no jar file.
> > > Thanks a lot
> > > Andy
> > >
> > > On 4/15/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > yeah, I'll check the archetype
> > > >
> > > > On 4/14/07, Adam Winer <aw...@gmail.com> wrote:
> > > > > Perhaps, but shouldn't the archetype be pointing at 1.0.0 plugins,
> > > > > not 1.0.1-SNAPSHOT?
> > > > >
> > > > > -- Adam
> > > > >
> > > > >
> > > > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > perhaps it hasn't the incubator repo in.
> > > > > >
> > > > > > -M
> > > > > >
> > > > > > On 4/14/07, Simon Lessard <si...@gmail.com> wrote:
> > > > > > > Hello,
> > > > > > >
> > > > > > > mvn install in the plugins directory to build it. However, I don't see why
> > > > > > > this is needed, if this is really the issue since he built plugin can be
> > > > > > > found in maven repos.
> > > > > > >
> > > > > > > On 4/14/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > >
> > > > > > > > Ah, I wasn't aware that I had to do that.
> > > > > > > > I thought that these instructions were building the Archetype plugin:
> > > > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > > > No?
> > > > > > > > Can you point me to the page which tells me how to build the plugins?
> > > > > > > > Thanks a lot
> > > > > > > > Andy
> > > > > > > >
> > > > > > > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > > > did you build the plugins as well ?
> > > > > > > > >
> > > > > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > > > Yes I did.
> > > > > > > > > > I built it using the instructions here:
> > > > > > > > > > http://wiki.apache.org/myfaces/Building_ADF_With_Maven
> > > > > > > > > > and it all built fine.
> > > > > > > > > > Thanks
> > > > > > > > > >
> > > > > > > > > > On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > > > > > did you build trinidad ?
> > > > > > > > > > >
> > > > > > > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > > > > > Hello,
> > > > > > > > > > > > I've been trying to install the Trinidad Archetype to my Maven 2
> > > > > > > > > > > > installation but without success.
> > > > > > > > > > > > I have followed the instructions on here:
> > > > > > > > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > > > > > > >
> > > > > > > > > > > > i.e. I have checked out the source and typed 'mvn install' in the
> > > > > > > > > > > > trinidad-archetype directory
> > > > > > > > > > > >
> > > > > > > > > > > > But this results in this error:
> > > > > > > > > > > >
> > > > > > > > > > > > C:\Temp\trinidad-archetype>mvn install
> > > > > > > > > > > > [INFO] Scanning for projects...
> > > > > > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------------------
> > > > > > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------------------
> > > > > > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > > > > > >
> > > > > > > > > > > > GroupId: org.apache.myfaces.trinidadbuild
> > > > > > > > > > > > ArtifactId: maven-plugin-parent
> > > > > > > > > > > > Version: 1.0.1-incubating-SNAPSHOT
> > > > > > > > > > > >
> > > > > > > > > > > > Reason: Unable to download the artifact from any repository
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> > > > > > > > > > > >
> > > > > > > > > > > > from the specified remote repositories:
> > > > > > > > > > > >   central (http://repo1.maven.org/maven2)
> > > > > > > > > > > >
> > > > > > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------------------
> > > > > > > > > > > > [INFO] Trace
> > > > > > > > > > > > org.apache.maven.reactor.MavenExecutionException: Cannot find
> > > > > > > > parent:
> > > > > > > > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > > > > > > > > > > > org.apache.myfaces.trinidadbuild:myfaces-arc
> > > > > > > > > > > > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> > > > > > > > > > > >
> > > > > > > > > > > > So it seems it is looking for the Trinidad artifact in the central
> > > > > > > > > > > > maven repository but obviously can't find it.
> > > > > > > > > > > > Do I have to set another repository for it to look in to download?
> > > > > > > > > > > > I'm probably missing something obvious but can't seem to find a
> > > > > > > > solution.
> > > > > > > > > > > > Sorry, I'm pretty new to this.
> > > > > > > > > > > > Thanks
> > > > > > > > > > > > Andy
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Matthias Wessendorf
> > > > > > > > > > > http://tinyurl.com/fmywh
> > > > > > > > > > >
> > > > > > > > > > > further stuff:
> > > > > > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Matthias Wessendorf
> > > > > > > > > http://tinyurl.com/fmywh
> > > > > > > > >
> > > > > > > > > further stuff:
> > > > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Matthias Wessendorf
> > > > > > http://tinyurl.com/fmywh
> > > > > >
> > > > > > further stuff:
> > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Matthias Wessendorf
> > > > http://tinyurl.com/fmywh
> > > >
> > > > further stuff:
> > > > blog: http://jroller.com/page/mwessendorf
> > > > mail: mwessendorf-at-gmail-dot-com
> > > >
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > http://tinyurl.com/fmywh
> >
> > further stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: Installing Maven Trinidad Archetype

Posted by Andy Birchall <an...@gmail.com>.
Hi Matthias,
I'm sorry you're going to have to be a bit more specific - this isn't
very clear to me:

> -checkout of "adffaces" folder
> cd plugin

what do you mean by the "adffdaces" folder? Where is the link?
Can you be a bit more expicit?
Thanks a lot
Andy

On 4/21/07, Matthias Wessendorf <ma...@apache.org> wrote:
> Hey Andy,
>
> I was updating a minor thing inside the archetype; nothing related to
> your issue.
> In oder to get the archetype working I did this:
> -checkout of "adffaces" folder
> cd plugin
> mvn clean install
> cd ../trinidad
> mvn clean install
>
> ...go somewhere, where you'd like to have your projects...
>
> mvn archetype:create
>  -DarchetypeGroupId=org.apache.myfaces.trinidadbuild
>  -DarchetypeArtifactId=myfaces-archetype-trinidad
>  -DarchetypeVersion=1.0.1-incubating-SNAPSHOT
>  -DgroupId=com.apachecon.amsterdam.workshop
>  -DartifactId=trinidad
>
> that generates a project skeleton. Now,
> mvn -PjettyConfig clean jetty:run
>
> the jetty container comes up and servers your page
>
> http://localhost:8080/trinidad/faces/index.jspx
>
> Does that solve your issues ?
>
> Greetings,
> Matthias
>
> On 4/17/07, Andy Birchall <an...@gmail.com> wrote:
> > So is there something wrong with the Archtype?
> > FYI after I build Trinidad I have the
> > maven-plugin-parent\1.0.0-incubating directory in my local repository,
> > but with no jar file.
> > Thanks a lot
> > Andy
> >
> > On 4/15/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > yeah, I'll check the archetype
> > >
> > > On 4/14/07, Adam Winer <aw...@gmail.com> wrote:
> > > > Perhaps, but shouldn't the archetype be pointing at 1.0.0 plugins,
> > > > not 1.0.1-SNAPSHOT?
> > > >
> > > > -- Adam
> > > >
> > > >
> > > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > perhaps it hasn't the incubator repo in.
> > > > >
> > > > > -M
> > > > >
> > > > > On 4/14/07, Simon Lessard <si...@gmail.com> wrote:
> > > > > > Hello,
> > > > > >
> > > > > > mvn install in the plugins directory to build it. However, I don't see why
> > > > > > this is needed, if this is really the issue since he built plugin can be
> > > > > > found in maven repos.
> > > > > >
> > > > > > On 4/14/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > >
> > > > > > > Ah, I wasn't aware that I had to do that.
> > > > > > > I thought that these instructions were building the Archetype plugin:
> > > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > > No?
> > > > > > > Can you point me to the page which tells me how to build the plugins?
> > > > > > > Thanks a lot
> > > > > > > Andy
> > > > > > >
> > > > > > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > > did you build the plugins as well ?
> > > > > > > >
> > > > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > > Yes I did.
> > > > > > > > > I built it using the instructions here:
> > > > > > > > > http://wiki.apache.org/myfaces/Building_ADF_With_Maven
> > > > > > > > > and it all built fine.
> > > > > > > > > Thanks
> > > > > > > > >
> > > > > > > > > On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > > > > did you build trinidad ?
> > > > > > > > > >
> > > > > > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > > > > Hello,
> > > > > > > > > > > I've been trying to install the Trinidad Archetype to my Maven 2
> > > > > > > > > > > installation but without success.
> > > > > > > > > > > I have followed the instructions on here:
> > > > > > > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > > > > > >
> > > > > > > > > > > i.e. I have checked out the source and typed 'mvn install' in the
> > > > > > > > > > > trinidad-archetype directory
> > > > > > > > > > >
> > > > > > > > > > > But this results in this error:
> > > > > > > > > > >
> > > > > > > > > > > C:\Temp\trinidad-archetype>mvn install
> > > > > > > > > > > [INFO] Scanning for projects...
> > > > > > > > > > > [INFO]
> > > > > > > ------------------------------------------------------------------------
> > > > > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > > > > [INFO]
> > > > > > > ------------------------------------------------------------------------
> > > > > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > > > > >
> > > > > > > > > > > GroupId: org.apache.myfaces.trinidadbuild
> > > > > > > > > > > ArtifactId: maven-plugin-parent
> > > > > > > > > > > Version: 1.0.1-incubating-SNAPSHOT
> > > > > > > > > > >
> > > > > > > > > > > Reason: Unable to download the artifact from any repository
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> > > > > > > > > > >
> > > > > > > > > > > from the specified remote repositories:
> > > > > > > > > > >   central (http://repo1.maven.org/maven2)
> > > > > > > > > > >
> > > > > > > > > > > [INFO]
> > > > > > > ------------------------------------------------------------------------
> > > > > > > > > > > [INFO] Trace
> > > > > > > > > > > org.apache.maven.reactor.MavenExecutionException: Cannot find
> > > > > > > parent:
> > > > > > > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > > > > > > > > > > org.apache.myfaces.trinidadbuild:myfaces-arc
> > > > > > > > > > > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> > > > > > > > > > >
> > > > > > > > > > > So it seems it is looking for the Trinidad artifact in the central
> > > > > > > > > > > maven repository but obviously can't find it.
> > > > > > > > > > > Do I have to set another repository for it to look in to download?
> > > > > > > > > > > I'm probably missing something obvious but can't seem to find a
> > > > > > > solution.
> > > > > > > > > > > Sorry, I'm pretty new to this.
> > > > > > > > > > > Thanks
> > > > > > > > > > > Andy
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Matthias Wessendorf
> > > > > > > > > > http://tinyurl.com/fmywh
> > > > > > > > > >
> > > > > > > > > > further stuff:
> > > > > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Matthias Wessendorf
> > > > > > > > http://tinyurl.com/fmywh
> > > > > > > >
> > > > > > > > further stuff:
> > > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Matthias Wessendorf
> > > > > http://tinyurl.com/fmywh
> > > > >
> > > > > further stuff:
> > > > > blog: http://jroller.com/page/mwessendorf
> > > > > mail: mwessendorf-at-gmail-dot-com
> > > > >
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > > http://tinyurl.com/fmywh
> > >
> > > further stuff:
> > > blog: http://jroller.com/page/mwessendorf
> > > mail: mwessendorf-at-gmail-dot-com
> > >
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>

Re: Installing Maven Trinidad Archetype

Posted by Matthias Wessendorf <ma...@apache.org>.
Hey Andy,

I was updating a minor thing inside the archetype; nothing related to
your issue.
In oder to get the archetype working I did this:
-checkout of "adffaces" folder
cd plugin
mvn clean install
cd ../trinidad
mvn clean install

...go somewhere, where you'd like to have your projects...

mvn archetype:create
 -DarchetypeGroupId=org.apache.myfaces.trinidadbuild
 -DarchetypeArtifactId=myfaces-archetype-trinidad
 -DarchetypeVersion=1.0.1-incubating-SNAPSHOT
 -DgroupId=com.apachecon.amsterdam.workshop
 -DartifactId=trinidad

that generates a project skeleton. Now,
mvn -PjettyConfig clean jetty:run

the jetty container comes up and servers your page

http://localhost:8080/trinidad/faces/index.jspx

Does that solve your issues ?

Greetings,
Matthias

On 4/17/07, Andy Birchall <an...@gmail.com> wrote:
> So is there something wrong with the Archtype?
> FYI after I build Trinidad I have the
> maven-plugin-parent\1.0.0-incubating directory in my local repository,
> but with no jar file.
> Thanks a lot
> Andy
>
> On 4/15/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > yeah, I'll check the archetype
> >
> > On 4/14/07, Adam Winer <aw...@gmail.com> wrote:
> > > Perhaps, but shouldn't the archetype be pointing at 1.0.0 plugins,
> > > not 1.0.1-SNAPSHOT?
> > >
> > > -- Adam
> > >
> > >
> > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > perhaps it hasn't the incubator repo in.
> > > >
> > > > -M
> > > >
> > > > On 4/14/07, Simon Lessard <si...@gmail.com> wrote:
> > > > > Hello,
> > > > >
> > > > > mvn install in the plugins directory to build it. However, I don't see why
> > > > > this is needed, if this is really the issue since he built plugin can be
> > > > > found in maven repos.
> > > > >
> > > > > On 4/14/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > >
> > > > > > Ah, I wasn't aware that I had to do that.
> > > > > > I thought that these instructions were building the Archetype plugin:
> > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > No?
> > > > > > Can you point me to the page which tells me how to build the plugins?
> > > > > > Thanks a lot
> > > > > > Andy
> > > > > >
> > > > > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > did you build the plugins as well ?
> > > > > > >
> > > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > Yes I did.
> > > > > > > > I built it using the instructions here:
> > > > > > > > http://wiki.apache.org/myfaces/Building_ADF_With_Maven
> > > > > > > > and it all built fine.
> > > > > > > > Thanks
> > > > > > > >
> > > > > > > > On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > > > did you build trinidad ?
> > > > > > > > >
> > > > > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > > > Hello,
> > > > > > > > > > I've been trying to install the Trinidad Archetype to my Maven 2
> > > > > > > > > > installation but without success.
> > > > > > > > > > I have followed the instructions on here:
> > > > > > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > > > > >
> > > > > > > > > > i.e. I have checked out the source and typed 'mvn install' in the
> > > > > > > > > > trinidad-archetype directory
> > > > > > > > > >
> > > > > > > > > > But this results in this error:
> > > > > > > > > >
> > > > > > > > > > C:\Temp\trinidad-archetype>mvn install
> > > > > > > > > > [INFO] Scanning for projects...
> > > > > > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > > > >
> > > > > > > > > > GroupId: org.apache.myfaces.trinidadbuild
> > > > > > > > > > ArtifactId: maven-plugin-parent
> > > > > > > > > > Version: 1.0.1-incubating-SNAPSHOT
> > > > > > > > > >
> > > > > > > > > > Reason: Unable to download the artifact from any repository
> > > > > > > > > >
> > > > > > > > > >
> > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> > > > > > > > > >
> > > > > > > > > > from the specified remote repositories:
> > > > > > > > > >   central (http://repo1.maven.org/maven2)
> > > > > > > > > >
> > > > > > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > > > > > [INFO] Trace
> > > > > > > > > > org.apache.maven.reactor.MavenExecutionException: Cannot find
> > > > > > parent:
> > > > > > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > > > > > > > > > org.apache.myfaces.trinidadbuild:myfaces-arc
> > > > > > > > > > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> > > > > > > > > >
> > > > > > > > > > So it seems it is looking for the Trinidad artifact in the central
> > > > > > > > > > maven repository but obviously can't find it.
> > > > > > > > > > Do I have to set another repository for it to look in to download?
> > > > > > > > > > I'm probably missing something obvious but can't seem to find a
> > > > > > solution.
> > > > > > > > > > Sorry, I'm pretty new to this.
> > > > > > > > > > Thanks
> > > > > > > > > > Andy
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Matthias Wessendorf
> > > > > > > > > http://tinyurl.com/fmywh
> > > > > > > > >
> > > > > > > > > further stuff:
> > > > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Matthias Wessendorf
> > > > > > > http://tinyurl.com/fmywh
> > > > > > >
> > > > > > > further stuff:
> > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Matthias Wessendorf
> > > > http://tinyurl.com/fmywh
> > > >
> > > > further stuff:
> > > > blog: http://jroller.com/page/mwessendorf
> > > > mail: mwessendorf-at-gmail-dot-com
> > > >
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > http://tinyurl.com/fmywh
> >
> > further stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: Installing Maven Trinidad Archetype

Posted by Matthias Wessendorf <ma...@apache.org>.
I have to check the archetype. In the meantime, you can check out this:

http://code.google.com/p/facesgoodies/

and call mvn clean jetty:run

(I updated today to 1.0.0-incubating)

-M

On 4/17/07, Andy Birchall <an...@gmail.com> wrote:
> So is there something wrong with the Archtype?
> FYI after I build Trinidad I have the
> maven-plugin-parent\1.0.0-incubating directory in my local repository,
> but with no jar file.
> Thanks a lot
> Andy
>
> On 4/15/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > yeah, I'll check the archetype
> >
> > On 4/14/07, Adam Winer <aw...@gmail.com> wrote:
> > > Perhaps, but shouldn't the archetype be pointing at 1.0.0 plugins,
> > > not 1.0.1-SNAPSHOT?
> > >
> > > -- Adam
> > >
> > >
> > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > perhaps it hasn't the incubator repo in.
> > > >
> > > > -M
> > > >
> > > > On 4/14/07, Simon Lessard <si...@gmail.com> wrote:
> > > > > Hello,
> > > > >
> > > > > mvn install in the plugins directory to build it. However, I don't see why
> > > > > this is needed, if this is really the issue since he built plugin can be
> > > > > found in maven repos.
> > > > >
> > > > > On 4/14/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > >
> > > > > > Ah, I wasn't aware that I had to do that.
> > > > > > I thought that these instructions were building the Archetype plugin:
> > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > No?
> > > > > > Can you point me to the page which tells me how to build the plugins?
> > > > > > Thanks a lot
> > > > > > Andy
> > > > > >
> > > > > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > did you build the plugins as well ?
> > > > > > >
> > > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > Yes I did.
> > > > > > > > I built it using the instructions here:
> > > > > > > > http://wiki.apache.org/myfaces/Building_ADF_With_Maven
> > > > > > > > and it all built fine.
> > > > > > > > Thanks
> > > > > > > >
> > > > > > > > On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > > > did you build trinidad ?
> > > > > > > > >
> > > > > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > > > Hello,
> > > > > > > > > > I've been trying to install the Trinidad Archetype to my Maven 2
> > > > > > > > > > installation but without success.
> > > > > > > > > > I have followed the instructions on here:
> > > > > > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > > > > >
> > > > > > > > > > i.e. I have checked out the source and typed 'mvn install' in the
> > > > > > > > > > trinidad-archetype directory
> > > > > > > > > >
> > > > > > > > > > But this results in this error:
> > > > > > > > > >
> > > > > > > > > > C:\Temp\trinidad-archetype>mvn install
> > > > > > > > > > [INFO] Scanning for projects...
> > > > > > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > > > >
> > > > > > > > > > GroupId: org.apache.myfaces.trinidadbuild
> > > > > > > > > > ArtifactId: maven-plugin-parent
> > > > > > > > > > Version: 1.0.1-incubating-SNAPSHOT
> > > > > > > > > >
> > > > > > > > > > Reason: Unable to download the artifact from any repository
> > > > > > > > > >
> > > > > > > > > >
> > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> > > > > > > > > >
> > > > > > > > > > from the specified remote repositories:
> > > > > > > > > >   central (http://repo1.maven.org/maven2)
> > > > > > > > > >
> > > > > > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > > > > > [INFO] Trace
> > > > > > > > > > org.apache.maven.reactor.MavenExecutionException: Cannot find
> > > > > > parent:
> > > > > > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > > > > > > > > > org.apache.myfaces.trinidadbuild:myfaces-arc
> > > > > > > > > > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> > > > > > > > > >
> > > > > > > > > > So it seems it is looking for the Trinidad artifact in the central
> > > > > > > > > > maven repository but obviously can't find it.
> > > > > > > > > > Do I have to set another repository for it to look in to download?
> > > > > > > > > > I'm probably missing something obvious but can't seem to find a
> > > > > > solution.
> > > > > > > > > > Sorry, I'm pretty new to this.
> > > > > > > > > > Thanks
> > > > > > > > > > Andy
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Matthias Wessendorf
> > > > > > > > > http://tinyurl.com/fmywh
> > > > > > > > >
> > > > > > > > > further stuff:
> > > > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Matthias Wessendorf
> > > > > > > http://tinyurl.com/fmywh
> > > > > > >
> > > > > > > further stuff:
> > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Matthias Wessendorf
> > > > http://tinyurl.com/fmywh
> > > >
> > > > further stuff:
> > > > blog: http://jroller.com/page/mwessendorf
> > > > mail: mwessendorf-at-gmail-dot-com
> > > >
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > http://tinyurl.com/fmywh
> >
> > further stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: Installing Maven Trinidad Archetype

Posted by Andy Birchall <an...@gmail.com>.
So is there something wrong with the Archtype?
FYI after I build Trinidad I have the
maven-plugin-parent\1.0.0-incubating directory in my local repository,
but with no jar file.
Thanks a lot
Andy

On 4/15/07, Matthias Wessendorf <ma...@apache.org> wrote:
> yeah, I'll check the archetype
>
> On 4/14/07, Adam Winer <aw...@gmail.com> wrote:
> > Perhaps, but shouldn't the archetype be pointing at 1.0.0 plugins,
> > not 1.0.1-SNAPSHOT?
> >
> > -- Adam
> >
> >
> > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > perhaps it hasn't the incubator repo in.
> > >
> > > -M
> > >
> > > On 4/14/07, Simon Lessard <si...@gmail.com> wrote:
> > > > Hello,
> > > >
> > > > mvn install in the plugins directory to build it. However, I don't see why
> > > > this is needed, if this is really the issue since he built plugin can be
> > > > found in maven repos.
> > > >
> > > > On 4/14/07, Andy Birchall <an...@gmail.com> wrote:
> > > > >
> > > > > Ah, I wasn't aware that I had to do that.
> > > > > I thought that these instructions were building the Archetype plugin:
> > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > No?
> > > > > Can you point me to the page which tells me how to build the plugins?
> > > > > Thanks a lot
> > > > > Andy
> > > > >
> > > > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > did you build the plugins as well ?
> > > > > >
> > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > Yes I did.
> > > > > > > I built it using the instructions here:
> > > > > > > http://wiki.apache.org/myfaces/Building_ADF_With_Maven
> > > > > > > and it all built fine.
> > > > > > > Thanks
> > > > > > >
> > > > > > > On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > > did you build trinidad ?
> > > > > > > >
> > > > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > > Hello,
> > > > > > > > > I've been trying to install the Trinidad Archetype to my Maven 2
> > > > > > > > > installation but without success.
> > > > > > > > > I have followed the instructions on here:
> > > > > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > > > >
> > > > > > > > > i.e. I have checked out the source and typed 'mvn install' in the
> > > > > > > > > trinidad-archetype directory
> > > > > > > > >
> > > > > > > > > But this results in this error:
> > > > > > > > >
> > > > > > > > > C:\Temp\trinidad-archetype>mvn install
> > > > > > > > > [INFO] Scanning for projects...
> > > > > > > > > [INFO]
> > > > > ------------------------------------------------------------------------
> > > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > > [INFO]
> > > > > ------------------------------------------------------------------------
> > > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > > >
> > > > > > > > > GroupId: org.apache.myfaces.trinidadbuild
> > > > > > > > > ArtifactId: maven-plugin-parent
> > > > > > > > > Version: 1.0.1-incubating-SNAPSHOT
> > > > > > > > >
> > > > > > > > > Reason: Unable to download the artifact from any repository
> > > > > > > > >
> > > > > > > > >
> > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> > > > > > > > >
> > > > > > > > > from the specified remote repositories:
> > > > > > > > >   central (http://repo1.maven.org/maven2)
> > > > > > > > >
> > > > > > > > > [INFO]
> > > > > ------------------------------------------------------------------------
> > > > > > > > > [INFO] Trace
> > > > > > > > > org.apache.maven.reactor.MavenExecutionException: Cannot find
> > > > > parent:
> > > > > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > > > > > > > > org.apache.myfaces.trinidadbuild:myfaces-arc
> > > > > > > > > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> > > > > > > > >
> > > > > > > > > So it seems it is looking for the Trinidad artifact in the central
> > > > > > > > > maven repository but obviously can't find it.
> > > > > > > > > Do I have to set another repository for it to look in to download?
> > > > > > > > > I'm probably missing something obvious but can't seem to find a
> > > > > solution.
> > > > > > > > > Sorry, I'm pretty new to this.
> > > > > > > > > Thanks
> > > > > > > > > Andy
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Matthias Wessendorf
> > > > > > > > http://tinyurl.com/fmywh
> > > > > > > >
> > > > > > > > further stuff:
> > > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Matthias Wessendorf
> > > > > > http://tinyurl.com/fmywh
> > > > > >
> > > > > > further stuff:
> > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > > http://tinyurl.com/fmywh
> > >
> > > further stuff:
> > > blog: http://jroller.com/page/mwessendorf
> > > mail: mwessendorf-at-gmail-dot-com
> > >
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>

Re: Installing Maven Trinidad Archetype

Posted by Matthias Wessendorf <ma...@apache.org>.
yeah, I'll check the archetype

On 4/14/07, Adam Winer <aw...@gmail.com> wrote:
> Perhaps, but shouldn't the archetype be pointing at 1.0.0 plugins,
> not 1.0.1-SNAPSHOT?
>
> -- Adam
>
>
> On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > perhaps it hasn't the incubator repo in.
> >
> > -M
> >
> > On 4/14/07, Simon Lessard <si...@gmail.com> wrote:
> > > Hello,
> > >
> > > mvn install in the plugins directory to build it. However, I don't see why
> > > this is needed, if this is really the issue since he built plugin can be
> > > found in maven repos.
> > >
> > > On 4/14/07, Andy Birchall <an...@gmail.com> wrote:
> > > >
> > > > Ah, I wasn't aware that I had to do that.
> > > > I thought that these instructions were building the Archetype plugin:
> > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > No?
> > > > Can you point me to the page which tells me how to build the plugins?
> > > > Thanks a lot
> > > > Andy
> > > >
> > > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > did you build the plugins as well ?
> > > > >
> > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > Yes I did.
> > > > > > I built it using the instructions here:
> > > > > > http://wiki.apache.org/myfaces/Building_ADF_With_Maven
> > > > > > and it all built fine.
> > > > > > Thanks
> > > > > >
> > > > > > On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > > did you build trinidad ?
> > > > > > >
> > > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > > Hello,
> > > > > > > > I've been trying to install the Trinidad Archetype to my Maven 2
> > > > > > > > installation but without success.
> > > > > > > > I have followed the instructions on here:
> > > > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > > >
> > > > > > > > i.e. I have checked out the source and typed 'mvn install' in the
> > > > > > > > trinidad-archetype directory
> > > > > > > >
> > > > > > > > But this results in this error:
> > > > > > > >
> > > > > > > > C:\Temp\trinidad-archetype>mvn install
> > > > > > > > [INFO] Scanning for projects...
> > > > > > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > > > > > [INFO] Failed to resolve artifact.
> > > > > > > >
> > > > > > > > GroupId: org.apache.myfaces.trinidadbuild
> > > > > > > > ArtifactId: maven-plugin-parent
> > > > > > > > Version: 1.0.1-incubating-SNAPSHOT
> > > > > > > >
> > > > > > > > Reason: Unable to download the artifact from any repository
> > > > > > > >
> > > > > > > >
> > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> > > > > > > >
> > > > > > > > from the specified remote repositories:
> > > > > > > >   central (http://repo1.maven.org/maven2)
> > > > > > > >
> > > > > > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > > > > > [INFO] Trace
> > > > > > > > org.apache.maven.reactor.MavenExecutionException: Cannot find
> > > > parent:
> > > > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > > > > > > > org.apache.myfaces.trinidadbuild:myfaces-arc
> > > > > > > > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> > > > > > > >
> > > > > > > > So it seems it is looking for the Trinidad artifact in the central
> > > > > > > > maven repository but obviously can't find it.
> > > > > > > > Do I have to set another repository for it to look in to download?
> > > > > > > > I'm probably missing something obvious but can't seem to find a
> > > > solution.
> > > > > > > > Sorry, I'm pretty new to this.
> > > > > > > > Thanks
> > > > > > > > Andy
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Matthias Wessendorf
> > > > > > > http://tinyurl.com/fmywh
> > > > > > >
> > > > > > > further stuff:
> > > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Matthias Wessendorf
> > > > > http://tinyurl.com/fmywh
> > > > >
> > > > > further stuff:
> > > > > blog: http://jroller.com/page/mwessendorf
> > > > > mail: mwessendorf-at-gmail-dot-com
> > > > >
> > > >
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > http://tinyurl.com/fmywh
> >
> > further stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: Installing Maven Trinidad Archetype

Posted by Adam Winer <aw...@gmail.com>.
Perhaps, but shouldn't the archetype be pointing at 1.0.0 plugins,
not 1.0.1-SNAPSHOT?

-- Adam


On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> perhaps it hasn't the incubator repo in.
>
> -M
>
> On 4/14/07, Simon Lessard <si...@gmail.com> wrote:
> > Hello,
> >
> > mvn install in the plugins directory to build it. However, I don't see why
> > this is needed, if this is really the issue since he built plugin can be
> > found in maven repos.
> >
> > On 4/14/07, Andy Birchall <an...@gmail.com> wrote:
> > >
> > > Ah, I wasn't aware that I had to do that.
> > > I thought that these instructions were building the Archetype plugin:
> > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > No?
> > > Can you point me to the page which tells me how to build the plugins?
> > > Thanks a lot
> > > Andy
> > >
> > > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > did you build the plugins as well ?
> > > >
> > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > Yes I did.
> > > > > I built it using the instructions here:
> > > > > http://wiki.apache.org/myfaces/Building_ADF_With_Maven
> > > > > and it all built fine.
> > > > > Thanks
> > > > >
> > > > > On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > > did you build trinidad ?
> > > > > >
> > > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > > Hello,
> > > > > > > I've been trying to install the Trinidad Archetype to my Maven 2
> > > > > > > installation but without success.
> > > > > > > I have followed the instructions on here:
> > > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > > >
> > > > > > > i.e. I have checked out the source and typed 'mvn install' in the
> > > > > > > trinidad-archetype directory
> > > > > > >
> > > > > > > But this results in this error:
> > > > > > >
> > > > > > > C:\Temp\trinidad-archetype>mvn install
> > > > > > > [INFO] Scanning for projects...
> > > > > > > [INFO]
> > > ------------------------------------------------------------------------
> > > > > > > [ERROR] FATAL ERROR
> > > > > > > [INFO]
> > > ------------------------------------------------------------------------
> > > > > > > [INFO] Failed to resolve artifact.
> > > > > > >
> > > > > > > GroupId: org.apache.myfaces.trinidadbuild
> > > > > > > ArtifactId: maven-plugin-parent
> > > > > > > Version: 1.0.1-incubating-SNAPSHOT
> > > > > > >
> > > > > > > Reason: Unable to download the artifact from any repository
> > > > > > >
> > > > > > >
> > > org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> > > > > > >
> > > > > > > from the specified remote repositories:
> > > > > > >   central (http://repo1.maven.org/maven2)
> > > > > > >
> > > > > > > [INFO]
> > > ------------------------------------------------------------------------
> > > > > > > [INFO] Trace
> > > > > > > org.apache.maven.reactor.MavenExecutionException: Cannot find
> > > parent:
> > > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > > > > > > org.apache.myfaces.trinidadbuild:myfaces-arc
> > > > > > > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> > > > > > >
> > > > > > > So it seems it is looking for the Trinidad artifact in the central
> > > > > > > maven repository but obviously can't find it.
> > > > > > > Do I have to set another repository for it to look in to download?
> > > > > > > I'm probably missing something obvious but can't seem to find a
> > > solution.
> > > > > > > Sorry, I'm pretty new to this.
> > > > > > > Thanks
> > > > > > > Andy
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Matthias Wessendorf
> > > > > > http://tinyurl.com/fmywh
> > > > > >
> > > > > > further stuff:
> > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Matthias Wessendorf
> > > > http://tinyurl.com/fmywh
> > > >
> > > > further stuff:
> > > > blog: http://jroller.com/page/mwessendorf
> > > > mail: mwessendorf-at-gmail-dot-com
> > > >
> > >
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>

Re: Installing Maven Trinidad Archetype

Posted by Matthias Wessendorf <ma...@apache.org>.
perhaps it hasn't the incubator repo in.

-M

On 4/14/07, Simon Lessard <si...@gmail.com> wrote:
> Hello,
>
> mvn install in the plugins directory to build it. However, I don't see why
> this is needed, if this is really the issue since he built plugin can be
> found in maven repos.
>
> On 4/14/07, Andy Birchall <an...@gmail.com> wrote:
> >
> > Ah, I wasn't aware that I had to do that.
> > I thought that these instructions were building the Archetype plugin:
> > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > No?
> > Can you point me to the page which tells me how to build the plugins?
> > Thanks a lot
> > Andy
> >
> > On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > did you build the plugins as well ?
> > >
> > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > Yes I did.
> > > > I built it using the instructions here:
> > > > http://wiki.apache.org/myfaces/Building_ADF_With_Maven
> > > > and it all built fine.
> > > > Thanks
> > > >
> > > > On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > did you build trinidad ?
> > > > >
> > > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > > Hello,
> > > > > > I've been trying to install the Trinidad Archetype to my Maven 2
> > > > > > installation but without success.
> > > > > > I have followed the instructions on here:
> > > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > > >
> > > > > > i.e. I have checked out the source and typed 'mvn install' in the
> > > > > > trinidad-archetype directory
> > > > > >
> > > > > > But this results in this error:
> > > > > >
> > > > > > C:\Temp\trinidad-archetype>mvn install
> > > > > > [INFO] Scanning for projects...
> > > > > > [INFO]
> > ------------------------------------------------------------------------
> > > > > > [ERROR] FATAL ERROR
> > > > > > [INFO]
> > ------------------------------------------------------------------------
> > > > > > [INFO] Failed to resolve artifact.
> > > > > >
> > > > > > GroupId: org.apache.myfaces.trinidadbuild
> > > > > > ArtifactId: maven-plugin-parent
> > > > > > Version: 1.0.1-incubating-SNAPSHOT
> > > > > >
> > > > > > Reason: Unable to download the artifact from any repository
> > > > > >
> > > > > >
> > org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> > > > > >
> > > > > > from the specified remote repositories:
> > > > > >   central (http://repo1.maven.org/maven2)
> > > > > >
> > > > > > [INFO]
> > ------------------------------------------------------------------------
> > > > > > [INFO] Trace
> > > > > > org.apache.maven.reactor.MavenExecutionException: Cannot find
> > parent:
> > > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > > > > > org.apache.myfaces.trinidadbuild:myfaces-arc
> > > > > > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> > > > > >
> > > > > > So it seems it is looking for the Trinidad artifact in the central
> > > > > > maven repository but obviously can't find it.
> > > > > > Do I have to set another repository for it to look in to download?
> > > > > > I'm probably missing something obvious but can't seem to find a
> > solution.
> > > > > > Sorry, I'm pretty new to this.
> > > > > > Thanks
> > > > > > Andy
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Matthias Wessendorf
> > > > > http://tinyurl.com/fmywh
> > > > >
> > > > > further stuff:
> > > > > blog: http://jroller.com/page/mwessendorf
> > > > > mail: mwessendorf-at-gmail-dot-com
> > > > >
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > > http://tinyurl.com/fmywh
> > >
> > > further stuff:
> > > blog: http://jroller.com/page/mwessendorf
> > > mail: mwessendorf-at-gmail-dot-com
> > >
> >
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: Installing Maven Trinidad Archetype

Posted by Simon Lessard <si...@gmail.com>.
Hello,

mvn install in the plugins directory to build it. However, I don't see why
this is needed, if this is really the issue since he built plugin can be
found in maven repos.

On 4/14/07, Andy Birchall <an...@gmail.com> wrote:
>
> Ah, I wasn't aware that I had to do that.
> I thought that these instructions were building the Archetype plugin:
> http://wiki.apache.org/myfaces/Trinidad_Archetype
> No?
> Can you point me to the page which tells me how to build the plugins?
> Thanks a lot
> Andy
>
> On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > did you build the plugins as well ?
> >
> > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > Yes I did.
> > > I built it using the instructions here:
> > > http://wiki.apache.org/myfaces/Building_ADF_With_Maven
> > > and it all built fine.
> > > Thanks
> > >
> > > On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > did you build trinidad ?
> > > >
> > > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > > Hello,
> > > > > I've been trying to install the Trinidad Archetype to my Maven 2
> > > > > installation but without success.
> > > > > I have followed the instructions on here:
> > > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > > >
> > > > > i.e. I have checked out the source and typed 'mvn install' in the
> > > > > trinidad-archetype directory
> > > > >
> > > > > But this results in this error:
> > > > >
> > > > > C:\Temp\trinidad-archetype>mvn install
> > > > > [INFO] Scanning for projects...
> > > > > [INFO]
> ------------------------------------------------------------------------
> > > > > [ERROR] FATAL ERROR
> > > > > [INFO]
> ------------------------------------------------------------------------
> > > > > [INFO] Failed to resolve artifact.
> > > > >
> > > > > GroupId: org.apache.myfaces.trinidadbuild
> > > > > ArtifactId: maven-plugin-parent
> > > > > Version: 1.0.1-incubating-SNAPSHOT
> > > > >
> > > > > Reason: Unable to download the artifact from any repository
> > > > >
> > > > >
> org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> > > > >
> > > > > from the specified remote repositories:
> > > > >   central (http://repo1.maven.org/maven2)
> > > > >
> > > > > [INFO]
> ------------------------------------------------------------------------
> > > > > [INFO] Trace
> > > > > org.apache.maven.reactor.MavenExecutionException: Cannot find
> parent:
> > > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > > > > org.apache.myfaces.trinidadbuild:myfaces-arc
> > > > > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> > > > >
> > > > > So it seems it is looking for the Trinidad artifact in the central
> > > > > maven repository but obviously can't find it.
> > > > > Do I have to set another repository for it to look in to download?
> > > > > I'm probably missing something obvious but can't seem to find a
> solution.
> > > > > Sorry, I'm pretty new to this.
> > > > > Thanks
> > > > > Andy
> > > > >
> > > >
> > > >
> > > > --
> > > > Matthias Wessendorf
> > > > http://tinyurl.com/fmywh
> > > >
> > > > further stuff:
> > > > blog: http://jroller.com/page/mwessendorf
> > > > mail: mwessendorf-at-gmail-dot-com
> > > >
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > http://tinyurl.com/fmywh
> >
> > further stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
>

Re: Installing Maven Trinidad Archetype

Posted by Andy Birchall <an...@gmail.com>.
Ah, I wasn't aware that I had to do that.
I thought that these instructions were building the Archetype plugin:
http://wiki.apache.org/myfaces/Trinidad_Archetype
No?
Can you point me to the page which tells me how to build the plugins?
Thanks a lot
Andy

On 4/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> did you build the plugins as well ?
>
> On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > Yes I did.
> > I built it using the instructions here:
> > http://wiki.apache.org/myfaces/Building_ADF_With_Maven
> > and it all built fine.
> > Thanks
> >
> > On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > did you build trinidad ?
> > >
> > > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > > Hello,
> > > > I've been trying to install the Trinidad Archetype to my Maven 2
> > > > installation but without success.
> > > > I have followed the instructions on here:
> > > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > > >
> > > > i.e. I have checked out the source and typed 'mvn install' in the
> > > > trinidad-archetype directory
> > > >
> > > > But this results in this error:
> > > >
> > > > C:\Temp\trinidad-archetype>mvn install
> > > > [INFO] Scanning for projects...
> > > > [INFO] ------------------------------------------------------------------------
> > > > [ERROR] FATAL ERROR
> > > > [INFO] ------------------------------------------------------------------------
> > > > [INFO] Failed to resolve artifact.
> > > >
> > > > GroupId: org.apache.myfaces.trinidadbuild
> > > > ArtifactId: maven-plugin-parent
> > > > Version: 1.0.1-incubating-SNAPSHOT
> > > >
> > > > Reason: Unable to download the artifact from any repository
> > > >
> > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> > > >
> > > > from the specified remote repositories:
> > > >   central (http://repo1.maven.org/maven2)
> > > >
> > > > [INFO] ------------------------------------------------------------------------
> > > > [INFO] Trace
> > > > org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> > > > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > > > org.apache.myfaces.trinidadbuild:myfaces-arc
> > > > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> > > >
> > > > So it seems it is looking for the Trinidad artifact in the central
> > > > maven repository but obviously can't find it.
> > > > Do I have to set another repository for it to look in to download?
> > > > I'm probably missing something obvious but can't seem to find a solution.
> > > > Sorry, I'm pretty new to this.
> > > > Thanks
> > > > Andy
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > > http://tinyurl.com/fmywh
> > >
> > > further stuff:
> > > blog: http://jroller.com/page/mwessendorf
> > > mail: mwessendorf-at-gmail-dot-com
> > >
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>

Re: Installing Maven Trinidad Archetype

Posted by Matthias Wessendorf <ma...@apache.org>.
did you build the plugins as well ?

On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> Yes I did.
> I built it using the instructions here:
> http://wiki.apache.org/myfaces/Building_ADF_With_Maven
> and it all built fine.
> Thanks
>
> On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > did you build trinidad ?
> >
> > On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > > Hello,
> > > I've been trying to install the Trinidad Archetype to my Maven 2
> > > installation but without success.
> > > I have followed the instructions on here:
> > > http://wiki.apache.org/myfaces/Trinidad_Archetype
> > >
> > > i.e. I have checked out the source and typed 'mvn install' in the
> > > trinidad-archetype directory
> > >
> > > But this results in this error:
> > >
> > > C:\Temp\trinidad-archetype>mvn install
> > > [INFO] Scanning for projects...
> > > [INFO] ------------------------------------------------------------------------
> > > [ERROR] FATAL ERROR
> > > [INFO] ------------------------------------------------------------------------
> > > [INFO] Failed to resolve artifact.
> > >
> > > GroupId: org.apache.myfaces.trinidadbuild
> > > ArtifactId: maven-plugin-parent
> > > Version: 1.0.1-incubating-SNAPSHOT
> > >
> > > Reason: Unable to download the artifact from any repository
> > >
> > > org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> > >
> > > from the specified remote repositories:
> > >   central (http://repo1.maven.org/maven2)
> > >
> > > [INFO] ------------------------------------------------------------------------
> > > [INFO] Trace
> > > org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> > > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > > org.apache.myfaces.trinidadbuild:myfaces-arc
> > > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> > >
> > > So it seems it is looking for the Trinidad artifact in the central
> > > maven repository but obviously can't find it.
> > > Do I have to set another repository for it to look in to download?
> > > I'm probably missing something obvious but can't seem to find a solution.
> > > Sorry, I'm pretty new to this.
> > > Thanks
> > > Andy
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > http://tinyurl.com/fmywh
> >
> > further stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: Installing Maven Trinidad Archetype

Posted by Andy Birchall <an...@gmail.com>.
Yes I did.
I built it using the instructions here:
http://wiki.apache.org/myfaces/Building_ADF_With_Maven
and it all built fine.
Thanks

On 4/13/07, Matthias Wessendorf <ma...@apache.org> wrote:
> did you build trinidad ?
>
> On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> > Hello,
> > I've been trying to install the Trinidad Archetype to my Maven 2
> > installation but without success.
> > I have followed the instructions on here:
> > http://wiki.apache.org/myfaces/Trinidad_Archetype
> >
> > i.e. I have checked out the source and typed 'mvn install' in the
> > trinidad-archetype directory
> >
> > But this results in this error:
> >
> > C:\Temp\trinidad-archetype>mvn install
> > [INFO] Scanning for projects...
> > [INFO] ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO] ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.myfaces.trinidadbuild
> > ArtifactId: maven-plugin-parent
> > Version: 1.0.1-incubating-SNAPSHOT
> >
> > Reason: Unable to download the artifact from any repository
> >
> > org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> >
> > [INFO] ------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> > org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> > org.apache.myfaces.trinidadbuild:myfaces-arc
> > hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
> >
> > So it seems it is looking for the Trinidad artifact in the central
> > maven repository but obviously can't find it.
> > Do I have to set another repository for it to look in to download?
> > I'm probably missing something obvious but can't seem to find a solution.
> > Sorry, I'm pretty new to this.
> > Thanks
> > Andy
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>

Re: Installing Maven Trinidad Archetype

Posted by Matthias Wessendorf <ma...@apache.org>.
did you build trinidad ?

On 4/13/07, Andy Birchall <an...@gmail.com> wrote:
> Hello,
> I've been trying to install the Trinidad Archetype to my Maven 2
> installation but without success.
> I have followed the instructions on here:
> http://wiki.apache.org/myfaces/Trinidad_Archetype
>
> i.e. I have checked out the source and typed 'mvn install' in the
> trinidad-archetype directory
>
> But this results in this error:
>
> C:\Temp\trinidad-archetype>mvn install
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.myfaces.trinidadbuild
> ArtifactId: maven-plugin-parent
> Version: 1.0.1-incubating-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> org.apache.myfaces.trinidadbuild:maven-plugin-parent:pom:1.0.1-incubating-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> org.apache.myfaces.trinidadbuild:maven-plugin-parent for project:
> org.apache.myfaces.trinidadbuild:myfaces-arc
> hetype-trinidad:maven-plugin:1.0.1-incubating-SNAPSHOT
>
> So it seems it is looking for the Trinidad artifact in the central
> maven repository but obviously can't find it.
> Do I have to set another repository for it to look in to download?
> I'm probably missing something obvious but can't seem to find a solution.
> Sorry, I'm pretty new to this.
> Thanks
> Andy
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com