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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote:
yeah, I'll check the archetype
On 4/14/07, Adam Winer [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote:
perhaps it hasn't the incubator repo in.
-M
On 4/14/07, Simon Lessard [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote:
did you build the plugins as well ?
On 4/13/07, Andy Birchall [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote:
did you build trinidad ?
On 4/13/07, Andy Birchall [EMAIL PROTECTED] 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-archetypemvn 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